Changeset 77272 in webkit


Ignore:
Timestamp:
Feb 1, 2011 12:27:01 PM (13 years ago)
Author:
antonm@chromium.org
Message:

2011-02-01 Anton Muhin <antonm@chromium.org>

Reviewed by Adam Barth.

Allow access for security origin same as this.
https://bugs.webkit.org/show_bug.cgi?id=53440

Hard to test as newly added path currently is never hit.

  • page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canAccess): allow access if this == other
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r77269 r77272  
     12011-02-01  Anton Muhin  <antonm@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Allow access for security origin same as this.
     6        https://bugs.webkit.org/show_bug.cgi?id=53440
     7
     8        Hard to test as newly added path currently is never hit.
     9
     10        * page/SecurityOrigin.cpp:
     11        (WebCore::SecurityOrigin::canAccess): allow access if this == other
     12
    1132011-01-31  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/Source/WebCore/page/SecurityOrigin.cpp

    r75557 r77272  
    177177{
    178178    if (m_universalAccess)
     179        return true;
     180
     181    if (this == other)
    179182        return true;
    180183
Note: See TracChangeset for help on using the changeset viewer.