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

Side by Side Diff: tests/contest_issues/issue63.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 9
10 function testobj() 10 function testobj()
(...skipping 30 matching lines...) Expand all
41 <body> 41 <body>
42 <h1>Native Client SRPC Simple Plug-in</h1> 42 <h1>Native Client SRPC Simple Plug-in</h1>
43 <p> 43 <p>
44 <button type="button" onclick="fortytwo()" id="ftbuttonobj"> 44 <button type="button" onclick="fortytwo()" id="ftbuttonobj">
45 Call fortytwo() 45 Call fortytwo()
46 </button> 46 </button>
47 <button type="button" onclick="helloworld()" id="hwbuttonobj"> 47 <button type="button" onclick="helloworld()" id="hwbuttonobj">
48 Call helloworld() 48 Call helloworld()
49 </button> 49 </button>
50 <embed id="pluginobj" type="application/x-nacl-srpc" 50 <embed id="pluginobj" type="application/x-nacl-srpc"
51 width="0" height="0" src="issue63.nexe" /> 51 width="0" height="0" nexe="issue63">
52 <noembed>
53 Your browser does not appear to support Native Client.
54 Visit http://code.google.com/p/nativeclient/ to get started.
55 <noembed/>
56 </embed>
52 </p> 57 </p>
53 <p> 58 <p>
54 If the plug-in is working correctly, a click on the "Call fortytwo()" 59 If the plug-in is working correctly, a click on the "Call fortytwo()"
55 button should open a popup dialog containing <b>42</b> and a click 60 button should open a popup dialog containing <b>42</b> and a click
56 on the "Call helloworld()" button should open a popup dialog containing 61 on the "Call helloworld()" button should open a popup dialog containing
57 <b>hello, world.</b>. 62 <b>hello, world.</b>.
58 </p> 63 </p>
59 <p> 64 <p>
60 <b>Note:</b> For the purposes of contest issue #63, the actual expected 65 <b>Note:</b> For the purposes of contest issue #63, the actual expected
61 result will be a "Method invocation failed" dialog when either the 66 result will be a "Method invocation failed" dialog when either the
62 "Call fortytwo()" button or the "Call helloworld()" button is clicked. 67 "Call fortytwo()" button or the "Call helloworld()" button is clicked.
63 The browser should continue to work properly after the dialog is closed. 68 The browser should continue to work properly after the dialog is closed.
64 </p> 69 </p>
65 </body> 70 </body>
66 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698