If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

NEW
Unassigned

Status

Fennec Graveyard
General
7 years ago
7 years ago

People

(Reporter: nhirata, Unassigned)

Tracking

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

Comment 1

7 years ago
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.

Updated

7 years ago
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0-
You need to log in before you can comment on or make changes to this bug.