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

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

Issue 1905553002: Expose toString() as enumerable on some objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sof-tidy-idl-pars
Patch Set: rebased Created 4 years, 8 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/URL.idl
diff --git a/third_party/WebKit/Source/core/dom/URL.idl b/third_party/WebKit/Source/core/dom/URL.idl
index 35f6f7fe2b08aa6811828b2733b510d9b41c7c2d..881851b9e22b084b683b7ae1fdd36251f4d42fdb 100644
--- a/third_party/WebKit/Source/core/dom/URL.idl
+++ b/third_party/WebKit/Source/core/dom/URL.idl
@@ -44,16 +44,7 @@
[RaisesException, CallWith=ExecutionContext] static DOMString? createObjectURL(Blob blob);
[CallWith=ExecutionContext] static void revokeObjectURL(DOMString url);
- // TODO(sof): 'stringifier' entails an enumerable toString(),
- // http://heycam.github.io/webidl/#es-stringifier
- // something URL currently doesn't provide. Switch it over to being
- // enumerable (http://crbug.com/306606).
- //
- // Until that time, do not use 'stringifier'.
- // stringifier attribute USVString href;
- attribute USVString href;
- [NotEnumerable, ImplementedAs=href] USVString toString();
-
+ stringifier attribute USVString href;
readonly attribute USVString origin;
attribute USVString protocol;

Powered by Google App Engine
This is Rietveld 408576698