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

Side by Side Diff: LayoutTests/fast/dom/custom/isolated-world.html

Issue 58533003: Move fast/js/resources files to resources. (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 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <body> 3 <body>
4 <div id="container-a"><span is="x-a" id="x"></span></div> 4 <div id="container-a"><span is="x-a" id="x"></span></div>
5 <div id="container-b"><span is="x-a" id="y"></span></div> 5 <div id="container-b"><span is="x-a" id="y"></span></div>
6 <script> 6 <script>
7 description('Tests that accessing custom elements from an isolated world ' + 7 description('Tests that accessing custom elements from an isolated world ' +
8 'does not cause worlds to collide and destroy the galaxy.'); 8 'does not cause worlds to collide and destroy the galaxy.');
9 9
10 shouldBeNonNull('window.testRunner', 'this test requires testRunner'); 10 shouldBeNonNull('window.testRunner', 'this test requires testRunner');
11 11
12 var containerA = document.querySelector('#container-a'); 12 var containerA = document.querySelector('#container-a');
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ' y prototype is HTMLSpanElement.prototype? true,' + 95 ' y prototype is HTMLSpanElement.prototype? true,' +
96 ' y.p ~> undefined,' + 96 ' y.p ~> undefined,' +
97 ' y.q ~> undefined"', 97 ' y.q ~> undefined"',
98 'the isolated world should not see main world prototypes'); 98 'the isolated world should not see main world prototypes');
99 99
100 // Lastly, collect some wrappers (e.g #b in isolated world) 100 // Lastly, collect some wrappers (e.g #b in isolated world)
101 document.querySelector('#container-b').innerHTML = ''; 101 document.querySelector('#container-b').innerHTML = '';
102 gc(); 102 gc();
103 testPassed('did not crash'); 103 testPassed('did not crash');
104 </script> 104 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/custom/html-element-type-extension-assert.html ('k') | LayoutTests/fast/dom/custom/leaks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698