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

Unified Diff: third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp

Issue 2046973003: IntersectionObserver: throw exceptions as spec mandates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserver.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp b/third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp
index b9bff2fab2dca4159fd2c522c7c7b6c6c8835da1..79b8cf74106d0317898b56002003f83f47786ce2 100644
--- a/third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp
+++ b/third_party/WebKit/Source/web/tests/IntersectionObserverTest.cpp
@@ -53,12 +53,12 @@ TEST_F(IntersectionObserverTest, ObserveSchedulesFrame)
compositor().beginFrame();
ASSERT_FALSE(compositor().needsAnimate());
- EXPECT_TRUE(observer->takeRecords().isEmpty());
+ EXPECT_TRUE(observer->takeRecords(exceptionState).isEmpty());
EXPECT_EQ(observerCallback->callCount(), 0);
Element* target = document().getElementById("target");
ASSERT_TRUE(target);
- observer->observe(target);
+ observer->observe(target, exceptionState);
EXPECT_TRUE(compositor().needsAnimate());
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserver.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698