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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/URLUtilsReadOnly.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://html.spec.whatwg.org/#htmlhyperlinkelementutils 5 // https://html.spec.whatwg.org/#htmlhyperlinkelementutils
6 6
7 [ 7 [
8 NoInterfaceObject, // Always used on target of 'implements' 8 NoInterfaceObject, // Always used on target of 'implements'
9 ] interface HTMLHyperlinkElementUtils { 9 ] interface HTMLHyperlinkElementUtils {
10 // TODO(sof): 'stringifier' entails an enumerable toString(), 10 stringifier attribute USVString href;
11 // http://heycam.github.io/webidl/#es-stringifier
12 // something implementations of HTMLHyperlinkElementUtils currently
13 // provide. Make them to comply with the spec (http://crbug.com/306606).
14 //
15 // Until that time, do not use 'stringifier'.
16 // stringifier attribute USVString href;
17 attribute USVString href;
18 [NotEnumerable, ImplementedAs=href] USVString toString();
19 readonly attribute USVString origin; 11 readonly attribute USVString origin;
20 12
21 attribute USVString protocol; 13 attribute USVString protocol;
22 attribute USVString username; 14 attribute USVString username;
23 attribute USVString password; 15 attribute USVString password;
24 attribute USVString host; 16 attribute USVString host;
25 attribute USVString hostname; 17 attribute USVString hostname;
26 attribute USVString port; 18 attribute USVString port;
27 attribute USVString pathname; 19 attribute USVString pathname;
28 attribute USVString search; 20 attribute USVString search;
29 attribute USVString hash; 21 attribute USVString hash;
30 }; 22 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/URLUtilsReadOnly.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698