%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<!DOCTYPE html> <html> <head> <title>WebIDL 2 Checker</title> <script src='../lib/webidl2.js'></script> <script> let parserResult = undefined; function formatParserOutput() { const outputEl = document.getElementById('webidl-checker-output'); if (parserResult) { const prettyPrintEl = document.getElementById('pretty-print'); outputEl.innerText = JSON.stringify(parserResult, null, prettyPrintEl.checked ? 2 : null); } else { outputEl.innerText = ''; } } function checkWebIDL(textToCheck) { const validation = document.getElementById('webidl-checker-validation'); parserResult = null; try { parserResult = WebIDL2.parse(textToCheck); validation.innerText = 'WebIDL parsed successfully!'; } catch (e) { validation.innerText = 'Exception while parsing WebIDL. See JavaScript console for more details.\n\n' + e.toString(); // Pass it along to the JavaScript console. throw e; } finally { formatParserOutput(); } } </script> <style> textarea { font-family: monospace; } </style> </head> <body> <h2>WebIDL Checker</h2> <p>This is an online checker for WebIDL built on the <a href="https://github.com/w3c/webidl2.js">webidl2.js</a> project.</p> <p>Enter your WebIDL to check below:</p> <textarea id='webidl-to-check' rows='20' cols='80'></textarea> <br> <input type='button' value='Check WebIDL' onclick='checkWebIDL(document.getElementById("webidl-to-check").value)'> <p>Validation results:</p> <textarea id='webidl-checker-validation' rows='20' cols='80'></textarea> <p>Parser output:</p> <textarea id='webidl-checker-output' rows='20' cols='80'></textarea> <br> <input type='checkbox' id='pretty-print' checked='true' onchange='formatParserOutput()'>Pretty Print </body> </html>