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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/fetch.js

Issue 2783623003: Fetch API: Don't exclude the URL fragment in Request#url (Closed)
Patch Set: address comments Created 3 years, 9 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/fetch/script-tests/fetch.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/fetch.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/fetch.js
index e6f00e2e8e7e500ff01f2484d578d0a526036f0a..37f42f035c76b6f274cc04b100cfe453eeade487 100644
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/fetch.js
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/fetch.js
@@ -166,11 +166,8 @@ promise_test(function(t) {
promise_test(function(t) {
var request = new Request(
'/fetch/resources/fetch-status.php?status=200#fragment');
-
- // The url attribute's getter must return request's url,
- // serialized with the exclude fragment flag set.
assert_equals(request.url,
- BASE_ORIGIN + '/fetch/resources/fetch-status.php?status=200');
+ BASE_ORIGIN + '/fetch/resources/fetch-status.php?status=200#fragment');
return fetch(request)
.then(function(response) {

Powered by Google App Engine
This is Rietveld 408576698