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

Side by Side Diff: LayoutTests/fast/dom/MutationObserver/shadow-dom.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <input type="range"> 3 <input type="range">
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description('Test that MutationObservers operate in Shadow DOM'); 6 description('Test that MutationObservers operate in Shadow DOM');
7 7
8 function doTest() 8 function doTest()
9 { 9 {
10 function mutate(elt) 10 function mutate(elt)
(...skipping 24 matching lines...) Expand all
35 mutate(shadowRoot.firstChild); 35 mutate(shadowRoot.firstChild);
36 debug('\nObserving from outside shadow DOM should not see mutations in the s hadow:'); 36 debug('\nObserving from outside shadow DOM should not see mutations in the s hadow:');
37 shouldBe('mutations.length', '0'); 37 shouldBe('mutations.length', '0');
38 } 38 }
39 39
40 if (window.internals) 40 if (window.internals)
41 doTest(); 41 doTest();
42 else 42 else
43 testFailed('This test only runs in DRT'); 43 testFailed('This test only runs in DRT');
44 </script> 44 </script>
45 <script src="../../js/resources/js-test-post.js"></script>
46 </body> 45 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698