| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 readonly attribute [TreatReturnedNullStringAs=Null] DOMString xmlEncodin
g; | 69 readonly attribute [TreatReturnedNullStringAs=Null] DOMString xmlEncodin
g; |
| 70 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString xmlVersion | 70 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString xmlVersion |
| 71 setter raises (DOMException); | 71 setter raises (DOMException); |
| 72 attribute boolean xmlStandalone | 72 attribute boolean xmlStandalone |
| 73 setter raises (DOMException); | 73 setter raises (DOMException); |
| 74 | 74 |
| 75 Node adoptNode(in [Optional=DefaultIsUndefined] Node sourc
e) | 75 Node adoptNode(in [Optional=DefaultIsUndefined] Node sourc
e) |
| 76 raises (DOMException); | 76 raises (DOMException); |
| 77 | 77 |
| 78 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 78 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GO
BJECT) && LANGUAGE_GOBJECT |
| 79 // document.documentURI was writable in DOM3 Core, but is read-only in D
OM4 | 79 // document.documentURI was writable in DOM3 Core, but is read-only in D
OM4 |
| 80 // (see http://www.w3.org/TR/2011/WD-dom-20110915/#document). We need to
keep | 80 // (see http://www.w3.org/TR/2011/WD-dom-20110915/#document). We need to
keep |
| 81 // the writable version around for Objective C clients, but are moving t
o | 81 // the writable version around for Objective C clients, but are moving t
o |
| 82 // read-only for other clients. | 82 // read-only for other clients. |
| 83 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString documentURI; | 83 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString documentURI; |
| 84 #else | 84 #else |
| 85 readonly attribute [TreatReturnedNullStringAs=Null] DOMString documentUR
I; | 85 readonly attribute [TreatReturnedNullStringAs=Null] DOMString documentUR
I; |
| 86 #endif | 86 #endif |
| 87 | 87 |
| 88 // DOM Level 2 Events (DocumentEvents interface) | 88 // DOM Level 2 Events (DocumentEvents interface) |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 // Page visibility API. | 374 // Page visibility API. |
| 375 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; | 375 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; |
| 376 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; | 376 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; |
| 377 | 377 |
| 378 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/ra
w-file/tip/csp-specification.dev.html#script-interfaces | 378 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/ra
w-file/tip/csp-specification.dev.html#script-interfaces |
| 379 readonly attribute [Conditional=CSP_NEXT] DOMSecurityPolicy SecurityPoli
cy; | 379 readonly attribute [Conditional=CSP_NEXT] DOMSecurityPolicy SecurityPoli
cy; |
| 380 | 380 |
| 381 }; | 381 }; |
| 382 | 382 |
| 383 } | 383 } |
| OLD | NEW |