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

Unified Diff: tests/ppapi_bad/ppapi_bad.html

Issue 6813070: Add cross-origin loading of NEXEs for MIME type handlers (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 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 | « src/trusted/plugin/ppapi/plugin_ppapi.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ppapi_bad/ppapi_bad.html
===================================================================
--- tests/ppapi_bad/ppapi_bad.html (revision 4887)
+++ tests/ppapi_bad/ppapi_bad.html (working copy)
@@ -25,9 +25,41 @@
style="background-color:gray"
type="application/x-nacl" />
<br>NaCl module load failed: could not load url.<br>
+ <!-- This load would have succeeded if the NEXE was from a chrome-extension
+ URL and NaCl had been registered as handling the PDF MIME type using the
+ nacl_modules attribute in a Chrome extension manifest.)-->
<embed id="naclModule"
name="naclModule"
width=100 height=20
+ src="http://www.google.com/crossorigin.nexe"
+ style="background-color:gray"
+ type="application/pdf" />
+ <br>NaCl module load failed: could not load url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ src="http://www.google.com/crossorigin.nexe"
+ style="background-color:gray"
+ type="application/pdf"
+ type="application/x-nacl" />
+ <br>NaCl module load failed: could not load url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ src="http://www.google.com/crossorigin.nexe"
+ style="background-color:gray"
+ type="application/x-nacl"
+ type="application/pdf" />
+ <br>NaCl module load failed: could not load url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ src="http://www.google.com/crossorigin.nexe"
+ style="background-color:gray" />
+ <br>NaCl module load failed: could not load url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
src="doesnotexist.nexe"
style="background-color:gray"
type="application/x-nacl" />
@@ -42,6 +74,35 @@
<embed id="naclModule"
name="naclModule"
width=100 height=20
+ nacl="http://www.google.com/crossorigin.manifest"
+ style="background-color:gray"
+ type="application/pdf" />
+ <br>NaCl module load failed: could not load manifest url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ nacl="http://www.google.com/crossorigin.manifest"
+ style="background-color:gray" />
+ <br>NaCl module load failed: could not load manifest url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ nacl="http://www.google.com/crossorigin.manifest"
+ style="background-color:gray"
+ type="application/pdf"
+ type="application/x-nacl" />
+ <br>NaCl module load failed: could not load manifest url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
+ nacl="http://www.google.com/crossorigin.manifest"
+ style="background-color:gray"
+ type="application/x-nacl"
+ type="application/pdf" />
+ <br>NaCl module load failed: could not load manifest url.<br>
+ <embed id="naclModule"
+ name="naclModule"
+ width=100 height=20
nacl="doesnotexist.manifest"
style="background-color:gray"
type="application/x-nacl" />
« no previous file with comments | « src/trusted/plugin/ppapi/plugin_ppapi.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698