| 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       function fortytwo() { | 9       function fortytwo() { | 
| 10       } | 10       } | 
| (...skipping 23 matching lines...) Expand all  Loading... | 
| 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-srpc" | 
| 44              width="0" height="0" src="issue55.nexe" /> | 44              width="0" height="0" nexe="issue55"> | 
|  | 45         <noembed> | 
|  | 46           Your browser does not appear to support Native Client. | 
|  | 47           Visit http://code.google.com/p/nativeclient/ to get started. | 
|  | 48         <noembed/> | 
|  | 49       </embed> | 
| 45     </p> | 50     </p> | 
| 46     <p> | 51     <p> | 
| 47       If the plug-in is working correctly, a click on the "Call fortytwo()" | 52       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 | 53       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 | 54       on the "Call helloworld()" button should open a popup dialog containing | 
| 50       <b>hello, world.</b>. | 55       <b>hello, world.</b>. | 
| 51     </p> | 56     </p> | 
| 52     <p> | 57     <p> | 
| 53       <b>Note:</b> For the purposes of contest issue #55, the actual expected | 58       <b>Note:</b> For the purposes of contest issue #55, the actual expected | 
| 54       result will be a "Method invocation failed" dialog when the | 59       result will be a "Method invocation failed" dialog when the | 
| 55       "Call helloworld()" button is clicked.  The browser should continue | 60       "Call helloworld()" button is clicked.  The browser should continue | 
| 56       to work properly after the dialog is closed.  The "Call fortytwo()" | 61       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. | 62       button is not connected to any code, and should do nothing when clicked. | 
| 58     </p> | 63     </p> | 
| 59   </body> | 64   </body> | 
| 60 </html> | 65 </html> | 
| OLD | NEW | 
|---|