1 function doTest(childRegExp)
4 shouldThrow("re('a')");
5 shouldBe("re.exec('a')", "['a']");
8 var iframe = document.createElement('iframe');
9 document.body.appendChild(iframe);
10 iframe.contentDocument.write('<script>top.doTest(/a/)</script>');
11 iframe.contentDocument.close();
12 document.write('DONE');