Title: [253856] trunk
- Revision
- 253856
- Author
- [email protected]
- Date
- 2019-12-20 17:13:54 -0800 (Fri, 20 Dec 2019)
Log Message
[iOS Debug] imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=205506
<rdar://problem/58118091>
Reviewed by Darin Adler.
Source/WebCore:
Drop iOS specific hack in FrameLoader::checkCompleted() that was causing this crash in iOS Debug.
This hack was added a long time ago to fix back/forward navigation after clicking an intra PDF
document hyperlink. I have verified on iOS 13 that the behavior is unchanged without this code:
- Back/forward navigation within a PDF work in UIWebView and do not work in WKWebView
No new tests, unskipped existing test.
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::checkCompleted):
LayoutTests:
* platform/ios-wk2/TestExpectations:
Remove Crash expectation for this test in iOS Debug.
* platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https-expected.txt: Removed.
Drop iOS-specific baseline now that the behavior is consistent across platforms.
Modified Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (253855 => 253856)
--- trunk/LayoutTests/ChangeLog 2019-12-21 01:04:28 UTC (rev 253855)
+++ trunk/LayoutTests/ChangeLog 2019-12-21 01:13:54 UTC (rev 253856)
@@ -1,3 +1,17 @@
+2019-12-20 Chris Dumez <[email protected]>
+
+ [iOS Debug] imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html is crashing
+ https://bugs.webkit.org/show_bug.cgi?id=205506
+ <rdar://problem/58118091>
+
+ Reviewed by Darin Adler.
+
+ * platform/ios-wk2/TestExpectations:
+ Remove Crash expectation for this test in iOS Debug.
+
+ * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https-expected.txt: Removed.
+ Drop iOS-specific baseline now that the behavior is consistent across platforms.
+
2019-12-20 Peng Liu <[email protected]>
Add some missing skips in LayoutTests/gpu-process/TestExpectations
Modified: trunk/LayoutTests/platform/ios-wk2/TestExpectations (253855 => 253856)
--- trunk/LayoutTests/platform/ios-wk2/TestExpectations 2019-12-21 01:04:28 UTC (rev 253855)
+++ trunk/LayoutTests/platform/ios-wk2/TestExpectations 2019-12-21 01:13:54 UTC (rev 253856)
@@ -1066,8 +1066,6 @@
webkit.org/b/155947 [ Debug ] fast/loader/scroll-position-restored-on-back.html [ Pass Failure ]
-webkit.org/b/205506 [ Debug ] imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html [ Crash ]
-
webkit.org/b/155948 transitions/cancel-transition.html [ Pass Failure ]
webkit.org/b/155948 legacy-animation-engine/transitions/cancel-transition.html [ Pass Failure ]
Deleted: trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https-expected.txt (253855 => 253856)
--- trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https-expected.txt 2019-12-21 01:04:28 UTC (rev 253855)
+++ trunk/LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https-expected.txt 2019-12-21 01:13:54 UTC (rev 253856)
@@ -1,23 +0,0 @@
-CONSOLE MESSAGE: Cross origin requests are only supported for HTTP.
-CONSOLE MESSAGE: EventSource cannot load ws://www.example.com/socketserve%EF%BF%BD/ due to access control checks.
-
-PASS location.hash : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS location.href : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS window.open : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS document.open : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS anchor : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS area : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS base : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS EventSource : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS frame : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS iframe : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS link : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS source : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS storage event : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS websocket url : unpaired surrogate codepoint should be replaced with U+FFFD
-PASS sendBeacon URL: unpaired surrogate codepoint should not make any exceptions.
-FAIL RegisterProtocolHandler URL: unpaired surrogate codepoint should not make any exceptions. window.navigator.registerProtocolHandler is not a function. (In 'window.navigator.registerProtocolHandler('web+myprotocol', "custom-scheme\uD800/url="" "title")', 'window.navigator.registerProtocolHandler' is undefined)
-FAIL UnregisterProtocolHandler URL: unpaired surrogate codepoint should not make any exceptions. window.navigator.unregisterProtocolHandler is not a function. (In 'window.navigator.unregisterProtocolHandler('web+myprotocol', "custom-scheme\uD800/url="" 'window.navigator.unregisterProtocolHandler' is undefined)
-PASS Document URLs: unpaired surrogate codepoint should be replaced with U+FFFD
-PASS RTCDataChannel.send: unpaired surrogate codepoint should be replaced with U+FFFD.
-
Modified: trunk/Source/WebCore/ChangeLog (253855 => 253856)
--- trunk/Source/WebCore/ChangeLog 2019-12-21 01:04:28 UTC (rev 253855)
+++ trunk/Source/WebCore/ChangeLog 2019-12-21 01:13:54 UTC (rev 253856)
@@ -1,5 +1,23 @@
2019-12-20 Chris Dumez <[email protected]>
+ [iOS Debug] imported/w3c/web-platform-tests/html/dom/usvstring-reflection.https.html is crashing
+ https://bugs.webkit.org/show_bug.cgi?id=205506
+ <rdar://problem/58118091>
+
+ Reviewed by Darin Adler.
+
+ Drop iOS specific hack in FrameLoader::checkCompleted() that was causing this crash in iOS Debug.
+ This hack was added a long time ago to fix back/forward navigation after clicking an intra PDF
+ document hyperlink. I have verified on iOS 13 that the behavior is unchanged without this code:
+ - Back/forward navigation within a PDF work in UIWebView and do not work in WKWebView
+
+ No new tests, unskipped existing test.
+
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::checkCompleted):
+
+2019-12-20 Chris Dumez <[email protected]>
+
[Bindings] Add @@toStringTag to our iterator prototype object
https://bugs.webkit.org/show_bug.cgi?id=205516
Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (253855 => 253856)
--- trunk/Source/WebCore/loader/FrameLoader.cpp 2019-12-21 01:04:28 UTC (rev 253855)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp 2019-12-21 01:13:54 UTC (rev 253856)
@@ -890,18 +890,6 @@
m_requestedHistoryItem = nullptr;
m_frame.document()->setReadyState(Document::Complete);
-#if PLATFORM(IOS_FAMILY)
- if (m_frame.document()->url().isEmpty()) {
- // We need to update the document URL of a PDF document to be non-empty so that both back/forward history navigation
- // between PDF pages and fragment navigation works. See <rdar://problem/9544769> for more details.
- // FIXME: Is there a better place for this code, say DocumentLoader? Also, we should explicitly only update the URL
- // of the document when it's a PDFDocument object instead of assuming that a Document object with an empty URL is a PDFDocument.
- // FIXME: This code is incorrect for a synthesized document (which also has an empty URL). The URL for a synthesized
- // document should be the URL specified to FrameLoader::initForSynthesizedDocument().
- m_frame.document()->setURL(activeDocumentLoader()->documentURL());
- }
-#endif
-
checkCallImplicitClose(); // if we didn't do it before
m_frame.navigationScheduler().startTimer();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes