Closed Bug 614297 Opened 14 years ago Closed 6 years ago

uncaught error when clicking on a button which does a window.find

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
All
defect
Not set
normal

Tracking

(fennec-)

RESOLVED WONTFIX
Tracking Status
fennec - ---

People

(Reporter: nhirata, Unassigned)

Details

Mozilla/5.0 (Android; Linux armv71; rv2.0b8pre) Gecko/20101123 Firefox/4.0b8pre Fennec/4.0b3pre Mozilla/5.0 (Maemo; Linux armv71; rv:2.0b8pre) Gecko/20101123 Firefox/4.0b8pre Fennec/4.0b3pre 1. go to http://people.mozilla.com/~nhirata/html_tp/jsprompt.html 2. click on the Find (Netscape/Firefox/etc) 3. go to the error console Expected: no error Actual: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowInternal.find]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://people.mozilla.com/~nhirata/html_tp/jsprompt.html :: nclick :: line 1" data: no] Note: code for the button: <input type=button value="Find (Netscape/Firefox/etc)" onClick="if (window.find) window.find(); else alert('Your browser does not support \'window.find()\'!') ">
Summary: uncaught error when clicking on a button to do a window.find → uncaught error when clicking on a button which does a window.find
nsGlobalWindow::Find calls nsGlobalWindow::OpenDialog("chrome://global/content/finddialog.xul"...), which ends up in nsWindowWatcher::OpenWindowJSInternal, hits the "attempted to open a new window with no WindowCreator" assertion and gives up.
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0-
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.