Closed Bug 217602 Opened 21 years ago Closed 21 years ago

Not able to enable Personal/Bookmark Toolbar when opening new window via javascript

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 194889

People

(Reporter: kevin, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030827

When opening a new window via javascript, user cannot show/hide browser toolbars
 in new window.

This only happens when there are browser properties specified in the
'window.open' statement (i.e. 'menubar=yes').

Reproducible: Always

Steps to Reproduce:
1. Click this link to open new browser window via javascript: <a
href="javascript:void(window.open('http://www.mozilla.org','testWin','menubar=yes'));">test
link</a>

2. Try to show/hide one of the toolbars in the new window (View --> Show/Hide
--> Personal Toolbar)
Actual Results:  
Toolbar is not displayed.

Expected Results:  
Toolbar should be displayed.
Note the security error on the JS console:
Security Error: Content at http://bugzilla.mozilla.org/show_bug.cgi?id=217602
may not load data from http://www.mozilla.org/.
WFM on WinXP trunk 2003102804.
HJ: the security error should be there.

Reporter: please try again using a recent nightly build.
Retested using nightly build Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.6a) Gecko/20031030.  Problem still exists.
Attached file Testcase
Steps to reproduce:
1. click on test link, no navigation or bookmark toolbar is visible
2. unclick, click /view/toolbars/navigation-bookmark toolbar
3. Toolbars are not shown. 

If this is the intended behavior, then these options should be dimmed.
Component: Browser-General → XML
Summary: Personal Toolbar not visible when opening new window via javascript → Not able to enable Personal/Bookmark Toolbar when opening new window via javascript
Hey Kevin, you already reported this.

*** This bug has been marked as a duplicate of 194889 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Component: XML → XP Toolkit/Widgets
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: