OLD | NEW |
1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
ing a frame with origin "http://127.0.0.1:8000". The frame requesting access set
"document.domain" to "127.0.0.1", but the frame being accessed did not. Both mu
st set "document.domain" to the same value to allow access. | |
2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
ing a frame with origin "http://127.0.0.1:8000". The frame requesting access set
"document.domain" to "127.0.0.1", but the frame being accessed did not. Both mu
st set "document.domain" to the same value to allow access. | |
3 Test that a child frame can't define a function and the use it to access parent
properties after document.domain write blocks the access. | 1 Test that a child frame can't define a function and the use it to access parent
properties after document.domain write blocks the access. |
4 | 2 |
5 | 3 |
6 | 4 |
7 -------- | 5 -------- |
8 Frame: '<!--framePath //<!--frame0-->-->' | 6 Frame: '<!--framePath //<!--frame0-->-->' |
9 -------- | 7 -------- |
10 PASS: canGet('parentWindow.location.href') should be 'false' and is. | 8 PASS: canGet('parentWindow.location.href') should be 'false' and is. |
11 PASS: accessThrowsException('parentWindow.location.href') should be 'true' and i
s. | 9 PASS: accessThrowsException('parentWindow.location.href') should be 'true' and i
s. |
12 | 10 |
OLD | NEW |