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

Unified Diff: third_party/WebKit/Source/core/dom/IntersectionObserver.idl

Issue 1740923004: IntersectionObserver: make exceptions match spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Get rid of IntersectionObserver::hasRootMargin 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/Source/core/dom/IntersectionObserver.idl
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserver.idl b/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
index eb6122be7462b7e4f52d1adc5698d510b1ac0a1a..f5927c6f942d1386c6333103f795b68023c7e214 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserver.idl
@@ -13,8 +13,8 @@ callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry
GarbageCollected,
RuntimeEnabled=IntersectionObserver,
] interface IntersectionObserver {
- [RaisesException] void observe(Element target);
- [RaisesException] void unobserve(Element target);
+ void observe(Element target);
+ void unobserve(Element target);
void disconnect();
sequence<IntersectionObserverEntry> takeRecords();
readonly attribute Element? root;

Powered by Google App Engine
This is Rietveld 408576698