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

Side by Side Diff: tests/contest_issues/issue55.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/issue54.html ('k') | tests/contest_issues/issue57.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 } 10 }
(...skipping 22 matching lines...) Expand all
33 </head> 33 </head>
34 <body> 34 <body>
35 <h1>Native Client SRPC Simple Plug-in</h1> 35 <h1>Native Client SRPC Simple Plug-in</h1>
36 <p> 36 <p>
37 <button type="button" onclick="fortytwo()" id="ftbuttonobj"> 37 <button type="button" onclick="fortytwo()" id="ftbuttonobj">
38 Call fortytwo() 38 Call fortytwo()
39 </button> 39 </button>
40 <button type="button" onclick="helloworld()" id="hwbuttonobj"> 40 <button type="button" onclick="helloworld()" id="hwbuttonobj">
41 Call helloworld() 41 Call helloworld()
42 </button> 42 </button>
43 <embed id="pluginobj" type="application/x-nacl-srpc" 43 <embed id="pluginobj" type="application/x-nacl"
44 width="0" height="0" src="issue55.nexe" /> 44 width="0" height="0" src="issue55.nexe" />
45 </p> 45 </p>
46 <p> 46 <p>
47 If the plug-in is working correctly, a click on the "Call fortytwo()" 47 If the plug-in is working correctly, a click on the "Call fortytwo()"
48 button should open a popup dialog containing <b>42</b> and a click 48 button should open a popup dialog containing <b>42</b> and a click
49 on the "Call helloworld()" button should open a popup dialog containing 49 on the "Call helloworld()" button should open a popup dialog containing
50 <b>hello, world.</b>. 50 <b>hello, world.</b>.
51 </p> 51 </p>
52 <p> 52 <p>
53 <b>Note:</b> For the purposes of contest issue #55, the actual expected 53 <b>Note:</b> For the purposes of contest issue #55, the actual expected
54 result will be a "Method invocation failed" dialog when the 54 result will be a "Method invocation failed" dialog when the
55 "Call helloworld()" button is clicked. The browser should continue 55 "Call helloworld()" button is clicked. The browser should continue
56 to work properly after the dialog is closed. The "Call fortytwo()" 56 to work properly after the dialog is closed. The "Call fortytwo()"
57 button is not connected to any code, and should do nothing when clicked. 57 button is not connected to any code, and should do nothing when clicked.
58 </p> 58 </p>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « tests/contest_issues/issue54.html ('k') | tests/contest_issues/issue57.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698