Closed Bug 1526462 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 15028 - [PerformanceObserver] Ship |type| in PerformanceObserverInit

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Nicolas Pena <npm@chromium.org> wrote:

[PerformanceObserver] Ship |type| in PerformanceObserverInit

This CL aligns PerformanceObserverInit with the latest changes in
https://w3c.github.io/performance-timeline/ except for the buffered flag
which is still unsupported. This changed in
https://github.com/w3c/performance-timeline/pull/112.

Intent to Ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/IPl_CSXhMbw

Bug: 922622
Change-Id: I39f510f302713c3f12f8f80ada1052fdeedc97a3
Reviewed-on: https://chromium-review.googlesource.com/c/1431194
Commit-Queue: Nicolás Peña Moreno \<npm@chromium.org>
Reviewed-by: Timothy Dresser \<tdresser@chromium.org>
Cr-Commit-Position: refs/heads/master@{#628122}

Component: web-platform-tests → DOM
Product: Testing → Core
Ran 4 tests and 24 subtests
OK     : 4
PASS   : 12
FAIL   : 12

New tests that have failures or other problems:
/performance-timeline/po-observe-type.any.html
    Calling observe() with entryTypes and then type should throw an InvalidModificationError: FAIL
    Calling observe() with type and entryTypes should throw a SyntaxError: FAIL
    Calling observe() with type and then entryTypes should throw an InvalidModificationError: FAIL
    Passing in unknown values to type does throw an exception.: FAIL
    observe() with different type values stacks.: FAIL
/performance-timeline/po-observe-type.any.worker.html
    Calling observe() with entryTypes and then type should throw an InvalidModificationError: FAIL
    Calling observe() with type and entryTypes should throw a SyntaxError: FAIL
    Calling observe() with type and then entryTypes should throw an InvalidModificationError: FAIL
    Passing in unknown values to type does throw an exception.: FAIL
    observe() with different type values stacks.: FAIL
/performance-timeline/po-observe.any.html
    no 'type' or 'entryTypes' throws a SyntaxError: FAIL
/performance-timeline/po-observe.any.worker.html
    no 'type' or 'entryTypes' throws a SyntaxError: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/25b861738e54
[wpt PR 15028] - [PerformanceObserver] Ship |type| in PerformanceObserverInit, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/d787de09def9
[wpt PR 15028] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.