| <!DOCTYPE html><!-- webkit-test-runner [ UnifiedPDFEnabled=true PDFPluginHUDEnabled=false ] --> | |
| <html> | |
| <script src="../../resources/ui-helper.js"></script> | |
| <script> | |
| function runTest() { | |
| let innerDocument = document.querySelector("iframe").contentDocument; | |
| let pluginElement = innerDocument.querySelector("embed"); | |
| if (window.testRunner) { | |
| testRunner.waitUntilDone(); | |
| window.internals.registerPDFTest(async () => { | |
| await UIHelper.renderingUpdate(); | |
| testRunner.notifyDone(); | |
| }, pluginElement); | |
| } | |
| } | |
| </script> | |
| <body> | |
| <iframe onload="runTest()" style="width: 100%; height: 100vh;" src="../resources/annotation-dropdown-second-option-selected.pdf"></iframe> | |
| </body> | |
| </html> |