Closed Bug 212444 Opened 23 years ago Closed 23 years ago

Javascript controls don't work, New window is open even when turned off in preferences

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: xspuente, Assigned: rogerl)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ast-ES; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ast-ES; rv:1.4) Gecko/20030624 A new window is opened in a javascript page even when I have set in preferences not to allow open new windows. These controls were working fine in this web page (and others) with 1.3 until today that I changed to 1.4. It looks that the Javascript preferences for the browser do nothing in terms of Open new windows. I have Javascript enabled for the browser, but all options turned off, and pop-up windows also to not allow them to open. Reproducible: Always Steps to Reproduce: 1. Visit the following URL: http://www.ensembl.org/Rattus_norvegicus/exportview 2. Select the "Bases from:" and type from: "1" to "10000" 3. Click on "Export" button at the bottom of the page. Actual Results: A new window opens with the exported sequence. Expected Results: The exported sequence should appear in the same window I was working (as Mozilla 1-1.3 were doing so far when Javascript Open new window was off in the preferences panel) I think that's the component that is wrong, but might be is another group.
That button does not use javascript to open the window; it just submits with a target of "results" (a named window that we create). We don't have a preference to override that that is settable via the preference dialog.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Actually the |document.export_cfg.target=target;| is commented out (because line feeds should be ignored in CDATA attributes), but there may be a new quirk for parsing it intentionally wrong. To disable the new window, set |browser.block.target_new_window| to true in about:config.
Marking Verified. xspuente@asturies.org: thank you for this report. Please try out about:config in the URL bar and see if that helps. Here are some links about "hidden" preferences in Mozilla: http://www.geocities.com/pratiksolanki/ http://www.mozilla.org/unix/customizing.html
Status: RESOLVED → VERIFIED
Thanks, changing |browser.block.target_new_window| to true resolved the problem. However, I think it should be set as true by default in Mozilla, as it was for Mozilla 1.0 to Mozilla 1.3.
You need to log in before you can comment on or make changes to this bug.