Closed Bug 452623 Opened 16 years ago Closed 16 years ago

TM: URL cannot be copied from the Location Bar in new window launched via JavaScript

Categories

(Core :: JavaScript Engine, defect, P5)

All
macOS
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jforeman, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/20080828020913 Minefield/3.1a2pre
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1a2pre) Gecko/20080828020913 Minefield/3.1a2pre

On 3.1a2pre, if I have jit enabled, I cannot copy the URL from the Location Bar of a window that has been popped up via JavaScript. The offending page is:

http://www.compusa.com/applications/SearchTools/item-details.asp?EdpNo=3869826&CatId=233 

and it uses the following URL to pop up the new window:

javascript:TG_openBRWindow('http://static.compusa.com/html/upsruntime.html','CloseUp','toolbar=no,menubar=no,scrollbars=yes,width=500,height=575')

Other content within the pop-up window can be copied, but the URL cannot.

Reproducible: Always

Steps to Reproduce:
1. Open http://www.compusa.com/applications/SearchTools/item-details.asp?EdpNo=3869826&CatId=233
2. Click on the "Power Protection Essentials" button (under the text "What You Should Know").
3. Attempt to copy the URL from the Location Bar of newly opened window.
Actual Results:  
URL is not copied to the clipboard.

Expected Results:  
URL should be copied to the clipboard.
Ctrl+C, or right-click 'copy' WFM on Vista HP SP1

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a2pre) Gecko/20080828044328 Minefield/3.1a2pre Firefox/3.0 ID:20080828044328
I had only attempted to copy via Cmd+C when filing this bug, and have now tried again with right-click -> copy, and the Location Bar won't even let me right-click on the URL. 
Assignee: nobody → general
Blocks: 451602
Component: Location Bar and Autocomplete → JavaScript Engine
Keywords: qawanted
Product: Firefox → Core
QA Contact: location.bar → general
Summary: URL cannot be copied from the Location Bar in new window launched via JavaScript (TraceMonkey enabled). → TM: URL cannot be copied from the Location Bar in new window launched via JavaScript
I see the same behavior with or without jit on today's minefield build on mac os x and can not copy the url from the popup in 3.0.3 either. Please confirm that this is a problem with jit only on trunk and that you can perform the copy on a nightly 3.0.3.
This WFM on XP.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080910043000 Minefield/3.1b1pre
Priority: -- → P5
WFM with TM tinderbox build on mac.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1pre) Gecko/20080927020752 Minefield/3.1b1pre ID:20080927020752
Status: RESOLVED → VERIFIED
Keywords: qawanted
Hardware: Macintosh → All
Version: unspecified → Trunk
I have the same problem on Firefox 3.0.5 on Mac. Sometimes (or maybe always, I'm not sure) if I open a window using Javascript, I can't copy its URL with Cmd+C or by right-clicking (because the context menu doesn't show up). This happens for example on this page: http://www.be-ez.com/prod_larobeblackaddict.html (3 images below the text), and also on the page mentioned in the bug description.

My FF version: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5
You need to log in before you can comment on or make changes to this bug.