Origin Trials cannot be added to interfaces with no existing instance |
|||
Issue descriptionThe current bindings generation code for origin trials creates methods which require an instance object to be passed, from which we get the prototype and interface objects. This is necessary for adding trials to the global object, but not required for adding trials to e.g., navigator, and not possible for adding trials to e.g., HTMLLinkElement. If no members for a particular origin trial feature are defined as residing OnInstance, then we can generate different code, taking only the ScriptState. We can use the WrapperInfo to get both the interface and prototype objects, and the instance is not needed.
,
Jul 12 2016
,
Jul 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b055688290331fde1745712fcf303d2a72711e08 commit b055688290331fde1745712fcf303d2a72711e08 Author: iclelland <iclelland@chromium.org> Date: Wed Jul 13 15:03:50 2016 Fix use of itertools.groupby when collecting origin trial members BUG= 626435 R=yukishiino@chromium.org, mek@chromium.org Review-Url: https://codereview.chromium.org/2141083002 Cr-Commit-Position: refs/heads/master@{#405151} [modify] https://crrev.com/b055688290331fde1745712fcf303d2a72711e08/third_party/WebKit/Source/bindings/scripts/v8_interface.py
,
Jul 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b055688290331fde1745712fcf303d2a72711e08 commit b055688290331fde1745712fcf303d2a72711e08 Author: iclelland <iclelland@chromium.org> Date: Wed Jul 13 15:03:50 2016 Fix use of itertools.groupby when collecting origin trial members BUG= 626435 R=yukishiino@chromium.org, mek@chromium.org Review-Url: https://codereview.chromium.org/2141083002 Cr-Commit-Position: refs/heads/master@{#405151} [modify] https://crrev.com/b055688290331fde1745712fcf303d2a72711e08/third_party/WebKit/Source/bindings/scripts/v8_interface.py |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jul 8 2016