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

Side by Side Diff: LayoutTests/fast/dom/MutationObserver/delivery-order.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 <script> 3 <script>
4 window.jsTestIsAsync = true; 4 window.jsTestIsAsync = true;
5 5
6 description('Test that MutationObservers are delivered to in order of creation.' ); 6 description('Test that MutationObservers are delivered to in order of creation.' );
7 function finish() { 7 function finish() {
8 shouldBe('order.length', '10'); 8 shouldBe('order.length', '10');
9 shouldBe('order[0]', '0'); 9 shouldBe('order[0]', '0');
10 shouldBe('order[1]', '1'); 10 shouldBe('order[1]', '1');
11 shouldBe('order[2]', '2'); 11 shouldBe('order[2]', '2');
12 shouldBe('order[3]', '3'); 12 shouldBe('order[3]', '3');
(...skipping 28 matching lines...) Expand all
41 observers[9].observe(div, {attributes: true}); 41 observers[9].observe(div, {attributes: true});
42 observers[0].observe(div, {childList: true}); 42 observers[0].observe(div, {childList: true});
43 observers[5].observe(div, {attributes: true}); 43 observers[5].observe(div, {attributes: true});
44 observers[6].observe(div, {characterData: true, subtree: true}); 44 observers[6].observe(div, {characterData: true, subtree: true});
45 observers[8].observe(div, {attributes: true}); 45 observers[8].observe(div, {attributes: true});
46 div.setAttribute('foo', 'bar'); 46 div.setAttribute('foo', 'bar');
47 div.appendChild(document.createTextNode('hello')); 47 div.appendChild(document.createTextNode('hello'));
48 div.firstChild.textContent = 'goodbye'; 48 div.firstChild.textContent = 'goodbye';
49 setTimeout(finish, 0); 49 setTimeout(finish, 0);
50 </script> 50 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698