Bug 185279 - Deprecate legacy WebView and friends
Summary: Deprecate legacy WebView and friends
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Local Build
Hardware: Mac Unspecified
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-05-03 17:00 PDT by Timothy Hatcher
Modified: 2018-05-04 14:43 PDT (History)
8 users (show)

See Also:


Attachments
Patch (114.54 KB, patch)
2018-05-03 17:17 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews106 for mac-sierra-wk2 (2.82 MB, application/zip)
2018-05-03 19:27 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews114 for mac-sierra (3.06 MB, application/zip)
2018-05-03 22:24 PDT, EWS Watchlist
no flags Details
Archive of layout-test-results from ews204 for win-future (12.72 MB, application/zip)
2018-05-03 23:46 PDT, EWS Watchlist
no flags Details
Patch (113.18 KB, patch)
2018-05-04 13:52 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2018-05-03 17:00:10 PDT
<rdar://problem/33268700>
Comment 1 Timothy Hatcher 2018-05-03 17:17:39 PDT
Created attachment 339492 [details]
Patch
Comment 2 Tim Horton 2018-05-03 17:32:58 PDT
Comment on attachment 339492 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=339492&action=review

> Source/WebKitLegacy/mac/WebView/WebViewPrivate.h:30
> +// Declare this as a system header to avoid WebView deprecation
> +// warnings in this header when building Safari locally.

This feels like a weird comment to have in a private header but there are other weird comments below so whatever.
Comment 3 Tim Horton 2018-05-03 17:33:09 PDT
Comment on attachment 339492 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=339492&action=review

> Source/WebCore/ChangeLog:14
> +        Added more macros and wa way to disable deprecation warnings for

wa?
Comment 4 mitz 2018-05-03 17:36:32 PDT
Comment on attachment 339492 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=339492&action=review

> Source/WebCore/Configurations/WebCore.xcconfig:28
> +GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(FEATURE_DEFINES) __BUILDING_WEBKIT U_DISABLE_RENAMING=1 U_SHOW_CPLUSPLUS_API=0 GL_SILENCE_DEPRECATION=1 GLES_SILENCE_DEPRECATION=1 $(inherited);

Seems strange to use something from the reserved namespace of identifiers that are prefixed with two underscores.

> Source/WebKitLegacy/mac/WebView/WebUIDelegatePrivate.h:31
> +#pragma clang system_header

Seems like this should be Safari’s responsibility to do, for example by passing --system-header-prefix=<WebKit/ to the compiler.
Comment 5 EWS Watchlist 2018-05-03 19:27:45 PDT
Comment on attachment 339492 [details]
Patch

Attachment 339492 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/7559159

New failing tests:
svg/W3C-SVG-1.1/text-fonts-01-t.svg
Comment 6 EWS Watchlist 2018-05-03 19:27:46 PDT
Created attachment 339507 [details]
Archive of layout-test-results from ews106 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 7 EWS Watchlist 2018-05-03 22:24:21 PDT
Comment on attachment 339492 [details]
Patch

Attachment 339492 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/7560535

New failing tests:
imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_menuitem-element.html
Comment 8 EWS Watchlist 2018-05-03 22:24:22 PDT
Created attachment 339521 [details]
Archive of layout-test-results from ews114 for mac-sierra

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews114  Port: mac-sierra  Platform: Mac OS X 10.12.6
Comment 9 EWS Watchlist 2018-05-03 23:46:44 PDT
Comment on attachment 339492 [details]
Patch

Attachment 339492 [details] did not pass win-ews (win):
Output: http://webkit-queues.webkit.org/results/7561200

New failing tests:
http/tests/security/contentSecurityPolicy/userAgentShadowDOM/allow-audio.html
Comment 10 EWS Watchlist 2018-05-03 23:46:55 PDT
Created attachment 339523 [details]
Archive of layout-test-results from ews204 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews204  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 11 Timothy Hatcher 2018-05-04 13:52:12 PDT
Created attachment 339591 [details]
Patch
Comment 12 WebKit Commit Bot 2018-05-04 14:43:29 PDT
Comment on attachment 339591 [details]
Patch

Clearing flags on attachment: 339591

Committed r231383: <https://trac.webkit.org/changeset/231383>
Comment 13 WebKit Commit Bot 2018-05-04 14:43:30 PDT
All reviewed patches have been landed.  Closing bug.