Title: [211125] trunk
- Revision
- 211125
- Author
- [email protected]
- Date
- 2017-01-24 17:43:21 -0800 (Tue, 24 Jan 2017)
Log 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.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (211124 => 211125)
--- trunk/LayoutTests/ChangeLog 2017-01-25 01:04:26 UTC (rev 211124)
+++ trunk/LayoutTests/ChangeLog 2017-01-25 01:43:21 UTC (rev 211125)
@@ -1,3 +1,20 @@
+2017-01-24 Brent Fulgham <[email protected]>
+
+ 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.
+
+ 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.
+
2017-01-24 Ryan Haddad <[email protected]>
Marking macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html as flaky on macOS WK1.
Added: trunk/LayoutTests/platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt (0 => 211125)
--- trunk/LayoutTests/platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt 2017-01-25 01:43:21 UTC (rev 211125)
@@ -0,0 +1,14 @@
+
+Bug 22475: REGRESSION: Async XMLHttpRequest never finishes on nonexistent files anymore
+
+In both cases, readyState 4 should be reached. Because one of the requests is synchronous and for a file: URL, only a single error handler should be invoked.
+
+Doing an XHR to a nonexistent file.
+ReadyState handler: readyState = 1
+ReadyState handler: readyState = 4
+Error handler: readyState = 4
+
+Doing an XHR to a directory.
+ReadyState handler: readyState = 1
+ReadyState handler: readyState = 4
+
Added: trunk/LayoutTests/platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt (0 => 211125)
--- trunk/LayoutTests/platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/storage/domstorage/sessionstorage/blocked-file-access-expected.txt 2017-01-25 01:43:21 UTC (rev 211125)
@@ -0,0 +1,3 @@
+CONSOLE MESSAGE: line 10: PASS: window.sessionStorage was accessible
+
+Test that we are permitted access to sessionStorage from a file URL if universal access is turned off.
Modified: trunk/Source/WebCore/ChangeLog (211124 => 211125)
--- trunk/Source/WebCore/ChangeLog 2017-01-25 01:04:26 UTC (rev 211124)
+++ trunk/Source/WebCore/ChangeLog 2017-01-25 01:43:21 UTC (rev 211125)
@@ -1,3 +1,14 @@
+2017-01-24 Brent Fulgham <[email protected]>
+
+ 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.
+
+ * page/SecurityOrigin.cpp:
+ (WebCore::SecurityOrigin::canDisplay): Exclude the new check when building on iOS.
+
2017-01-24 Andreas Kling <[email protected]>
Add memory footprint reporting using diagnostic logging.
Modified: trunk/Source/WebCore/page/SecurityOrigin.cpp (211124 => 211125)
--- trunk/Source/WebCore/page/SecurityOrigin.cpp 2017-01-25 01:04:26 UTC (rev 211124)
+++ trunk/Source/WebCore/page/SecurityOrigin.cpp 2017-01-25 01:43:21 UTC (rev 211125)
@@ -304,8 +304,10 @@
if (m_universalAccess)
return true;
+#if !PLATFORM(IOS)
if (m_protocol == "file" && url.isLocalFile() && !filesHaveSameVolume(m_filePath, url.path()))
return false;
+#endif
if (isFeedWithNestedProtocolInHTTPFamily(url))
return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes