|
|
Support combination of [OriginTrialEnabled] and [SecureContext]
This CL fixes the bindings logic to allow the [OriginTrialEnabled] and
[SecureContext] to be used together on the same IDL members.
The bug was found when trying to use [SecureContext] for WebUSB.
The IDL definition for WebUSB is corrected to use [SecureContext]
as well.
Other cleanups in this CL:
- Remove unused check_origin_trial macro
- Remove obsolete attribute variable, and fix reference for generating include
- Apply some consistency to attribute and method helper functions
BUG= 695123
Review-Url: https://codereview.chromium.org/2880713002
Cr-Commit-Position: refs/heads/master@{#472062}
Committed: https://chromium.googlesource.com/chromium/src/+/3326804ff57fe560d03b1d6b740c272c01082bfe
Total comments: 19
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+77 lines, -101 lines) |
Patch |
 |
M |
third_party/WebKit/LayoutTests/http/tests/origin_trials/resources/origintrials.js
|
View
|
|
1 chunk |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/modules/v8/ConditionalFeaturesForModules.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/code_generator.py
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
View
|
1
2
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
View
|
1
2
|
5 chunks |
+17 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_methods.py
|
View
|
1
2
|
3 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/scripts/v8_utilities.py
|
View
|
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/attributes.cpp.tmpl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface.h.tmpl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/interface_base.cpp.tmpl
|
View
|
1
2
|
5 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/methods.cpp.tmpl
|
View
|
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/bindings/tests/results/core/V8TestConstants.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/testing/OriginTrialsTest.idl
|
View
|
|
1 chunk |
+9 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/testing/OriginTrialsTestPartial.idl
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/installedapp/NavigatorInstalledApp.idl
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/webusb/NavigatorUSB.idl
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
Total messages: 38 (28 generated)
|