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

Unified Diff: third_party/WebKit/Source/core/frame/Location.idl

Issue 2380383003: Use sequence<T> instead of T[] where possible and document exceptions (Closed)
Patch Set: address feedback Created 4 years, 2 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/frame/Location.idl
diff --git a/third_party/WebKit/Source/core/frame/Location.idl b/third_party/WebKit/Source/core/frame/Location.idl
index a2760f6536d75beee8f4d18b982cbe0c365a836e..02bf37b7a18aa559a096dfa0ccbf8929342f9913 100644
--- a/third_party/WebKit/Source/core/frame/Location.idl
+++ b/third_party/WebKit/Source/core/frame/Location.idl
@@ -41,8 +41,8 @@
[CallWith=(CurrentWindow,EnteredWindow), DoNotCheckSecurity, RaisesException] void replace(DOMString url);
[CallWith=CurrentWindow] void reload();
- // TODO(foolip): ancestorOrigins should have [SameObject] and be of type
- // DOMString[], i.e. it should return the same array every time.
+ // TODO(foolip): |ancestorOrigins| should have [Unforgeable, SameObject] and
+ // be of type FrozenArray<USVString>.
[Measure] readonly attribute DOMStringList ancestorOrigins;
// TODO(foolip): Per spec, Location implements URLUtils. The below is
« no previous file with comments | « third_party/WebKit/Source/core/events/MessageEvent.idl ('k') | third_party/WebKit/Source/core/frame/NavigatorLanguage.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698