Bug 21626

Summary: Crash when opening the web inspector inside a modal dialog
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, rniwa, zwarich
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
scratch.html none

Geoffrey Garen
Reported 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”.
Attachments
scratch.html (188 bytes, text/html)
2008-10-15 16:16 PDT, Geoffrey Garen
no flags
Geoffrey Garen
Comment 1 2008-10-15 16:16:09 PDT
Created attachment 24377 [details] scratch.html
Cameron Zwarich (cpst)
Comment 2 2009-02-26 00:15:48 PST
This no longer crashes, but it still acts funny.
Ahmad Saleem
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.