Chromium Code Reviews| 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..cd50d1926d8cdf34a95ace02ee1237d618631d06 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 |
| @@ -203,6 +206,9 @@ interface Document : Node { |
| [MeasureAs=PrefixedPageVisibility, ImplementedAs=visibilityState] readonly attribute DOMString webkitVisibilityState; |
| [MeasureAs=PrefixedPageVisibility, ImplementedAs=hidden] readonly attribute boolean webkitHidden; |
| + // https://mikewest.github.io/cors-rfc1918/#feature-detect |
|
philipj_slow
2016/03/04 04:35:08
Can you move this up to after Page Visibility and
Mike West
2016/03/04 08:58:21
Done and done.
|
| + [RuntimeEnabled=CorsRFC1918, ImplementedAs=addressSpaceAsString] readonly attribute AddressSpace addressSpace; |
| + |
| // Event handler attributes |
| attribute EventHandler onbeforecopy; |
| attribute EventHandler onbeforecut; |