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

Side by Side Diff: tests/contest_issues/issue52.html

Issue 6452010: Remove the x-ppapi-nacl-srpc and x-nacl-srpc mime types in favor of the singl... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « tests/contest_issues/issue49.html ('k') | tests/contest_issues/issue53.html » ('j') | 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 2008 Google Inc. All rights reserved. --> 4 <!-- Copyright 2008 Google Inc. All rights reserved. -->
5 <head> 5 <head>
6 <title>SRPC Simple Plug-in</title> 6 <title>SRPC Simple Plug-in</title>
7 <script type="text/javascript"> 7 <script type="text/javascript">
8 // fortytwo is invoked when its button is pressed. 8 // fortytwo is invoked when its button is pressed.
9 function fortytwo() { 9 function fortytwo() {
10 try { 10 try {
(...skipping 14 matching lines...) Expand all
25 </head> 25 </head>
26 <body> 26 <body>
27 <h1>Native Client SRPC Simple Plug-in</h1> 27 <h1>Native Client SRPC Simple Plug-in</h1>
28 <p> 28 <p>
29 <button type="button" onclick="fortytwo()" id="ftbuttonobj"> 29 <button type="button" onclick="fortytwo()" id="ftbuttonobj">
30 Call fortytwo() 30 Call fortytwo()
31 </button> 31 </button>
32 <button type="button" onclick="helloworld()" id="hwbuttonobj"> 32 <button type="button" onclick="helloworld()" id="hwbuttonobj">
33 Call helloworld() 33 Call helloworld()
34 </button> 34 </button>
35 <embed id="pluginobj" type="application/x-nacl-srpc" 35 <embed id="pluginobj" type="application/x-nacl"
36 width="0" height="0" src="issue52.nexe" /> 36 width="0" height="0" src="issue52.nexe" />
37 </p> 37 </p>
38 <p> 38 <p>
39 If the plug-in is working correctly, a click on the "Call fortytwo()" 39 If the plug-in is working correctly, a click on the "Call fortytwo()"
40 button should open a popup dialog containing <b>42</b> and a click 40 button should open a popup dialog containing <b>42</b> and a click
41 on the "Call helloworld()" button should open a popup dialog containing 41 on the "Call helloworld()" button should open a popup dialog containing
42 <b>hello, world.</b>. 42 <b>hello, world.</b>.
43 </p> 43 </p>
44 <p> 44 <p>
45 <b>Note:</b> For the purposes of contest issue #52, the actual expected 45 <b>Note:</b> For the purposes of contest issue #52, the actual expected
46 result will be a "Method invocation failed" dialog when the 46 result will be a "Method invocation failed" dialog when the
47 "Call helloworld()" button is clicked. The browser should continue to 47 "Call helloworld()" button is clicked. The browser should continue to
48 work properly after the dialog is closed. 48 work properly after the dialog is closed.
49 </p> 49 </p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « tests/contest_issues/issue49.html ('k') | tests/contest_issues/issue53.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698