Bug 168357 - [Resource Timing] Media resources have multiple PerformanceResourceTiming entries
Summary: [Resource Timing] Media resources have multiple PerformanceResourceTiming ent...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 168086
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-14 21:39 PST by Joseph Pecoraro
Modified: 2018-07-18 10:49 PDT (History)
7 users (show)

See Also:


Attachments
Patch (3.56 KB, patch)
2017-11-23 06:10 PST, Ms2ger (he/him; ⌚ UTC+1/+2)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-02-14 21:39:12 PST
[Resource Timing] Media resources have multiple PerformanceResourceTiming entries

I need to sort out what to do here. Our behavior may be okay, and if it is I should update tests to be more lenient.

This may involve clarification in the spec and agreement across multiple browsers:
<https://github.com/w3c/resource-timing/issues/100>

Test: imported/w3c/web-platform-tests/resource-timing/rt-initiatorType-media.html
Currently under review at: https://bugs.webkit.org/show_bug.cgi?id=168086
Steps to Reproduce:
1. <video src="..."> / <audio src="...">
2. js> performance.getEntriesByType("resource");
  => multiple entries for the media element
Comment 1 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-11-23 06:10:52 PST
Created attachment 327496 [details]
Patch
Comment 2 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-11-23 07:02:42 PST
Comment on attachment 327496 [details]
Patch

Looks like it's still broken for mac.
Comment 3 Ms2ger (he/him; ⌚ UTC+1/+2) 2017-11-27 08:14:59 PST
Enabled for GTK and WPE in r225169.
Comment 4 Alicia Boya García 2018-07-18 10:49:44 PDT
(In reply to Ms2ger from comment #3)
> Enabled for GTK and WPE in r225169.

http/wpt/resource-timing/rt-initiatorType-media.html is flaky [Pass Failure] on GTK since long ago, I'll mark it as such.