gecko-dev/testing/web-platform/tests/user-timing
Tom McKee e0c50a070a Bug 1557423 [wpt PR 17208] - [UserTimingL3] Replace SyntaxError with TypeError., a=testonly
Automatic update from web-platform-tests
[UserTimingL3] Replace SyntaxError with TypeError.

The User Timing L3 specification requires TypeErrors to be thrown when
calls to `performance.measure()` are malformed. The User Timing L2
specification used SyntaxErrors for similar error conditions.

This CL changes our use of SyntaxError to TypeError when L3 conformance
is active.

Bug: 953960
Change-Id: I87bb0717687f4a3b149eaeb6fc190fa9a98d1f9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1647342
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Auto-Submit: Tom McKee <tommckee@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#668488}

--

wp5At-commits: 27782199136cf350e2dd698856627821a60d712b
wpt-pr: 17208
2019-07-15 11:37:54 +00:00
..
resources
META.yml
clearMarks.html
clearMeasures.html
clear_all_marks.any.js
clear_all_measures.any.js
clear_non_existent_mark.any.js
clear_non_existent_measure.any.js
clear_one_mark.any.js
clear_one_measure.any.js
entry_type.any.js
idlharness.any.js
invoke_with_timing_attributes.html
invoke_with_timing_attributes.worker.js
invoke_without_parameter.html
mark-entry-constructor.html
mark-errors.html
mark-l3.html
mark-measure-feature-detection.html
mark-measure-return-objects.html
mark.any.js
mark.html
mark_exceptions.html
measure-exceptions.html
measure-l3.html
measure-with-dict.html Bug 1557423 [wpt PR 17208] - [UserTimingL3] Replace SyntaxError with TypeError., a=testonly 2019-07-15 11:37:54 +00:00
measure.html
measure_associated_with_navigation_timing.html
measure_exception.html
measure_exceptions_navigation_timing.html
measure_navigation_timing.html
measure_syntax_err.any.js
measures.html
performance-measure-invalid.worker.js
supported-usertiming-types.any.js
user-timing-tojson.html
user_timing_exists.any.js