Pass | IntersectionObserver constructor with { threshold: [1.1] } | Asserts runPass | assert_throws_js(function "function RangeError() { [native code] }", function "function() { new IntersectionObserver(e => {}, {threshold: [1.1]}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:8:3) |
|
Pass | IntersectionObserver constructor with { threshold: ["foo"] } | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new IntersectionObserver(e => {}, {threshold: ["foo"]}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:14:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "1" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "1"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:20:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "2em" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "2em"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:26:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "auto" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "auto"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:32:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "calc(1px + 2px)" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "calc(1px + 2px)"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:38:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "1px !important" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "1px !important"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:44:3) |
|
Pass | IntersectionObserver constructor with { rootMargin: "1px 1px 1px 1px 1px" } | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() { new IntersectionObserver(e => {}, {rootMargin: "1px 1px 1px 1px 1px"}) }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:50:3) |
|
Pass | IntersectionObserver.observe("foo") | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { let observer = new IntersectionObserver(c => {}, {}); observer.observe("foo"); }")
at Test.<anonymous> ( /intersection-observer/observer-exceptions.html:56:3) |
|