⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 211125 in webkit


Ignore:
Timestamp:
Jan 24, 2017, 5:43:21 PM (10 years ago)
Author:
Brent Fulgham
Message:

Bug 167392: REGRESSION(r210531): Relax same-volume display requirement for iOS
https://bugs.webkit.org/show_bug.cgi?id=167392
<rdar://problem/30074665>

Reviewed by Brady Eidson.

Source/WebCore:

  • page/SecurityOrigin.cpp:

(WebCore::SecurityOrigin::canDisplay): Exclude the new check when building on iOS.

LayoutTests:

Rebaseline two tests for ios-simulator, now that they exclude the cross-volume file check..

  • platform/ios-simulator/fast/xmlhttprequest: Added.
  • platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: Added.
  • platform/ios-simulator/storage: Added.
  • platform/ios-simulator/storage/domstorage: Added.
  • platform/ios-simulator/storage/domstorage/sessionstorage: Added.
  • platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt: Added.
Location:
trunk
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r211119 r211125  
     12017-01-24  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Bug 167392: REGRESSION(r210531): Relax same-volume display requirement for iOS
     4        https://bugs.webkit.org/show_bug.cgi?id=167392
     5        <rdar://problem/30074665>
     6
     7        Reviewed by Brady Eidson.
     8
     9        Rebaseline two tests for ios-simulator, now that they exclude the cross-volume file check..
     10
     11        * platform/ios-simulator/fast/xmlhttprequest: Added.
     12        * platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: Added.
     13        * platform/ios-simulator/storage: Added.
     14        * platform/ios-simulator/storage/domstorage: Added.
     15        * platform/ios-simulator/storage/domstorage/sessionstorage: Added.
     16        * platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt: Added.
     17
    1182017-01-24  Ryan Haddad  <ryanhaddad@apple.com>
    219
  • trunk/Source/WebCore/ChangeLog

    r211120 r211125  
     12017-01-24  Brent Fulgham  <bfulgham@apple.com>
     2
     3        Bug 167392: REGRESSION(r210531): Relax same-volume display requirement for iOS
     4        https://bugs.webkit.org/show_bug.cgi?id=167392
     5        <rdar://problem/30074665>
     6
     7        Reviewed by Brady Eidson.
     8
     9        * page/SecurityOrigin.cpp:
     10        (WebCore::SecurityOrigin::canDisplay): Exclude the new check when building on iOS.
     11
    1122017-01-24  Andreas Kling  <akling@apple.com>
    213
  • trunk/Source/WebCore/page/SecurityOrigin.cpp

    r210888 r211125  
    305305        return true;
    306306
     307#if !PLATFORM(IOS)
    307308    if (m_protocol == "file" && url.isLocalFile() && !filesHaveSameVolume(m_filePath, url.path()))
    308309        return false;
     310#endif
    309311
    310312    if (isFeedWithNestedProtocolInHTTPFamily(url))
Note: See TracChangeset for help on using the changeset viewer.