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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « src/trusted/plugin/ppapi/plugin_ppapi.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html> 3 <html>
4 <!-- Copyright 2011 Google Inc. All rights reserved. --> 4 <!-- Copyright 2011 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> 6 <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
7 <META HTTP-EQUIV="Expires" CONTENT="-1" /> 7 <META HTTP-EQUIV="Expires" CONTENT="-1" />
8 </head> 8 </head>
9 <h1>Native Client: Bad Nexes</h1> 9 <h1>Native Client: Bad Nexes</h1>
10 <body> 10 <body>
11 The following error messages should appear on the JavaScript console.<br> 11 The following error messages should appear on the JavaScript console.<br>
12 12
13 <br>NaCl module load failed: not an ELF executable: bad magic number.<br> 13 <br>NaCl module load failed: not an ELF executable: bad magic number.<br>
14 <embed id="naclModule" 14 <embed id="naclModule"
15 name="naclModule" 15 name="naclModule"
16 width=100 height=20 16 width=100 height=20
17 src="ppapi_bad.html" 17 src="ppapi_bad.html"
18 style="background-color:gray" 18 style="background-color:gray"
19 type="application/x-nacl" /> 19 type="application/x-nacl" />
20 <br>NaCl module load failed: could not load url.<br> 20 <br>NaCl module load failed: could not load url.<br>
21 <embed id="naclModule" 21 <embed id="naclModule"
22 name="naclModule" 22 name="naclModule"
23 width=100 height=20 23 width=100 height=20
24 src="http://www.google.com/crossorigin.nexe" 24 src="http://www.google.com/crossorigin.nexe"
25 style="background-color:gray" 25 style="background-color:gray"
26 type="application/x-nacl" /> 26 type="application/x-nacl" />
27 <br>NaCl module load failed: could not load url.<br> 27 <br>NaCl module load failed: could not load url.<br>
28 <!-- This load would have succeeded if the NEXE was from a chrome-extension
29 URL and NaCl had been registered as handling the PDF MIME type using the
30 nacl_modules attribute in a Chrome extension manifest.)-->
31 <embed id="naclModule"
32 name="naclModule"
33 width=100 height=20
34 src="http://www.google.com/crossorigin.nexe"
35 style="background-color:gray"
36 type="application/pdf" />
37 <br>NaCl module load failed: could not load url.<br>
38 <embed id="naclModule"
39 name="naclModule"
40 width=100 height=20
41 src="http://www.google.com/crossorigin.nexe"
42 style="background-color:gray"
43 type="application/pdf"
44 type="application/x-nacl" />
45 <br>NaCl module load failed: could not load url.<br>
46 <embed id="naclModule"
47 name="naclModule"
48 width=100 height=20
49 src="http://www.google.com/crossorigin.nexe"
50 style="background-color:gray"
51 type="application/x-nacl"
52 type="application/pdf" />
53 <br>NaCl module load failed: could not load url.<br>
54 <embed id="naclModule"
55 name="naclModule"
56 width=100 height=20
57 src="http://www.google.com/crossorigin.nexe"
58 style="background-color:gray" />
59 <br>NaCl module load failed: could not load url.<br>
28 <embed id="naclModule" 60 <embed id="naclModule"
29 name="naclModule" 61 name="naclModule"
30 width=100 height=20 62 width=100 height=20
31 src="doesnotexist.nexe" 63 src="doesnotexist.nexe"
32 style="background-color:gray" 64 style="background-color:gray"
33 type="application/x-nacl" /> 65 type="application/x-nacl" />
34 <br>NaCl module load failed: could not load manifest url.<br> 66 <br>NaCl module load failed: could not load manifest url.<br>
35 <embed id="naclModule" 67 <embed id="naclModule"
36 name="naclModule" 68 name="naclModule"
37 width=100 height=20 69 width=100 height=20
38 nacl="http://www.google.com/crossorigin.manifest" 70 nacl="http://www.google.com/crossorigin.manifest"
39 style="background-color:gray" 71 style="background-color:gray"
40 type="application/x-nacl" /> 72 type="application/x-nacl" />
41 <br>NaCl module load failed: could not load manifest url.<br> 73 <br>NaCl module load failed: could not load manifest url.<br>
42 <embed id="naclModule" 74 <embed id="naclModule"
43 name="naclModule" 75 name="naclModule"
44 width=100 height=20 76 width=100 height=20
77 nacl="http://www.google.com/crossorigin.manifest"
78 style="background-color:gray"
79 type="application/pdf" />
80 <br>NaCl module load failed: could not load manifest url.<br>
81 <embed id="naclModule"
82 name="naclModule"
83 width=100 height=20
84 nacl="http://www.google.com/crossorigin.manifest"
85 style="background-color:gray" />
86 <br>NaCl module load failed: could not load manifest url.<br>
87 <embed id="naclModule"
88 name="naclModule"
89 width=100 height=20
90 nacl="http://www.google.com/crossorigin.manifest"
91 style="background-color:gray"
92 type="application/pdf"
93 type="application/x-nacl" />
94 <br>NaCl module load failed: could not load manifest url.<br>
95 <embed id="naclModule"
96 name="naclModule"
97 width=100 height=20
98 nacl="http://www.google.com/crossorigin.manifest"
99 style="background-color:gray"
100 type="application/x-nacl"
101 type="application/pdf" />
102 <br>NaCl module load failed: could not load manifest url.<br>
103 <embed id="naclModule"
104 name="naclModule"
105 width=100 height=20
45 nacl="doesnotexist.manifest" 106 nacl="doesnotexist.manifest"
46 style="background-color:gray" 107 style="background-color:gray"
47 type="application/x-nacl" /> 108 type="application/x-nacl" />
48 <br>NaCl module load failed: could not read manifest file.<br> 109 <br>NaCl module load failed: could not read manifest file.<br>
49 <embed id="naclModule" 110 <embed id="naclModule"
50 name="naclModule" 111 name="naclModule"
51 width=100 height=20 112 width=100 height=20
52 nacl="ppapi_bad.html" 113 nacl="ppapi_bad.html"
53 style="background-color:gray" 114 style="background-color:gray"
54 type="application/x-nacl" /> 115 type="application/x-nacl" />
55 <br>NaCl module proxy failed: could not initialize module.<br> 116 <br>NaCl module proxy failed: could not initialize module.<br>
56 <embed id="naclModule" 117 <embed id="naclModule"
57 name="naclModule" 118 name="naclModule"
58 width=100 height=20 119 width=100 height=20
59 src="ppapi_bad.nexe" 120 src="ppapi_bad.nexe"
60 style="background-color:gray" 121 style="background-color:gray"
61 type="application/x-nacl" /> 122 type="application/x-nacl" />
62 <br><br> 123 <br><br>
63 </body> 124 </body>
64 </html> 125 </html>
OLDNEW
« 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