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

Side by Side Diff: LayoutTests/fast/dom/DocumentType/remove.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 4
5 description('This tests the DOM 4 remove method on a DocumentType node.'); 5 description('This tests the DOM 4 remove method on a DocumentType node.');
6 6
7 var doctype = document.doctype; 7 var doctype = document.doctype;
8 shouldBe('document.childNodes.length', '2'); 8 shouldBe('document.childNodes.length', '2');
9 doctype.remove(); 9 doctype.remove();
10 shouldBe('document.childNodes.length', '1'); 10 shouldBe('document.childNodes.length', '1');
11 doctype.remove(); 11 doctype.remove();
12 shouldBe('document.childNodes.length', '1'); 12 shouldBe('document.childNodes.length', '1');
13 13
14 </script> 14 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/DocumentType/previous-element-sibling.html ('k') | LayoutTests/fast/dom/Element/attrisid-extra01.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698