Closed Bug 134941 Opened 23 years ago Closed 9 years ago

get assert in nsFocusController when JS console opens w/ nsIWebProgLstnr turned on

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows NT
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: depman1, Unassigned)

Details

Mozilla 0.9.9 4/1/02 debug build. 1. Compile testEmbed from /mozilla/embedding/qa/testEmbed folder (nmake -f makefile.win). 2. Launch testEmbed from the /mozilla/dist/WIN32_D.OBJ/bin directory 3. From Tests menu, select Add Web Progress Listener. 4. Type "javascript:" in the url bar. 5. OK "STATE_START, DOCUMENT" msg. 6. Javascript console window opens. "STATE_STOP, DOCUMENT" msg appears. Result: Assertion: "Attempt to decrement focus controller's suppression when no suppression active! :'PR_FALSE', file /mozilla/dom/src/base/nsFocusController.cpp line 438 call stack: nsDebug::Assertion(const char * 0x02899948, const char * 0x0289993c, const char * 0x02899900, int 438) line 291 + 13 bytes nsFocusController::SetSuppressFocus(nsFocusController * const 0x03c73ca0, int 0, const char * 0x032f3834) line 438 + 35 bytes PresShell::UnsuppressAndInvalidate() line 4795 PresShell::ProcessReflowCommands(int 1) line 6420 ReflowEvent::HandleEvent() line 6191 HandlePLEvent(ReflowEvent * 0x03f8eee0) line 6205 PL_HandleEvent(PLEvent * 0x03f8eee0) line 596 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00eb0620) line 526 + 9 bytes _md_EventReceiverProc(HWND__ * 0x00d602b2, unsigned int 49331, unsigned int 0, long 15402528) line 1077 + 9 bytes USER32! 77e71820() 0 logfile for webProgLstnr session (note negative status numbers, will inquire about this): TestEmbed started up. nsIWebBrowserChrome::SetWebBrowser(). AddWebBrowserListener(). Add Web Prog Lstnr test passed. Entering nsIWebProgLstnr::OnStateChange(). nsIRequest: The request name = javascript: OnStateChange(): STATE_START, DOCUMENT, javascript:, status = 0 OnStateChange(): STATE_START, REQUEST, javascript:, status = 0 OnStateChange(): STATE_START, NETWORK, javascript:, status = 0 Exiting nsIWebProgLstnr::OnStateChange(). nsIWebBrowserChrome::SetWebBrowser(). Entering nsIWebProgLstnr::OnStateChange(). nsIRequest: The request name = javascript: OnStateChange(): STATE_STOP, REQUEST, javascript:, status = -2142043147 Exiting nsIWebProgLstnr::OnStateChange(). Entering nsIWebProgLstnr::OnStateChange(). nsIRequest: The request name = javascript: OnStateChange(): nsIWebProgress:DOMWindow attribute test passed. OnStateChange(): STATE_STOP, DOCUMENT, javascript:, status = -2142043147 Exiting nsIWebProgLstnr::OnStateChange(). Entering nsIWebProgLstnr::OnStateChange(). nsIRequest: The request name = javascript: OnStateChange(): STATE_STOP, NETWORK, javascript:, status = -2142043147 OnStateChange(): STATE_STOP, WINDOW, javascript:, status = -2142043147 Exiting nsIWebProgLstnr::OnStateChange().
change qa contact to depstein
QA Contact: mdunn → depstein
a couple of notes: 1) we're not getting the assert when webProgLstnr is turned off. 2) the status error we're getting is a "no content" error. If we redirect some content to the JS console, we get status = 0 for the notifications. e.g. type javascript: "hi" in the url bar.
also note we don't get the assert when posting content or for js commands. only get it for "javascript:"
Severity: normal → minor
QA Contact: depstein → carosendahl
mass reassign of various rpotts bugs to me
Assignee: rpotts → darin
Assignee: darin → nobody
QA Contact: carosendahl → apis
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.