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

Unified Diff: third_party/WebKit/Source/SpecMapping.md

Issue 2805683005: Merge SecurityOrigin::canAccessCheckSuborigins into canAccess (Closed)
Patch Set: Created 3 years, 8 months 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 | « no previous file | third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/SpecMapping.md
diff --git a/third_party/WebKit/Source/SpecMapping.md b/third_party/WebKit/Source/SpecMapping.md
index ac54be9e661d7c29e138c8dc7473e6df9c13b0fd..e2175623ea26fb35540a26f5202b6cd8c9e23cfe 100644
--- a/third_party/WebKit/Source/SpecMapping.md
+++ b/third_party/WebKit/Source/SpecMapping.md
@@ -28,9 +28,9 @@ domain](https://html.spec.whatwg.org/multipage/browsers.html#same-origin-domain)
using `SecurityOrigin::isSameSchemeHostPort`.
The [Suborigins spec](https://w3c.github.io/webappsec-suborigins/) extends
-HTML's definition of origins. To check for same-origin and same-origin domain
-use `SecurityOrigin::canAccessCheckSuborigins` and
-`SecurityOrigin::isSameSchemeHostPortAndSuborigin`.
+HTML's definition of origins. To check for same-origin corresponds to
+`SecurityOrigin::isSameSchemeHostPortAndSuborigin` while the check for same-origin
+domain already takes the suborigin into account.
### [Window object](https://html.spec.whatwg.org/#window)
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698