mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -18,6 +18,12 @@ function test_exception(attrName) {
|
|||
}, "window.performance.mark(\"" + attrName + "\") throws a SyntaxError exception.");
|
||||
}
|
||||
|
||||
test(() => {
|
||||
assert_throws(new TypeError(), function() {
|
||||
window.performance.mark();
|
||||
});
|
||||
}, 'window.performance.mark() throws a TypeError exception.')
|
||||
|
||||
// loop through mark scenarios
|
||||
for (var i in timingAttributes) {
|
||||
test_exception(timingAttributes[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue