Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.553 kb
function runTest() {
var o = { };
showModalDialog("data:text/html,<scr" + "ipt>dialogArguments['result'] = 'PASS'; window.close() </scr" + "ipt>", o);
if (o.result == 'PASS')
document.getElementById('result').innerHTML = 'SUCCESS';
This tests that modal dialog arguments get passed around correctly. Click the button below to test. The text "SUCCESS" will be shown below if the test was successful.
<button onclick="runTest()">Click Me!</button>
<div id="result">
Jump to Line
Something went wrong with that request. Please try again.