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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters-ipv6.html

Issue 1818923004: [DevTools] Fix to double wrapping IPv6 in square brackets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@BETTER_HAR_SUPPORT
Patch Set: Added rule in test expectations Created 4 years, 8 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
Index: third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters-ipv6.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters.html b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters-ipv6.html
similarity index 72%
copy from third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters.html
copy to third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters-ipv6.html
index 256b66b076614f2a2a1633ccff41438a3766f19f..c8a1db6b7044d7a10a0cecb4e705a10e471fdd46 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resource-parameters-ipv6.html
@@ -17,8 +17,7 @@ function test()
function onRequestFinished(event)
{
var request = event.data;
- if (request.url !== "http://127.0.0.1:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2=")
- return;
+ InspectorTest.addResult(request.url);
InspectorTest.addObject(new WebInspector.HAREntry(request).build(), InspectorTest.HARPropertyFormatters);
InspectorTest.completeTest();
}
@@ -30,7 +29,7 @@ function test()
<p>
Tests that resources panel shows form data parameters.
</p>
-<form target="target-iframe" method="POST" action="http://127.0.0.1:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2=#fragmentParam1=fragmentValue1&fragmentParam2=">
+<form target="target-iframe" method="POST" action="http://[::1]:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&queryParam2=#fragmentParam1=fragmentValue1&fragmentParam2=">
<input name="formParam1" value="formValue1">
<input name="formParam2">
<input id="submit" type="submit">

Powered by Google App Engine
This is Rietveld 408576698