Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2305)

Issue 1081853003: IDL: Handle the [Unscopeable, RuntimeEnabled=X] combination better (Closed)

Created:
5 years, 8 months ago by Jens Widell
Modified:
5 years, 8 months ago
Reviewers:
haraken
CC:
blink-reviews, blink-reviews-bindings_chromium.org, vivekg_samsung, arv+blink, vivekg
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

IDL: Handle the [Unscopeable, RuntimeEnabled=X] combination better If a runtime enabled attribute or method is unscopeable, then add it to the @@unscopables object only if the feature is enabled. This is a marginal change, but it does ensure that features don't leave detectable artifacts when disabled. BUG=462916 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194384

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -3 lines) Patch
M Source/bindings/scripts/v8_interface.py View 1 chunk +2 lines, -2 lines 3 comments Download
M Source/bindings/templates/interface.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M Source/bindings/tests/idls/core/TestObject.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/core/V8TestObject.cpp View 5 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Jens Widell
PTAL The likely first use of [Unscopeable] is Node.append() et al, that we may potentially ...
5 years, 8 months ago (2015-04-24 10:35:46 UTC) #2
haraken
https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py#newcode250 Source/bindings/scripts/v8_interface.py:250: unscopeables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute))) What happens if we simply don't add ...
5 years, 8 months ago (2015-04-24 10:42:59 UTC) #3
Jens Widell
https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py#newcode250 Source/bindings/scripts/v8_interface.py:250: unscopeables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute))) On 2015/04/24 10:42:59, haraken wrote: > > ...
5 years, 8 months ago (2015-04-24 10:48:00 UTC) #4
haraken
LGTM https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py File Source/bindings/scripts/v8_interface.py (right): https://codereview.chromium.org/1081853003/diff/1/Source/bindings/scripts/v8_interface.py#newcode250 Source/bindings/scripts/v8_interface.py:250: unscopeables.append((attribute.name, v8_utilities.runtime_enabled_function_name(attribute))) On 2015/04/24 10:47:59, Jens Widell wrote: ...
5 years, 8 months ago (2015-04-24 10:49:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1081853003/1
5 years, 8 months ago (2015-04-24 10:51:54 UTC) #7
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 12:10:24 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194384

Powered by Google App Engine
This is Rietveld 408576698