| OLD | NEW |
| 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 }; |
| OLD | NEW |