Bug 21626 - Crash when opening the web inspector inside a modal dialog
Summary: Crash when opening the web inspector inside a modal dialog
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 16:15 PDT by Geoffrey Garen
Modified: 2022-07-31 02:54 PDT (History)
5 users (show)

See Also:


Attachments
scratch.html (188 bytes, text/html)
2008-10-15 16:16 PDT, Geoffrey Garen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoffrey Garen 2008-10-15 16:15:08 PDT
TO REPRODUCE:
With the "Develop" menu enabled:
1. Load scratch.html, attached
2. Click "showModalDialog" button
3. Once the modal dialog loads, select Develop->Show Error Console
--> ASSERT

ASSERTION FAILED: A wrapper contains an object from the inspected page but is not a JSInspectedObjectWrapper
wrapper->inherits(&s_info)
(/Volumes/Big/ggaren/Labyrinth/OpenSource/WebCore/bindings/js/JSInspectedObjectWrapper.cpp:111 virtual JSC::JSValue* WebCore::JSInspectedObjectWrapper::prepareIncomingValue(JSC::ExecState*, JSC::JSValue*) const)
Program received signal:  “EXC_BAD_ACCESS”.
Comment 1 Geoffrey Garen 2008-10-15 16:16:09 PDT
Created attachment 24377 [details]
scratch.html
Comment 2 Cameron Zwarich (cpst) 2009-02-26 00:15:48 PST
This no longer crashes, but it still acts funny.
Comment 3 Ahmad Saleem 2022-07-31 02:33:26 PDT
showModalDialog support is gone from other browser and recently from Webkit Github source as well:

https://github.com/WebKit/WebKit/commit/c4bb4d1af89e1ef5f57ef1b1cf7b65ce62c30ba5

Do we need to work on this? Thanks!

I also don't get any Console error when I tried this test case and it does not crash Safari 15.6 on macOS 12.5.