Bug 204907

Summary: Disable WebSQL everywhere by default except in tests
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, pvollan, rniwa, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=206552
https://bugs.webkit.org/show_bug.cgi?id=211906
https://bugs.webkit.org/show_bug.cgi?id=224144
Bug Depends on: 210889, 211896    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Sihui Liu
Reported 2019-12-05 13:15:06 PST
We've disabled WebSQL in WK2 for a while. We need to turn off it everywhere.
Attachments
Patch (1.35 KB, patch)
2019-12-05 13:16 PST, Sihui Liu
no flags
Patch (4.59 KB, patch)
2019-12-05 14:40 PST, Sihui Liu
no flags
Patch (5.73 KB, patch)
2019-12-06 09:06 PST, Sihui Liu
no flags
Patch (7.50 KB, patch)
2019-12-09 13:53 PST, Sihui Liu
no flags
Patch (7.08 KB, patch)
2019-12-09 13:54 PST, Sihui Liu
no flags
Patch (13.00 KB, patch)
2019-12-20 14:16 PST, Sihui Liu
no flags
Patch (12.53 KB, patch)
2019-12-20 14:17 PST, Sihui Liu
no flags
Patch (12.24 KB, patch)
2019-12-20 15:21 PST, Sihui Liu
no flags
Patch (12.19 KB, patch)
2019-12-20 15:22 PST, Sihui Liu
no flags
Patch (12.19 KB, patch)
2019-12-20 17:04 PST, Sihui Liu
no flags
Patch (12.27 KB, patch)
2019-12-23 13:48 PST, Sihui Liu
no flags
Patch (12.27 KB, patch)
2019-12-23 14:16 PST, Sihui Liu
no flags
Patch (12.72 KB, patch)
2019-12-23 14:52 PST, Sihui Liu
no flags
Patch (13.46 KB, patch)
2020-01-02 09:40 PST, Sihui Liu
no flags
Patch (13.85 KB, patch)
2020-01-17 16:40 PST, Sihui Liu
no flags
Sihui Liu
Comment 1 2019-12-05 13:16:34 PST
Sihui Liu
Comment 2 2019-12-05 14:40:11 PST
youenn fablet
Comment 3 2019-12-06 07:21:04 PST
Comment on attachment 384957 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384957&action=review > Source/WebKitLegacy/mac/ChangeLog:3 > + Disable WebSQL everywhere by default except in tests Should we change RuntimeEnableFeatures::m_webSQLEnabled to false?
Sihui Liu
Comment 4 2019-12-06 08:59:27 PST
Comment on attachment 384957 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384957&action=review >> Source/WebKitLegacy/mac/ChangeLog:3 >> + Disable WebSQL everywhere by default except in tests > > Should we change RuntimeEnableFeatures::m_webSQLEnabled to false? Right...forgot to add that after testing! Thanks!
Sihui Liu
Comment 5 2019-12-06 09:06:10 PST
Sihui Liu
Comment 6 2019-12-09 13:53:35 PST
Sihui Liu
Comment 7 2019-12-09 13:54:29 PST
Geoffrey Garen
Comment 8 2019-12-19 13:29:53 PST
Comment on attachment 385186 [details] Patch r=me Make sure to update the expected test results on Windows before committing.
Sihui Liu
Comment 9 2019-12-20 14:16:03 PST
Sihui Liu
Comment 10 2019-12-20 14:17:26 PST
Sihui Liu
Comment 11 2019-12-20 15:21:15 PST
Sihui Liu
Comment 12 2019-12-20 15:22:08 PST
Sihui Liu
Comment 13 2019-12-20 17:04:24 PST
Sihui Liu
Comment 14 2019-12-23 13:48:38 PST
Sihui Liu
Comment 15 2019-12-23 14:16:31 PST
Sihui Liu
Comment 16 2019-12-23 14:52:15 PST
Sihui Liu
Comment 17 2020-01-02 09:40:52 PST
Ryosuke Niwa
Comment 18 2020-01-17 15:17:46 PST
Comment on attachment 386607 [details] Patch r=me. Let's watch out for Windows builds when we land this as we talked in person.
WebKit Commit Bot
Comment 19 2020-01-17 15:35:30 PST
Comment on attachment 386607 [details] Patch Rejecting attachment 386607 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-02', 'apply-attachment', '--no-update', '--non-interactive', 386607, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as commit-queue@webkit.org... Fetching: https://bugs.webkit.org/attachment.cgi?id=386607&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=204907&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 386607 from bug 204907. Fetching: https://bugs.webkit.org/attachment.cgi?id=386607 Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Ryosuke Niwa']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 17 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKitLegacy/mac/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKitLegacy/win/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/page/RuntimeEnabledFeatures.h Hunk #1 succeeded at 447 (offset 5 lines). patching file Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h Hunk #1 FAILED at 205. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h.rej patching file Source/WebKitLegacy/mac/WebView/WebPreferences.mm Hunk #1 FAILED at 707. Hunk #2 succeeded at 3636 with fuzz 1 (offset 22 lines). 1 out of 2 hunks FAILED -- saving rejects to file Source/WebKitLegacy/mac/WebView/WebPreferences.mm.rej patching file Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h Hunk #1 succeeded at 636 (offset 3 lines). patching file Source/WebKitLegacy/mac/WebView/WebView.mm Hunk #1 succeeded at 3207 with fuzz 2 (offset 5 lines). patching file Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl Hunk #1 FAILED at 250. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKitLegacy/win/Interfaces/IWebPreferencesPrivate.idl.rej patching file Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h Hunk #1 FAILED at 217. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKitLegacy/win/WebPreferenceKeysPrivate.h.rej patching file Source/WebKitLegacy/win/WebPreferences.cpp Hunk #1 succeeded at 347 with fuzz 2 (offset 2 lines). Hunk #2 succeeded at 2420 with fuzz 1 (offset 16 lines). patching file Source/WebKitLegacy/win/WebPreferences.h Hunk #1 FAILED at 295. 1 out of 1 hunk FAILED -- saving rejects to file Source/WebKitLegacy/win/WebPreferences.h.rej patching file Source/WebKitLegacy/win/WebView.cpp Hunk #1 succeeded at 5310 (offset 2 lines). patching file Tools/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Tools/DumpRenderTree/TestOptions.h Hunk #1 FAILED at 53. 1 out of 1 hunk FAILED -- saving rejects to file Tools/DumpRenderTree/TestOptions.h.rej patching file Tools/DumpRenderTree/mac/DumpRenderTree.mm Hunk #1 succeeded at 1008 (offset 2 lines). patching file Tools/DumpRenderTree/win/DumpRenderTree.cpp Hunk #1 succeeded at 915 (offset 1 line). Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Ryosuke Niwa']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: https://webkit-queues.webkit.org/results/13306554
Sihui Liu
Comment 20 2020-01-17 16:40:15 PST
WebKit Commit Bot
Comment 21 2020-01-21 09:51:51 PST
Comment on attachment 388113 [details] Patch Clearing flags on attachment: 388113 Committed r254856: <https://trac.webkit.org/changeset/254856>
WebKit Commit Bot
Comment 22 2020-01-21 09:51:53 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 23 2020-01-21 09:52:18 PST
Note You need to log in before you can comment on or make changes to this bug.