OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://html.spec.whatwg.org/#htmlhyperlinkelementutils |
| 6 |
| 7 [ |
| 8 NoInterfaceObject, // Always used on target of 'implements' |
| 9 ] interface HTMLHyperlinkElementUtils { |
| 10 // TODO(sof): 'stringifier' entails an enumerable toString(), |
| 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; |
| 20 |
| 21 attribute USVString protocol; |
| 22 attribute USVString username; |
| 23 attribute USVString password; |
| 24 attribute USVString host; |
| 25 attribute USVString hostname; |
| 26 attribute USVString port; |
| 27 attribute USVString pathname; |
| 28 attribute USVString search; |
| 29 attribute USVString hash; |
| 30 }; |
OLD | NEW |