<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21626</bug_id>
          
          <creation_ts>2008-10-15 16:15:08 -0700</creation_ts>
          <short_desc>Crash when opening the web inspector inside a modal dialog</short_desc>
          <delta_ts>2022-07-31 02:54:28 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>rniwa</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95466</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2008-10-15 16:15:08 -0700</bug_when>
    <thetext>TO REPRODUCE:
With the &quot;Develop&quot; menu enabled:
1. Load scratch.html, attached
2. Click &quot;showModalDialog&quot; button
3. Once the modal dialog loads, select Develop-&gt;Show Error Console
--&gt; ASSERT

ASSERTION FAILED: A wrapper contains an object from the inspected page but is not a JSInspectedObjectWrapper
wrapper-&gt;inherits(&amp;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”.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95467</commentid>
    <comment_count>1</comment_count>
      <attachid>24377</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2008-10-15 16:16:09 -0700</bug_when>
    <thetext>Created attachment 24377
scratch.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111133</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2009-02-26 00:15:48 -0800</bug_when>
    <thetext>This no longer crashes, but it still acts funny.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887941</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-31 02:33:26 -0700</bug_when>
    <thetext>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&apos;t get any Console error when I tried this test case and it does not crash Safari 15.6 on macOS 12.5.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24377</attachid>
            <date>2008-10-15 16:16:09 -0700</date>
            <delta_ts>2008-10-15 16:16:09 -0700</delta_ts>
            <desc>scratch.html</desc>
            <filename>scratch.html</filename>
            <type>text/html</type>
            <size>188</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KZnVuY3Rpb24gZigpIHsgZGVidWdnZXI7IH0KPC9zY3JpcHQ+CjxidXR0b24gb25j
bGljaz0iZigpIj5mKCk8L2J1dHRvbj4KPGJ1dHRvbiBvbmNsaWNrPSIoZnVuY3Rpb24gKCkgeyBz
aG93TW9kYWxEaWFsb2coJ2h0dHA6Ly93d3cuZ29vZ2xlLmNvbScpOyB9KSgpIj5zaG93TW9kYWxE
aWFsb2coKTwvYnV0dG9uPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>