| Index: third_party/WebCore/dom/Document.idl
|
| diff --git a/third_party/WebCore/dom/Document.idl b/third_party/WebCore/dom/Document.idl
|
| index 91334be82ed9ff741283a8a6395b54832071fccf..7c1c4839c2928702e7320817af74d6346c7430e2 100644
|
| --- a/third_party/WebCore/dom/Document.idl
|
| +++ b/third_party/WebCore/dom/Document.idl
|
| @@ -75,7 +75,15 @@ module core {
|
| Node adoptNode(in [Optional=DefaultIsUndefined] Node source)
|
| raises (DOMException);
|
|
|
| +#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
|
| + // document.documentURI was writable in DOM3 Core, but is read-only in DOM4
|
| + // (see http://www.w3.org/TR/2011/WD-dom-20110915/#document). We need to keep
|
| + // the writable version around for Objective C clients, but are moving to
|
| + // read-only for other clients.
|
| attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString documentURI;
|
| +#else
|
| + readonly attribute [TreatReturnedNullStringAs=Null] DOMString documentURI;
|
| +#endif
|
|
|
| // DOM Level 2 Events (DocumentEvents interface)
|
|
|
| @@ -257,6 +265,9 @@ module core {
|
| [V8EnabledAtRuntime] void webkitExitFullscreen();
|
| #endif
|
|
|
| + [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] void webkitExitPointerLock();
|
| + readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] Element webkitPointerLockElement;
|
| +
|
| #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS
|
| WebKitNamedFlow webkitGetFlowByName(in DOMString name);
|
| #endif
|
| @@ -334,8 +345,8 @@ module core {
|
| attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchcancel;
|
| attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
|
| attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
|
| - attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebkitpointerlockchange;
|
| - attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebkitpointerlockerror;
|
| + attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockchange;
|
| + attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockerror;
|
| #endif
|
|
|
| #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
|
|
|