commit | 0dee3ec4784b2fb73d3aefaab1e00e92767ac767 | [log] [tgz] |
---|---|---|
author | kojii <kojii@chromium.org> | Wed Jun 15 08:31:02 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 15 08:35:20 2016 |
tree | 05beb127ca77c0025bdfb62c496132decebb979f | |
parent | b4d9e8514b955009e437f5acb54b0b2e95013043 [diff] |
Implement script-side of callback reactions for Custom Elements V1 This patch implements script-side of callback reactions. Abstract classes were implemented in a separate CL[1]. Also contains following refactoring: 1. Callbacks are stored as v8::Function to make calling them easier. 2. m_observedAttribute is moved to the super class (CustomElementDefinition) to allow iteratiion. 3. The order to Get("observedAttributes") was changed as per the spec change[2]. The wpt test failure is a test issue, PR[3] is sent. [1] https://codereview.chromium.org/2058823002 [2] https://github.com/whatwg/html/issues/1373 [3] https://github.com/w3c/web-platform-tests/pull/3175 BUG=594918 Review-Url: https://codereview.chromium.org/2060753002 Cr-Commit-Position: refs/heads/master@{#399858}