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

Side by Side Diff: LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html

Issue 599733005: Merge 181302 "Tell synthetic attribute nodes inside shadow DOM a..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2125/
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 3
4 <div id="div1"></div> 4 <div id="div1"></div>
5 <div id="div2"></div> 5 <div id="div2"></div>
6 6
7 <script> 7 <script>
8 description('This tests ensures that an event listener on an attribute node insi de a shadow DOM is properly unregistered when parent element of the attribute is moved to a new document.'); 8 description('This tests ensures that an event listener on an attribute node insi de a shadow DOM is properly unregistered when parent element of the attribute is moved to a new document.');
9 9
10 var div1 = document.getElementById('div1'); 10 var div1 = document.getElementById('div1');
(...skipping 10 matching lines...) Expand all
21 21
22 // Move the shadow host into a new document. 22 // Move the shadow host into a new document.
23 var doc = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'html'); 23 var doc = document.implementation.createDocument('http://www.w3.org/1999/xhtml', 'html');
24 doc.adoptNode(div2); 24 doc.adoptNode(div2);
25 25
26 // Make sure the handler was unregistered. 26 // Make sure the handler was unregistered.
27 if (window.internals) 27 if (window.internals)
28 shouldBe('window.internals.touchEventHandlerCount(document)', '0'); 28 shouldBe('window.internals.touchEventHandlerCount(document)', '0');
29 29
30 </script> 30 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698