3 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
4 <p>Test for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=7656">bug 7656<a/>:
5 Query string always appended to Flash URLs, instead of being replaced</p>
7 if (window.layoutTestController) {
8 layoutTestController.dumpAsText();
9 layoutTestController.waitUntilDone();
14 loc = window.location.href;
16 if (loc.indexOf('?') == -1) {
17 window.location.href = loc + "?1";
20 if (loc.substring(loc.indexOf('?'), loc.length) == "?1") {
21 plg.getURL("?2", "_self");
23 query = loc.substring(loc.indexOf('?'), loc.length);
24 document.write(query == "?2" ?
25 "SUCCESS" : "FAILURE: " + query);
27 if (window.layoutTestController)
28 layoutTestController.notifyDone();
32 alert("Exception: " + ex.description);