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

Unified Diff: LayoutTests/inspector/sources/debugger/navigator-view.html

Issue 661983003: DevTools: bring back exception handling in URL decoding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git/+/master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/navigator-view-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/sources/debugger/navigator-view.html
diff --git a/LayoutTests/inspector/sources/debugger/navigator-view.html b/LayoutTests/inspector/sources/debugger/navigator-view.html
index eb30ba89c3bb8762d7c32c1f113f0f14f5bced3c..5096d6fa60ef93a08bf55e2d21b0c15e189bf81d 100644
--- a/LayoutTests/inspector/sources/debugger/navigator-view.html
+++ b/LayoutTests/inspector/sources/debugger/navigator-view.html
@@ -65,7 +65,8 @@ function test()
addUISourceCode("http://example.com/", false);
addUISourceCode("http://example.com/?a=b", false);
addUISourceCode("http://example.com/the%2fdir/foo?bar=100&baz=a%20%2fb", false);
- addUISourceCode("http://example.com/the%2fdir/foo?bar=100%25&baz=a%20%2fb", false);
+ // Verify that adding invalid URL does not throw exception.
+ addUISourceCode("http://example.com/the%2fdir/foo?bar=100%&baz=a%20%2fb", false);
addUISourceCode("http://example.com/path%20with%20spaces/white%20space.html", false);
addUISourceCode("?a=b", false);
addUISourceCode("very_looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong_url", false);
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/navigator-view-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698