Update web-platform-tests to revision 9919d0f04266001686c09d47ff6e25c98b48d91f

This commit is contained in:
WPT Sync Bot 2019-07-12 10:24:58 +00:00
parent 026e550d35
commit e7fcc8e274
453 changed files with 7751 additions and 2288 deletions

View file

@ -0,0 +1,15 @@
test(function() {
assert_throws(new TypeError(), function() { self.performance.mark("mark1", 123); }, "Number passed as a dict argument should cause type-error.")
}, "Number should be rejected as the mark-options.")
test(function() {
assert_throws(new TypeError(), function() { self.performance.mark("mark1", NaN); }, "NaN passed as a dict argument should cause type-error.")
}, "NaN should be rejected as the mark-options.")
test(function() {
assert_throws(new TypeError(), function() { self.performance.mark("mark1", Infinity); }, "Infinity passed as a dict argument should cause type-error.")
}, "Infinity should be rejected as the mark-options.")
test(function() {
assert_throws(new TypeError(), function() { self.performance.mark("mark1", "string"); }, "String passed as a dict argument should cause type-error.")
}, "String should be rejected as the mark-options.")