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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/get-href-attribute-port.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 10 months 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
OLDNEW
(Empty)
1 description('Test getting the port attribute of the URL in HTMLAnchorElement.');
2
3 var a = document.createElement('a');
4
5 debug("Default port is empty");
6 shouldBe("a.port", "''");
7
8 debug("Unspecified port should return empty string");
9 a.href = "http://example.com/";
10 shouldBe("a.port", "''");
11
12 debug("Empty port should be empty");
13 a.href = "http://example.com:/";
14 shouldBe("a.port", "''");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698