diff -r 000000000000 -r 6474c204b198 dom/browser-element/mochitest/browserElement_PromptCheck.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/browser-element/mochitest/browserElement_PromptCheck.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,59 @@ +/* Any copyright is dedicated to the public domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +// Test that alertCheck (i.e., alert with the opportunity to opt out of future +// alerts), promptCheck, and confirmCheck work. We do this by spamming +// alerts/prompts/confirms from inside an