Closed Bug 1564795 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 17676 - Do not expose element, event, and layout-shift entries via getEntries

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

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

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

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

Do not expose element, event, and layout-shift entries via getEntries

Currently, Performance's getEntriesByType, getEntriesByName, and
getEntries methods include buffered entries of types 'element', 'event',
and 'layout-shift'. We do not want to expose these to the performance
timeline now that the buffered flag is shipped. This CL removes them
from those methods and fixes/adds web_tests that check those methods.

Bug: 581518, 823744, 883483, 972830
Change-Id: I0d74794bcc205cded6684472cc56836e253856cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1689073
Reviewed-by: Steve Kobes \<skobes@chromium.org>
Commit-Queue: Nicolás Peña Moreno \<npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675032}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Type: -- → task
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4cd6628da056
[wpt PR 17676] - Do not expose element, event, and layout-shift entries via getEntries, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.