mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
test: add WPT user-timing tests (#32123)
As discussed in https://github.com/servo/servo/pull/32120#issuecomment-2068017033, this adds the WPT `user-timing` tests to the default list of WPT tests, and also commits the current status of the `user-timing` tests. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
parent
f3c2edb743
commit
fa92b0f65f
45 changed files with 922 additions and 0 deletions
27
tests/wpt/meta/user-timing/measure_exception.html.ini
Normal file
27
tests/wpt/meta/user-timing/measure_exception.html.ini
Normal file
|
@ -0,0 +1,27 @@
|
|||
[measure_exception.html]
|
||||
[Invocation of performance.measure("Exception1", "NonExistMark1") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception2", "NonExistMark1", "navigationStart") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception3", "navigationStart", "NonExistMark1") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception4", "NonExistMark1", "ExistMark") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception5", "ExistMark", "NonExistMark1") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception6", "NonExistMark1", "NonExistMark2") should throw SYNTAX_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception7", "redirectStart") should throw INVALID_ACCESS_ERR Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception8", {"detail": "non-empty"}) should throw TypeError Exception.]
|
||||
expected: FAIL
|
||||
|
||||
[Invocation of performance.measure("Exception9", {"start": 1, "duration": 2, "end": 3}) should throw TypeError Exception.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue