<?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>151506</bug_id>
          
          <creation_ts>2015-11-20 12:21:00 -0800</creation_ts>
          <short_desc>[Win] fast/events showModalDialog tests failing due to undefined function</short_desc>
          <delta_ts>2022-08-05 15:09:40 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ggaren</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1143731</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2015-11-20 12:21:00 -0800</bug_when>
    <thetext>[Win] fast/events showModalDialog tests failing due to undefined function

fast/events/beforeunload-showModalDialog.html
fast/events/pagehide-showModalDialog.html
fast/events/unload-showModalDialog.html

Run:
&lt;https://build.webkit.org/builders/Apple%20Win%207%20Release%20%28Tests%29/builds/55210&gt;
Results:
&lt;https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r192684%20(55210)/results.html&gt;

--- /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/events/unload-showModalDialog-expected.txt
+++ /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/events/unload-showModalDialog-actual.txt
@@ -1,5 +1,5 @@
 main frame - has 1 onunload handler(s)
-CONSOLE MESSAGE: line 14: Use of window.showModalDialog is not allowed while unloading a page.
+CONSOLE MESSAGE: line 14: TypeError: showModalDialog is not a function. (In &apos;showModalDialog(&quot;resources/modal-dialog.html&quot;)&apos;, &apos;showModalDialog&apos; is undefined)
 This test verifies that prompts are forbidden when leaving a webpage.
 
 Prompts include alert, confirm, prompt, and showModalDialog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1145684</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2015-12-02 12:51:02 -0800</bug_when>
    <thetext>Skipped these tests in r192957.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889239</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-05 15:09:32 -0700</bug_when>
    <thetext>Following commit stop exposing &quot;stopModalDialog&quot; to web and these tests are now marked to run with webkit-test-runner when showModalDialog is true.

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

I think these failing tests will not fixed. Hence, I am going to mark this as &quot;RESOLVED WONTFIX&quot;, please reopen if my selection is wrong and there is further needed from this bug. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>