[Webkit-unassigned] [Bug 19242] Data URLs should set an Access-Control-Origin of "null"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 26 14:33:38 PDT 2008


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


sam at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21332|review?                     |review-
               Flag|                            |




------- Comment #2 from sam at webkit.org  2008-05-26 14:33 PDT -------
(From update of attachment 21332)
I think the logic for:
     String accessControlOrigin = m_doc->securityOrigin()->toString();
+    if (accessControlOrigin.isEmpty())
+        accessControlOrigin = "null";
should be lifted out into a separate function.  There is one other places that
put the access-control-origin into the request that you have missed, in
handleAsynchronousMethodCheckResult where the helper should be used.


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