[Webkit-unassigned] [Bug 14327] REGRESSION (r21367): dialogArguments not set in window generated by showModalDialog

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 5 07:26:55 PDT 2007


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


mitz at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mitz at webkit.org
                URL|                            |javascript:showModalDialog("
                   |                            |data:text/html,<script>alert
                   |                            |(dialogArguments)</script>",
                   |                            |"PASS")
           Keywords|NeedsReduction              |HasReduction
            Summary|REGRESSION: dialogArguments |REGRESSION (r21367):
                   |not set in window generated |dialogArguments not set in
                   |by showModalDialog          |window generated by
                   |                            |showModalDialog




------- Comment #7 from mitz at webkit.org  2007-07-05 07:26 PDT -------
Regressed in <http://trac.webkit.org/projects/webkit/changeset/21367>.

Dave's test case doesn't fail because it uses a javascript: URL so it doesn't
load a new document into the newly-opened window. Here is a minimal failing
test case:

javascript:showModalDialog("data:text/html,<script>alert(dialogArguments)</script>",
"PASS")

I think the window's dialogArguments property is cleared as when the new
document is loaded, now that every window starts out with an empty document.


-- 
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