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

Side by Side Diff: LayoutTests/fast/dom/MutationObserver/document-fragment-insertion.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 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../js/resources/js-test-pre.js"></script>
3 <script> 3 <script>
4 description('Inserting DocumentFragments should remove all children of the fragm ent before inserting the children.'); 4 description('Inserting DocumentFragments should remove all children of the fragm ent before inserting the children.');
5 5
6 window.jsTestIsAsync = true; 6 window.jsTestIsAsync = true;
7 7
8 function createObservedFragment() { 8 function createObservedFragment() {
9 var fragment = document.createDocumentFragment(); 9 var fragment = document.createDocumentFragment();
10 fragment.appendChild(document.createElement('b')); 10 fragment.appendChild(document.createElement('b'));
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 shouldBe('mutations[0].removedNodes.length', '2'); 67 shouldBe('mutations[0].removedNodes.length', '2');
68 shouldBe('mutations[1].addedNodes.length', '2'); 68 shouldBe('mutations[1].addedNodes.length', '2');
69 shouldBe('mutations[1].removedNodes.length', '1'); 69 shouldBe('mutations[1].removedNodes.length', '1');
70 debug(''); 70 debug('');
71 finishJSTest(); 71 finishJSTest();
72 }, 0); 72 }, 0);
73 } 73 }
74 74
75 testAppendChild(); 75 testAppendChild();
76 </script> 76 </script>
77 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698