| OLD | NEW |
| 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 29 matching lines...) Expand all Loading... |
| 40 </head> | 40 </head> |
| 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" |
| 51 width="0" height="0" src="issue63.nexe" /> | 51 width="0" height="0" src="issue63.nexe" /> |
| 52 </p> | 52 </p> |
| 53 <p> | 53 <p> |
| 54 If the plug-in is working correctly, a click on the "Call fortytwo()" | 54 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 | 55 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 | 56 on the "Call helloworld()" button should open a popup dialog containing |
| 57 <b>hello, world.</b>. | 57 <b>hello, world.</b>. |
| 58 </p> | 58 </p> |
| 59 <p> | 59 <p> |
| 60 <b>Note:</b> For the purposes of contest issue #63, the actual expected | 60 <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 | 61 result will be a "Method invocation failed" dialog when either the |
| 62 "Call fortytwo()" button or the "Call helloworld()" button is clicked. | 62 "Call fortytwo()" button or the "Call helloworld()" button is clicked. |
| 63 The browser should continue to work properly after the dialog is closed. | 63 The browser should continue to work properly after the dialog is closed. |
| 64 </p> | 64 </p> |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |