RESOLVED FIXED 160552
Remove testRunner.handleErrorPages()
https://bugs.webkit.org/show_bug.cgi?id=160552
Summary Remove testRunner.handleErrorPages()
Jonathan Bedard
Reported 2016-08-04 09:09:14 PDT
Fast/history/back-forward-reset-after-error-handling.html calls handleErrorPages(), which was not supported by DumpRenderTree and is not supported by TestRunner. Given that this test was added for QT support, it should be removed.
Attachments
Patch (5.93 KB, patch)
2016-08-04 09:20 PDT, Jonathan Bedard
no flags
Patch (7.21 KB, patch)
2016-08-05 10:29 PDT, Jonathan Bedard
no flags
Patch (7.20 KB, patch)
2016-08-05 11:53 PDT, Jonathan Bedard
no flags
Jonathan Bedard
Comment 1 2016-08-04 09:20:32 PDT
Daniel Bates
Comment 2 2016-08-04 17:34:16 PDT
(In reply to comment #0) > Fast/history/back-forward-reset-after-error-handling.html calls > handleErrorPages(), which was not supported by DumpRenderTree and is not > supported by TestRunner. Given that this test was added for QT support, it > should be removed. This description is disingenuous. This test LayoutTests/fast/history/back-forward-reset-after-error-handling.html was added for all ports that implemented testRunner.handleErrorPages(). As it turns out testRunner.handleErrorPages() was only implemented on the Qt WebKit port. For completeness, the motivation for adding testRunner.handleErrorPages() is described in bug #31509, comment 0. And the bug #31555 was filed to implement this feature for Mac though it was resolved as WONTFIX on 05/01/2012.
Daniel Bates
Comment 3 2016-08-04 17:44:09 PDT
Comment on attachment 285331 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285331&action=review The motivation for this change seems reasonable. We need to also update file LayoutTests/platform/ios-simulator/TestExpectations. Also we should update the ChangeLog entry such that it list the files modified in this patch as well as clarify the description as per my remarks above. > LayoutTests/ChangeLog:10 > + > + Removed fast/history/back-forward-reset-after-error-handling.html and all > + references since handleErrorPages() was never supported in TestRunners > + How are you generating this ChangeLog entry? Please use prepare-ChangeLog to generate the ChangeLog message. It is disingenuous to write "was never supported in TestRunners". We should explain that window.testRunner.handleErrorPages() was only implement for the Qt WebKit port and that there has not been interest to implement this feature in any other port in the over 7 years since this feature was added.
Jonathan Bedard
Comment 4 2016-08-05 10:29:10 PDT
Jonathan Bedard
Comment 5 2016-08-05 10:56:24 PDT
I think the format/comments on this patch should be better.
Daniel Bates
Comment 6 2016-08-05 11:03:26 PDT
Comment on attachment 285431 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285431&action=review > LayoutTests/ChangeLog:3 > + handleErrorPages() is not supported by TestRunner, remove dependent test Please update the title in the ChangeLog to match the Bugzilla title. > LayoutTests/ChangeLog:16 > + * platform/gtk/TestExpectations: Dito. Dito => Ditto. > LayoutTests/ChangeLog:17 > + * platform/ios-simulator/TestExpectations: Dito. Ditto. > LayoutTests/ChangeLog:18 > + * platform/mac/TestExpectations: Dito. Ditto. > LayoutTests/ChangeLog:19 > + * platform/win/TestExpectations: Dito. Ditto.
Jonathan Bedard
Comment 7 2016-08-05 11:53:23 PDT
WebKit Commit Bot
Comment 8 2016-08-05 13:28:56 PDT
Comment on attachment 285440 [details] Patch Clearing flags on attachment: 285440 Committed r204191: <http://trac.webkit.org/changeset/204191>
WebKit Commit Bot
Comment 9 2016-08-05 13:29:00 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.