Closed Bug 1601075 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 20595 - [Longtasks] Fix containerType and containerSrc in attribution

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20595 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20595
Details from upstream follow.

Nicolás Peña Moreno <npm@chromium.org> wrote:

[Longtasks] Fix containerType and containerSrc in attribution

This CL brings the longtasks API up to date with the recent changes on
https://github.com/w3c/longtasks/pull/78. It also adds WPT tests for
those changes. The changes are:

  • containerType is "window", "iframe", "embed", etc. depending on the
    type of the culprit browsing context container.
  • containerSrc is now the 'data' attribute when the container is an
    \<object>.

Change-Id: I06f661968778e3bec433a1bfe758b4604df01557
Reviewed-on: https://chromium-review.googlesource.com/1949146
WPT-Export-Revision: 0a900d3d467cca8bad64cdaa5a39ce93c2b1f1d2

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 9 tests and 12 subtests

Firefox

OK : 9
FAIL : 8

Chrome

OK : 9
PASS: 6
FAIL: 6

Safari

OK : 9
FAIL : 8

New tests that's don't pass

/longtask-timing/containerTypes.html
Performance longtask entries in frame are observable in parent.: Firefox: PRECONDITION_FAILED, Chrome: PASS, Safari: PRECONDITION_FAILED
Performance longtask entries in iframe are observable in parent.: Firefox: PRECONDITION_FAILED, Chrome: PASS, Safari: PRECONDITION_FAILED
Performance longtask entries in object are observable in parent.: Firefox: PRECONDITION_FAILED, Chrome: FAIL, Safari: PRECONDITION_FAILED
Performance longtask entries in embed are observable in parent.: Firefox: PRECONDITION_FAILED, Chrome: PASS, Safari: PRECONDITION_FAILED

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a13898cb3364 [wpt PR 20595] - [Longtasks] Fix containerType and containerSrc in attribution, a=testonly https://hg.mozilla.org/integration/autoland/rev/ddb081f1c065 [wpt PR 20595] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.