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

Side by Side Diff: LayoutTests/fast/forms/fieldset/fieldset-name.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 <script src="../../js/resources/js-test-pre.js"></script> 1 <script src="../../js/resources/js-test-pre.js"></script>
2 <fieldset id="fs1" name="a"></fieldset> 2 <fieldset id="fs1" name="a"></fieldset>
3 <script> 3 <script>
4 description("This test checks fieldset.name attribute."); 4 description("This test checks fieldset.name attribute.");
5 debug("Read from HTML"); 5 debug("Read from HTML");
6 shouldBe('fs1.name', '"a"'); 6 shouldBe('fs1.name', '"a"');
7 shouldBe('fs1.getAttribute("name")', '"a"'); 7 shouldBe('fs1.getAttribute("name")', '"a"');
8 8
9 debug('fs1.name="b"'); 9 debug('fs1.name="b"');
10 fs1.name = "b"; 10 fs1.name = "b";
(...skipping 12 matching lines...) Expand all
23 shouldBe('fs1.name', '""'); 23 shouldBe('fs1.name', '""');
24 shouldBeNull('fs1.getAttribute("name")'); 24 shouldBeNull('fs1.getAttribute("name")');
25 shouldBeFalse('fs1.hasAttribute("name")'); 25 shouldBeFalse('fs1.hasAttribute("name")');
26 26
27 debug('fs1.name=undefined'); 27 debug('fs1.name=undefined');
28 fs1.name = undefined; 28 fs1.name = undefined;
29 shouldBe('fs1.name', '"undefined"'); 29 shouldBe('fs1.name', '"undefined"');
30 shouldBe('fs1.getAttribute("name")', '"undefined"'); 30 shouldBe('fs1.getAttribute("name")', '"undefined"');
31 shouldBeTrue('fs1.hasAttribute("name")'); 31 shouldBeTrue('fs1.hasAttribute("name")');
32 </script> 32 </script>
33 <script src="../../js/resources/js-test-post.js"></script>
34 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698