Index: third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html |
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html b/third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html |
index d5d95e3b59e3010fc90766a888d7a7e90c7728f3..8b7c672531b7e514203f7465adca02386e3fa0e3 100644 |
--- a/third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html |
+++ b/third_party/WebKit/LayoutTests/intersection-observer/observer-exceptions.html |
@@ -10,7 +10,7 @@ test(function () { |
}, "IntersectionObserver constructor with { threshold: [1.1] }"); |
test(function () { |
- assert_throws(RangeError(), function() { |
+ assert_throws(TypeError(), function() { |
new IntersectionObserver(e => {}, {threshold: ["foo"]}) |
}) |
}, 'IntersectionObserver constructor with { threshold: ["foo"] }'); |