Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: Source/core/dom/Document.idl

Issue 758913002: Implement the 'document.origin' accessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 2868e3e02a999b0c7b08f17ca306aae5125f33c5..f9f616dfbaf1adbdb913cffcf41dcd4ca4427dba 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -57,6 +57,7 @@ interface Document : Node {
[RaisesException, CustomElementCallbacks, TypeChecking=Interface] Node adoptNode(Node node);
[ImplementedAs=url] readonly attribute DOMString? documentURI;
+ readonly attribute DOMString? origin;
mlamouri (slow - plz ping) 2014/11/25 11:02:13 Mozilla patch and DOM spec says |readonly attribut
Mike West 2014/11/25 11:26:16 Nope. This was a mistake on my part; we can return
// DOM Level 2 Events (DocumentEvents interface)
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698