Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/LayoutTests/intersection-observer/root-margin.html

Issue 1740923004: IntersectionObserver: make exceptions match spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: ASSERT observer constructor succeeded if no exception was thrown Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/intersection-observer/root-margin.html
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html b/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html
index 60f0741b5ef639176b8b53ced163c9ce92746718..c5dd9433cd2effcacf160c4fcc6a0aa25e56ee66 100644
--- a/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html
+++ b/third_party/WebKit/LayoutTests/intersection-observer/root-margin.html
@@ -26,9 +26,6 @@
function step0() {
setTimeout(function() {
- shouldThrow("new IntersectionObserver(observer_callback, { rootMargin: '1' })");
- shouldThrow("new IntersectionObserver(observer_callback, { rootMargin: '1em' })");
- shouldThrow("new IntersectionObserver(observer_callback, { rootMargin: 'auto' })");
shouldNotThrow("new IntersectionObserver(observer_callback, { rootMargin: '1.4px' })");
shouldNotThrow("new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px' })");
shouldNotThrow("new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3%' })");

Powered by Google App Engine
This is Rietveld 408576698