| Index: third_party/WebKit/Source/core/dom/Document.idl
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl
|
| index ceec172c6788fd93245eaf66472d458b5d728cab..0f309aadd9b3d9735858ecd95f28bf3961a02e47 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.idl
|
| +++ b/third_party/WebKit/Source/core/dom/Document.idl
|
| @@ -26,6 +26,9 @@ enum DocumentReadyState { "loading", "interactive", "complete" };
|
| // http://www.w3.org/TR/page-visibility/#VisibilityState
|
| enum VisibilityState { "hidden", "visible", "prerender", "unloaded" };
|
|
|
| +// https://mikewest.github.io/cors-rfc1918/#feature-detect
|
| +enum AddressSpace { "local", "private", "public" };
|
| +
|
| // https://dom.spec.whatwg.org/#interface-document
|
|
|
| // FIXME: Document should have a constructor. crbug.com/238234
|
| @@ -194,6 +197,10 @@ interface Document : Node {
|
| readonly attribute boolean hidden;
|
| readonly attribute VisibilityState visibilityState;
|
|
|
| + // CORS and RFC1918
|
| + // https://mikewest.github.io/cors-rfc1918/#feature-detect
|
| + [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceForBindings] readonly attribute AddressSpace addressSpace;
|
| +
|
| // Non-standard APIs
|
| [MeasureAs=DocumentCaretRangeFromPoint] Range caretRangeFromPoint([Default=Undefined] optional long x, [Default=Undefined] optional long y);
|
|
|
|
|