[Webkit-unassigned] [Bug 15938] Inspector/Qt requires patch to SecurityOrigin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 10 17:41:07 PST 2007


freyther at handhelds.org changed:

           What    |Removed                     |Added
  Attachment #17177|                            |review?
               Flag|                            |

------- Comment #1 from freyther at handhelds.org  2007-11-10 17:41 PDT -------
Created an attachment (id=17177)
 --> (http://bugs.webkit.org/attachment.cgi?id=17177&action=view)
Use FrameLoader::shouldTreatURLAsLocal from SecurityOrigin::canAccess

This patch is using FrameLoader::shouldTreatURLAsLocal instead of 'file' in
SecurityOrigin::canAccess. isSecureTransition is not changed.
FrameLoader::shouldTreatURLAsLocal requires a String as argument and passing
m_protocol would not work  so I decided to keep the KURL::url() in m_url. I
wonder why the comparsion of 'file' is hardcoded and not KURL::isLocalFile is

I would like to receive comments regarding:

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