|
Don't set document.domain to an IP address fragment.
Remove duplicated logic in Document.cpp and force the decision-making into
the existing weborigin/ code which makes the decision properly.
Adds a setting to permit tests that rely on 0.0.1 being a super-domain of 127.0.0.1.
BUG= 312489
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161101
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+58 lines, -92 lines) |
Patch |
 |
M |
LayoutTests/http/tests/security/aboutBlank/security-context-alias.html
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/calling-versus-current.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/create-document-change-domain.html
|
View
|
1
2
|
1 chunk |
+3 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/create-document-change-domain-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/document-clone-node-change-domain.html
|
View
|
1
2
|
1 chunk |
+3 lines, -16 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/document-clone-node-change-domain-expected.txt
|
View
|
1
2
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/postMessage/origin-unaffected-by-document-domain.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/workers/worker-document-domain-security.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/xmlhttprequest/document-domain-set.html
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -32 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/Settings.in
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/weborigin/OriginAccessEntry.h
|
View
|
1
2
3
4
5
|
1 chunk |
+16 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/weborigin/OriginAccessEntry.cpp
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/weborigin/SecurityPolicy.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|