forked from crosswalk-project/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an installAttribute method for V8 objects
The existing DOM configuration code for installAttribute only applies to object templates, and is intended for use when setting up the DOM template. This patch adds a separate method which can be used to add attributes into a specific V8 context, by providing an object instance rather than a template (this parallels the existing installAccessor code). This is intended to be used by origin trials, to configure attributes in a context-dependent manner. BUG=584367 Review-Url: https://codereview.chromium.org/2002613002 Cr-Commit-Position: refs/heads/master@{#395659} (cherry picked from commit 9dc629c) Review URL: https://codereview.chromium.org/2037493002 . Cr-Commit-Position: refs/branch-heads/2743@{crosswalk-project#183} Cr-Branched-From: 2b3ae3b-refs/heads/master@{#394939}
- Loading branch information
Showing
2 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters