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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/parse-urls-line-column.js

Issue 2843073003: DevTools: linkifier incorrectly matches port numbers in urls as line numbers (Closed)
Patch Set: added test Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-unit/parse-urls-line-column-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 function testSplitLineColumn(string) {
2 var result = Common.ParsedURL.splitLineAndColumn(string);
3 TestRunner.addResult("Original: " + string + ", URL: " + result.url + ', Lin e: ' + result.lineNumber + ', Column: ' + result.columnNumber);
4 }
5
6 TestRunner.addResult("Test parsing links with line and column numbers.");
7
8 testSplitLineColumn("http://www.chromium.org");
dgozman 2017/04/27 17:03:29 Add to existing parsed-url.html test.
luoe 2017/04/27 17:43:58 Done.
9 testSplitLineColumn("http://www.chromium.org:8000");
10 testSplitLineColumn("http://www.chromium.org:8000/");
11 testSplitLineColumn("http://www.chromium.org:8000/foo.js:10");
12 testSplitLineColumn("http://www.chromium.org:8000/foo.js:10:20");
13 testSplitLineColumn("http://www.chromium.org/foo.js:10");
14 testSplitLineColumn("http://www.chromium.org/foo.js:10:20");
15
16 TestRunner.completeTest();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector-unit/parse-urls-line-column-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698