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

Unified Diff: Source/core/dom/Iterator.idl

Issue 483163003: Introduce ES6 iterator for DOM objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « Source/core/dom/Iterator.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Iterator.idl
diff --git a/Source/modules/geofencing/GeofencingRegion.idl b/Source/core/dom/Iterator.idl
similarity index 66%
copy from Source/modules/geofencing/GeofencingRegion.idl
copy to Source/core/dom/Iterator.idl
index 4e22058d98b22fb2f0a7d196263ea4b9a458feab..87027c5bdac9d26ac0404df9ed40c057f021eb1b 100644
--- a/Source/modules/geofencing/GeofencingRegion.idl
+++ b/Source/core/dom/Iterator.idl
@@ -3,9 +3,9 @@
// found in the LICENSE file.
[
- RuntimeEnabled=Geofencing,
- NoInterfaceObject,
+ Iterable,
GarbageCollected,
-] interface GeofencingRegion {
- readonly attribute DOMString id;
+ NoInterfaceObject,
+] interface Iterator {
+ [CallWith=ScriptState, RaisesException] any next(optional any value);
};
« no previous file with comments | « Source/core/dom/Iterator.h ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698