commit | 4f581ae17af347201ede92b01dc47068ee0cf2d5 | [log] [tgz] |
---|---|---|
author | kojii <kojii@chromium.org> | Wed Jun 15 08:32:02 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 15 08:38:04 2016 |
tree | 44dc3241bfa4e9fe84744b35f9bcadc7753bb9e9 | |
parent | 0dee3ec4784b2fb73d3aefaab1e00e92767ac767 [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@{#399859}