Closed
Bug 1459140
Opened 8 years ago
Closed 8 years ago
[wpt-sync] Sync PR 10840 - [Resource-Timing] Fix `initiatorType` values
Categories
(Core :: DOM: Core & HTML, enhancement, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla62
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
26.89 KB,
application/x-gzip
|
Details |
Sync web-platform-tests PR 10840 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/w3c/web-platform-tests/pull/10840
Details from upstream follow.
Yoav Weiss <yoav@yoav.ws> wrote:
> [Resource-Timing] Fix `initiatorType` values
>
> There were multiple issues with current `initiatorType` implementation:
> * `fetch()` resources had an empty value instead of "fetch"
> * `<video>` resources had an empty value instead of "video"
> * `<audio>` resources had an empty value instead of "audio"
> * `<track>` resources had "texttrack" value instead of "track"
> * EventSource resources had an empty value instead of "other"
>
> On top of that, the test to make sure the above is all in check had
> some values that were not aligned to the spec, and was disabled due to
> the flakiness of audio and video loads.
>
> This CL fixes the above values, fixes the test to be more spec
> compliant and enables it.
>
> Bug: 649571, 822757
> Change-Id: I1dc6fd35e5e4bc570cbbb7d743dc02279bf42b8b
>
> Reviewed-on: https://chromium-review.googlesource.com/1040925
> WPT-Export-Revision: b143db158fa7204c3720dc8e47d5fbdbdf2ebb7a
| Reporter | ||
Updated•8 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=14bcd885225881bb15e1b9e02b4d2a4faeb467d8
Comment 3•8 years ago
|
||
This test was flaky in Firefox before this PR's test change. Testing it locally in its pre-PR form, I see a different number of failures on each run.
It seems like some resource types are not consistently loaded, or at least not consistently reported. The ones I noticed were the video resources as well as the `<link rel=prefetch>` resource.
The test in question is https://wpt.fyi/results/resource-timing/resource_initiator_types.html
I'm attaching the entire current directory, as it's needed to reproduce the issue (and to make sure this is still reproducible despite future changes to the test).
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Reporter | ||
Updated•8 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Reporter | ||
Comment 6•8 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e82e5888e21e97cfe08b627756d654aa2207ab66
| Reporter | ||
Comment 7•8 years ago
|
||
Ran 1 tests and 36 subtests
OK : 1
PASS : 22
FAIL : 14
New tests that have failures or other problems:
/resource-timing/resource_initiator_types.html
http://web-platform.test:8000/media/test.mp4?id=video-source is expected to have initiatorType video: FAIL
http://web-platform.test:8000/resource-timing/resources/empty.py?id=audio-source-mpeg is expected to have initiatorType audio: FAIL
http://web-platform.test:8000/resource-timing/resources/empty.py?id=audio-source-ogg is expected to have initiatorType audio: FAIL
http://web-platform.test:8000/resource-timing/resources/empty.py?id=audio-source-wav is expected to have initiatorType audio: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b029276297d9
[wpt PR 10840] - [Resource-Timing] Fix `initiatorType` values, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/339c9de0e6ef
[wpt PR 10840] - Update wpt metadata, a=testonly
Comment 9•8 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b029276297d9
https://hg.mozilla.org/mozilla-central/rev/339c9de0e6ef
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•