| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 [CallWith=CurrentWindow] void reload(); | 53 [CallWith=CurrentWindow] void reload(); |
| 54 | 54 |
| 55 // TODO(foolip): |ancestorOrigins| should have [Unforgeable, SameObject]. | 55 // TODO(foolip): |ancestorOrigins| should have [Unforgeable, SameObject]. |
| 56 readonly attribute DOMStringList ancestorOrigins; | 56 readonly attribute DOMStringList ancestorOrigins; |
| 57 | 57 |
| 58 // TODO(foolip): Per spec, Location implements URLUtils. The below is | 58 // TODO(foolip): Per spec, Location implements URLUtils. The below is |
| 59 // mostly like the URLUtils interface, but with some members missing and | 59 // mostly like the URLUtils interface, but with some members missing and |
| 60 // using DOMString instead of USVString. | 60 // using DOMString instead of USVString. |
| 61 [SetterCallWith=(CurrentWindow,EnteredWindow), CrossOrigin=Setter, RaisesExc
eption=Setter] attribute DOMString href; | 61 [SetterCallWith=(CurrentWindow,EnteredWindow), CrossOrigin=Setter, RaisesExc
eption=Setter] attribute DOMString href; |
| 62 [NotEnumerable, ImplementedAs=href] DOMString toString(); | 62 [NotEnumerable, ImplementedAs=href] DOMString toString(); |
| 63 readonly attribute DOMString origin; | 63 [MeasureAs=LocationOrigin] readonly attribute DOMString origin; |
| 64 | 64 |
| 65 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString protocol; | 65 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString protocol; |
| 66 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString host; | 66 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString host; |
| 67 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString hostname; | 67 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString hostname; |
| 68 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString port; | 68 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString port; |
| 69 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString pathname; | 69 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString pathname; |
| 70 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString search; | 70 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString search; |
| 71 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString hash; | 71 [SetterCallWith=(CurrentWindow,EnteredWindow), RaisesException=Setter] attri
bute DOMString hash; |
| 72 | 72 |
| 73 // TODO(foolip): Location does not have a valueOf() override in the spec. | 73 // TODO(foolip): Location does not have a valueOf() override in the spec. |
| 74 // See the comment in Location.h for the purpose of this. | 74 // See the comment in Location.h for the purpose of this. |
| 75 [NotEnumerable, CallWith=ThisValue] any valueOf(); | 75 [NotEnumerable, CallWith=ThisValue] any valueOf(); |
| 76 }; | 76 }; |
| OLD | NEW |