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

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

Issue 1092005: Issue 1092005 (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: Created 10 years, 9 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
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 15 matching lines...) Expand all
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-srpc"
36 width="0" height="0" src="issue52.nexe" /> 36 width="0" height="0" nexe="issue52">
37 <noembed>
38 Your browser does not appear to support Native Client.
39 Visit http://code.google.com/p/nativeclient/ to get started.
40 <noembed/>
41 </embed>
37 </p> 42 </p>
38 <p> 43 <p>
39 If the plug-in is working correctly, a click on the "Call fortytwo()" 44 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 45 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 46 on the "Call helloworld()" button should open a popup dialog containing
42 <b>hello, world.</b>. 47 <b>hello, world.</b>.
43 </p> 48 </p>
44 <p> 49 <p>
45 <b>Note:</b> For the purposes of contest issue #52, the actual expected 50 <b>Note:</b> For the purposes of contest issue #52, the actual expected
46 result will be a "Method invocation failed" dialog when the 51 result will be a "Method invocation failed" dialog when the
47 "Call helloworld()" button is clicked. The browser should continue to 52 "Call helloworld()" button is clicked. The browser should continue to
48 work properly after the dialog is closed. 53 work properly after the dialog is closed.
49 </p> 54 </p>
50 </body> 55 </body>
51 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698