[Webkit-unassigned] [Bug 18941] New: Modal WebView fails to load if opened when other WebViews are still loading.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 8 10:34:41 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18941

           Summary: Modal WebView fails to load if opened when other
                    WebViews are still loading.
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: GoogleBug
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: playmobil at google.com


Gears uses HTML for it's UI (a few simple dialogs).  I display these dialogs in
Safari by opening a modal webview on top of the current Safari window.

This works fine on Leopard, but on Tiger I'm running into some weird problems
where the contents of the modal WebView won't load if it's displayed while the
calling Safari window is still loading it's contents.

I've attached a minimal testcase in the form of a hacked version of Apple's
sample NPAPI plugin code.

Steps to reproduce:
* Unzip attached file and build.
* Run (a script in the run phase will automatically install the plugin), Safari
will launch.
* Open modal_webview_ok.html file in Safari and click the "Trigger Modal
WebView" button, notice that the sheet loads fine and displays Apple's website
after a couple of seconds both on Tiger and Leopard.
* You will need to kill Safari in between these (sorry, didn't provide
functionality to close the sheet0.
* Open modal_webview_tiger_bug.html - on Tiger the sheet is displayed but it's
contents aren't loaded, works fine on Leopard.

We think this may be a WebKit bug as we've been having similar problems with
WebKit on Android.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list