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

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

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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
index 40ef5e66d8acad19b82618e6d323d64977a5d34d..910c2781be9ef396ec3efbc0ebade2c76ec7720d 100644
--- a/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
+++ b/third_party/WebKit/LayoutTests/intersection-observer/root-margin-expected.txt
@@ -3,9 +3,6 @@ Intersection observer test with root margin and implicit root.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1' }) threw exception Error: rootMargin must be specified in pixels or percent..
-PASS new IntersectionObserver(observer_callback, { rootMargin: '1em' }) threw exception Error: rootMargin must be specified in pixels or percent..
-PASS new IntersectionObserver(observer_callback, { rootMargin: 'auto' }) threw exception Error: rootMargin must be specified in pixels or percent..
PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px' }) did not throw exception.
PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px' }) did not throw exception.
PASS new IntersectionObserver(observer_callback, { rootMargin: '1.4px 2px 3%' }) did not throw exception.

Powered by Google App Engine
This is Rietveld 408576698