Bug 28794

Summary: Wrong base URL used for a new window opened from a modal window
Product: WebKit Reporter: venkat.ayyadevara
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Minor CC: ahmad.saleem792, ap, bfulgham, rniwa, venkat.ayyadevara
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Website that repros the problem none

venkat.ayyadevara
Reported 2009-08-27 18:57:55 PDT
Created attachment 38707 [details] Website that repros the problem Deploy attached zip file wwwroot.zip as a website. Open http://localhost/ecp in Safari 4.0.2 or later: - In this website, there are 2 folders (for example /owa, /ecp) and there is a index.htm inside each folder. - From /ecp, open a modal dialog for /owa - From /owa modal dialog, open a window (nomal window/modal dialog) for url “?ae=test” Actual: - The result is that the new window navigates to new location using /ecp as its base url instead of /owa. Expected: - The new window navigates to new location using /owa as its base url.
Attachments
Website that repros the problem (858 bytes, application/x-zip-compressed)
2009-08-27 18:57 PDT, venkat.ayyadevara
no flags
Alexey Proskuryakov
Comment 1 2009-08-31 10:30:20 PDT
Confirmed as a difference with Firefox. Since there are no known sites affected by this issue, and the idea of opening new windows from modal dialogs leads to extremely confusing user experience anyway, this is not a P1. Maybe we should just disallow opening new windows and modal dialogs from a modal dialog?
Ahmad Saleem
Comment 2 2023-02-18 06:40:51 PST
showModalDialog is gone, do we need to fix this now?
Note You need to log in before you can comment on or make changes to this bug.