Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
|
Mike West
2015/05/17 08:40:48
Nit: doctype.
TheJH
2015/05/17 14:35:19
Hm, ok, added one to both HTML documents. (Not one
| |
| 2 <head> | |
| 3 <script> | |
| 4 testRunner.dumpAsText(); | |
|
Mike West
2015/05/17 08:40:48
Rather than setting these manually, please convert
TheJH
2015/05/17 14:35:19
Note that I need to use relative URLs because I'm
| |
| 5 testRunner.setAllowUniversalAccessFromFileURLs(false); | |
| 6 testRunner.setAllowFileAccessFromFileURLs(false); | |
|
Mike West
2015/05/17 08:40:48
These default to `false`, don't they? Why do you n
TheJH
2015/05/17 14:35:19
See ./content/shell/common/test_runner/test_prefer
| |
| 7 </script> | |
| 8 </head> | |
| 9 <body> | |
| 10 <iframe src="resources/cannot-read-self-from-file.html"></iframe> | |
|
Mike West
2015/05/17 08:40:48
Why do this work in an `<iframe>`? Wouldn't the re
TheJH
2015/05/17 14:35:19
As far as I understand, I need to create a new ori
| |
| 11 Documents loaded from file: shouldn't be able to access themselves via XHR. | |
| 12 </body> | |
| 13 </html> | |
| OLD | NEW |