|
|
Allow origin trials to be declared on IDL operations (methods)
This change follows the changes to the V8 bindings generation code that allowed
origin trials to be defined on attributes and constants. Similarly, it
refactors the various lists of methods which were being passed into the template
context into a single list and several filters which may be applied to it.
This patch covers only the first stage of method support: Individual methods in
full or partial interfaces, with no overloads. Attempting to define an origin
trial on an overloaded method will result in an exception at compile time.
R=haraken@chromium.org, yukishiino@chromium.org
BUG= 621641
Committed: https://crrev.com/81ca9f1a235637fffa49775ecf9d62286297dc95
Cr-Commit-Position: refs/heads/master@{#402799}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+165 lines, -93 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origin_trials.js
|
View
|
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/code_generator_v8.py
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
View
|
1
2
|
6 chunks |
+17 lines, -46 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
View
|
1
2
|
3 chunks |
+56 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_utilities.py
|
View
|
1
2
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface_base.cpp
|
View
|
1
|
6 chunks |
+22 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/methods.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/partial_interface.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/idls/core/TestObject.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/idls/modules/TestInterfacePartial4.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
|
2 chunks |
+40 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
1
|
2 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulateInterfaceBindings.idl
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|