[Webkit-unassigned] [Bug 182485] New: [iOS] UI for Experimental Features does not correctly update preferences

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 5 07:41:45 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182485

            Bug ID: 182485
           Summary: [iOS] UI for Experimental Features does not correctly
                    update preferences
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: simon.fraser at apple.com
            Blocks: 149264

I'm testing with iOS Simulator 10.0, using a nightly build and the public SDK. Here is a way to reproduce:

1) Launch Safari with Tools/Script/run-safari --ios-simulator
2) Use Home button and go to "Settings => Safari => Experimental Features". Disable all but "Constant Properties". Use Home button and go back to Safari, so that the settings are updated.
3) Debug MobileSafari, place a break point on WebPreferences::setEnabledForFeature after the key string is retrieved (DerivedSources/WebKit2/WebPreferencesExperimentalFeatures.cpp)
4) Use Home button, go back to Settings and enable WebGPU. Use Home button and go back to Safari, so that the settings are updated. Breakpoint is not called.
5) Use Home button, go back to Settings and disable WebGPU. Use Home button and go back to Safari, so that the settings are updated. Breakpoint is not called.
6) Use Home button; go back to Settings and enable Async Frame Scrolling. Use Home button and go back to Safari, so that the settings are updated. Breakpoint is called with key "AsyncFrameScrollingEnabled".
7) Use Home button, go back to Settings and enable WebGPU. Use Home button and go back to Safari, so that the settings are updated. Breakpoint is called with key "AsyncFrameScrollingEnabled".
8) Use Home button, go back to Settings and disable Async Frame Scrolling. Use Home button and go back to Safari, so that the settings are updated. Breakpoint is not called.

Actual result: WebPreferences::setEnabledForFeature is sometimes not called, sometimes not for the modified key. 
Expected result: WebPreferences::setEnabledForFeature should be called for each key that was modified.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=149264
[Bug 149264] IFrame scrolling=yes is ignored in iOS Safari
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180205/ec2b3f16/attachment-0001.html>


More information about the webkit-unassigned mailing list