Closed Bug 1631816 Opened 5 years ago Closed 5 years ago

`network.preload` preference is set to true in wpt

Categories

(Core :: DOM: Core & HTML, enhancement)

75 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1626997

People

(Reporter: koddsson, Assigned: koddsson)

References

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.92 Safari/537.36 Edg/81.0.416.53

Steps to reproduce:

I ran the Web Platform Tests for the preload link headers.

Actual results:

The passed on Firefox 75

Expected results:

They should have failed since rel=preload isn't enabled in Firefox 75

Here's the issue that I filed in WPT. This seems to be because the network.preload user preferences are enabled in Firefox when it runs in WPT.

network.preload is off by default and there for not representative of a user of Firefox. By removing that user preference we are more in line

Assignee: nobody → koddsson

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Why would we want to lose test coverage?

See Also: → 1632135

Emilio, thanks for catching this bug and reaching me! This is a wontfix now, we want that coverage for sure when I'm about to land the new preload implementation soon and also enable it by default for the next realse. This coverage is vital to have.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX

(In reply to Honza Bambas (:mayhemer) from comment #5)

Emilio, thanks for catching this bug and reaching me! This is a wontfix now, we want that coverage for sure when I'm about to land the new preload implementation soon and also enable it by default for the next realse. This coverage is vital to have.

Note that this patch is doing something different (in the end) though, it's enabling it in the relevant subdirectories instead of in WPTRunner.

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WONTFIX → ---

(In reply to Honza Bambas (:mayhemer) from comment #5)

Emilio, thanks for catching this bug and reaching me! This is a wontfix now, we want that coverage for sure when I'm about to land the new preload implementation soon and also enable it by default for the next realse. This coverage is vital to have.

The reason I mentioned was... do you want it on everywhere (In which case we should add it to the global __dir__.ini)? Or do something else?

Flags: needinfo?(honzab.moz)

OK, timing for changes to this right now is really bad and unnecessary.

Let's deal with this in bug 1626997. It's enabling preload by default, so I will remove the pref changes to WPT as part of it. Would that work for you?

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Flags: needinfo?(honzab.moz)
Resolution: --- → DUPLICATE

Let's deal with this in bug 1626997. It's enabling preload by default, so I will remove the pref changes to WPT as part of it. Would that work for you?

Sure, would! I saw that bug but wasn't sure when that would be resolved and figured that we'd want to get the correct thing showing up in WPT just as soon as possible.

Pushed by ccoroiu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6a71491c39a4 Don't enable `network.preload` in wpt tests. r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23457 for changes under testing/web-platform/tests

Please back this out IMMEDIATELY. This bug has been closed as a duplicate and will conflict with my changes to preload I'm just about to land.

Flags: needinfo?(ccoroiu)
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Flags: needinfo?(ccoroiu) → needinfo?(honzab.moz)
Upstream PR was closed without merging

Thank you! I will now abandon the revision here.

Kristian, please let you know that the patch is made obsolete by a patch I'm about to submit in bug 1626997. It's the last one to go for the preload work.

Flags: needinfo?(honzab.moz) → needinfo?(koddsson)
Attachment #9142074 - Attachment is obsolete: true

Ok sounds good. I'll watch bug 1626997.

Flags: needinfo?(koddsson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: