| <html> | |
| <head> | |
| <style> | |
| table, th, td { | |
| border: 1px solid black; | |
| padding: 10px; | |
| } | |
| p { | |
| font-size: 36px; | |
| } | |
| </style> | |
| <script> | |
| function imageError(event) | |
| { | |
| window.webkit.messageHandlers.testHandler.postMessage('Error loading PDF'); | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <h1>Lockdown Mode - PDF Test</h1> | |
| <table> | |
| <tr> | |
| <th>Test Title</th> | |
| <th>Result</th> | |
| </tr> | |
| <tr> | |
| <td>PDF As Source Of Image Tag</td> | |
| <td><img onerror="imageError(event)" width="150px" height="100px" src="webkit-logo.pdf"></td> | |
| </tr> | |
| </table> | |
| </body> | |
| </html> |