Index: content/test/data/cross_site_document_request_target.html |
diff --git a/content/test/data/cross_site_document_request_target.html b/content/test/data/cross_site_document_request_target.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e965c23bc9bedd3e741752f37022cd84fa71d1bb |
--- /dev/null |
+++ b/content/test/data/cross_site_document_request_target.html |
@@ -0,0 +1,39 @@ |
+<html> |
+<!-- This page tests that the renderer process does not crash even the response |
Charlie Reis
2013/08/22 18:23:30
nit: Just move this text into the body of the page
dsjang
2013/08/22 19:05:55
Done.
|
+that it requested is blocked by SiteIsolationPolicy for various targets. This |
+page should be loaded on a domain other than bar.com to be different from the |
+requested resource here. --> |
+<head> |
+<!-- favicon --> |
+<link rel="icon" |
+ type="image/png" |
+ href="http://bar.com/files/site_isolation/valid.html"> |
+<!-- css --> |
+<link rel="stylesheet" type="text/css" href="http://bar.com/files/site_isolation/valid.html"> |
+<!-- script --> |
+<script language="javascript" src="http://bar.com/files/site_isolation/valid.html"></script> |
+</head> |
+<body> |
+<!-- image --> |
Charlie Reis
2013/08/22 18:23:30
nit: No need for the redundant HTML comment if you
dsjang
2013/08/22 19:05:55
Done.
|
+image:<img src="http://bar.com/files/site_isolation/valid.html"></img><br/> |
+ |
+<!-- font --> |
+font: |
+<style media="screen" type="text/css"> |
+@font-face { |
+ font-family: "myfont"; |
+ src: url("http://bar.com/files/site_isolation/valid.html") format('woff'); |
+} |
+</style><br/> |
+ |
+<!-- The renderer creates an iframe for a file with .html extension, so this |
+should be fixed later. --> |
Charlie Reis
2013/08/22 18:23:30
Can you clarify what "should be fixed" means?
dsjang
2013/08/22 19:05:55
Done.
|
+embed:<embed src="http://bar.com/files/site_isolation/valid.html"></embed><br/> |
+ |
+<!-- The renderer creates an iframe for a file with .html extension, so this |
+should be fixed later. --> |
+object:<object width="400" height="400" |
+data="http://bar.com/files/site_isolation/valid.html"></object><br/> |
+ |
+</body> |
+</html> |