New issue
Advanced search Search tips
Starred by 4 users

Issue metadata

Status: Available
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Compat

Blocked on:
issue 627309
issue 678515

issue 705490
issue 896242

Sign in to add a comment

Issue 651761: 14 failing web-platform-tests for Fetch that pass in Firefox and Edge

Reported by, Sep 30 2016 Project Member

Issue description

Comment 1 by, Oct 11 2016

Blockedon: 627309
This issue is blocked on  issue 627309 : There are some tests calling promise-returning functions with this=null.

Comment 2 by, Jan 3 2017

Looks like the blocking issue (627309) has been fixed. Anything else blocking work on this now?

Comment 3 by, Jan 4 2017

There are still some failures in these tests, though it's hard to tell if they're the same as when this issue was filed.

Let's leave this as untriaged for someone working on Fetch to import these tests into Blink, or judge it as actually fixed already.

We will try to generate this data again, so closing this doesn't risk losing track of the problem long term.

Comment 4 by, Jan 4 2017

I did a quick triage of what remains, in Canary (Version 57.0.2971.0 (Official Build) canary (64-bit)):

- causes a crash, and in fact causes a crash of all open tabs if I open all the tests in a single Canary window

- and -worker.html version: we disallow fetching about:blank, when we shouldn't


- this test seems to have been removed

- and :
  - Request is mising attributes type, destination, and cache, as well as the formData method
  - Response is missing the formData method
-,, presumably our nosniff implementation is not per spec

Comment 5 by, Jan 5 2017


-,, presumably our nosniff implementation is not per spec

I've wondered where sniffing is specified. Can you tell me?

Comment 6 by, Jan 5 2017

Blockedon: 678515

Comment 7 by, Jan 5 2017

MimeSniffingResourceHandler::ShouldSniffContent() is using HttpResponseHeaders::GetNormalizedHeader() which returns values of headers with the specified name concatenated with ", ".

The test is expecting that the last occurrence of the "X-Content-Type-Options" header to be parsed and it prevents sniffing. When sniffing is prevented, the Content-Type header value is used which is "x/x" to fail the script element. is saying that the first header should be used and these tests are for testing that (see ) though this algorithm is not used to control sniffing yet in the Fetch Standard.

Comment 8 by, Jan 5 2017

Expecting a network error on importScripts() on a resource with non JavaScript MIME type as specified in the Main Fetch's step 16. Chrome doesn't throw a network error.


Comment 9 by, Jan 5 2017

Sniffing is defined by

Comment 10 by, Jan 20 2017

Blockedon: 643712
Setting blocked on issue 643712 for fetch/api/headers/headers-idl.html so this bug will track however that turns out.

Comment 11 by, Mar 27 2017

Is there a plan to import Fetch tests to external/wpt?

The workers team is starting to fix service worker WPT tests, and we're seeing  some failures are due to the Fetch API. For example, the Request constructor:

We're going to add more Request tests to http/tests/fetch as we go, but it'd possibly de-duplicate effort if there are WPT tests already covering this or if we can commit directly to WPT tests.

Comment 12 by, Mar 29 2017

Blocking: 705490
> Is there a plan to import Fetch tests to external/wpt?

This just happened in bug 705490:

Comment 13 by, Apr 5 2017

Status: Available (was: Untriaged)
From the above discussion it sounds like this is "triaged" - legitimate potential work on the network API team's backlog, just not given any particular priority yet.  Right?

Comment 14 by, Apr 5 2017


Comment 15 by, May 9 2017

Blockedon: -643712

Comment 16 by, May 9 2018

Project Member
Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit - Your friendly Sheriffbot

Comment 17 by, May 10 2018

Labels: -Type-Bug Type-Compat
Status: Available (was: Untriaged)

Comment 19 by, Oct 12

Description: Show this description

Comment 20 by, Oct 12

Description: Show this description

Comment 21 by, Oct 17

Blocking: 896242

Comment 22 by, Oct 18

Blocking: -651572

Sign in to add a comment