Closed Bug 307956 Opened 20 years ago Closed 20 years ago

Firefox 1.5 BETA 1: "gContextMenu.linkURL()" seems to have been broken when called from extensions

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 307949

People

(Reporter: alexander.beedie, Unassigned)

Details

User-Agent: Opera/8.10 (Windows NT 5.1; U; en) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 in earlier builds of firefox, _and_ DeerPark Alpha 2, "gContextMenu.linkURL()" correctly returned the url of a given context link (eg: if on anchor or linked image) -- in firefox 1.5 BETA 1 it fails, throwing out of the javascript that called it. temporary workaround is to call "gContextMenu.link.href" instead, but breaking the convenience function could cause a lot of unecessary headaches for extension developers. Reproducible: Always Steps to Reproduce: 1. call gContextMenu.linkURL() from an extension's javascript (eg: in a popup handler) 2. "boom" Actual Results: throws Expected Results: gContextMenu.linkURL() should have returned the correct link/href, equal to "gContextMenu.link.href"
Please dont file multiple bugs *** This bug has been marked as a duplicate of 307949 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.