[wpt-sync] Sync PR 22942 - Get rid of SyntaxErrors in PerformanceObserver
Categories
(Core :: Performance: General, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22942 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22942
Details from upstream follow.
Nicolás Peña Moreno <npm@chromium.org> wrote:
Get rid of SyntaxErrors in PerformanceObserver
This CL changes the SyntaxErrors to TypeErrors when 'type' and
'entryTypes' are both present or not present. It also adds a UseCounter
for when 'entryTypes' is present and 'buffered', the only other member
in the dictionary, is also present. Currently this causes a console
warning whereas it should instead also throw a TypeError, so once this
mistake is proved to be very infrequent, we can proceed to change it to
TypeError. See related PR:https://github.com/w3c/performance-timeline/pull/164
Change-Id: Ic9399bf54895e3723b0ca2e513161a7e0638b681
Reviewed-on: https://chromium-review.googlesource.com/2144686
WPT-Export-Revision: dd219adb9e79660a2a44971e35972edcc1d1cfa0
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fbb586b5a4b0
https://hg.mozilla.org/mozilla-central/rev/da8dc9caa5eb
Description
•