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

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
Index: tests/ppapi_bad/ppapi_bad.html
===================================================================
--- tests/ppapi_bad/ppapi_bad.html (revision 4887)
+++ tests/ppapi_bad/ppapi_bad.html (working copy)
@@ -28,6 +28,35 @@
<embed id="naclModule"
name="naclModule"
width=100 height=20
+ src="http://www.google.com/crossorigin.nexe"
+ style="background-color:gray"
+ type="application/pdf" />
polina 2011/04/15 22:52:11 so this one fails because it's not the right kind
+ <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 +71,29 @@
<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"
+ 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" />
polina 2011/04/15 22:52:11 you had a no-type case above
+ <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" />
« src/trusted/plugin/ppapi/plugin_ppapi.h ('K') | « 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