Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl |
| diff --git a/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl b/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dda136ccde5f513301bd39ae68c741e017d1e263 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// https://html.spec.whatwg.org/#htmlhyperlinkelementutils |
| + |
| +[ |
| + NoInterfaceObject, // Always used on target of 'implements' |
| +] interface HTMLHyperlinkElementUtils { |
| + stringifier attribute USVString href; |
| + [NotEnumerable, ImplementedAs=href] USVString toString(); |
|
sof
2016/04/19 10:01:31
I can't say I understand why this toString() is ne
sof
2016/04/19 11:05:15
https://codereview.chromium.org/1901983002/ mostly
sof
2016/04/19 11:51:59
We should try to address not having enumerable toS
|
| + readonly attribute USVString origin; |
| + |
| + attribute USVString protocol; |
| + attribute USVString username; |
| + attribute USVString password; |
| + attribute USVString host; |
| + attribute USVString hostname; |
| + attribute USVString port; |
| + attribute USVString pathname; |
| + attribute USVString search; |
| + attribute USVString hash; |
| +}; |