| Summary: | [Webkit2] Ensure proper settings are used for webkit2. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Leo Ufimtsev <lufimtse> |
| Component: | SWT | Assignee: | Leo Ufimtsev <lufimtse> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | akurtakov |
| Version: | 4.7 | ||
| Target Milestone: | 4.7 M7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/92731 https://git.eclipse.org/r/92796 https://git.eclipse.org/r/92808 https://git.eclipse.org/r/92810 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=b45856aec079b92fd7b33ea19df0de052c43d9d6 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=4899004f5a22a728a15653110e2a046f9adb2d10 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=08f0fe88dce9b824dd981b8cac6e46f48fdccbe0 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=0fd3b423892bd65e6598fec0a10269ffc0249fcf |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 441568 | ||
I observed in Webkit: OS.g_object_set (settings, WebKitGTK.enable_scripts, jsEnabled ? 1 : 0, 0); WebKitGTK.enable_scripts = ascii ("enable-scripts"); https://webkitgtk.org/reference/webkitgtk/stable/WebKitWebSettings.html#WebKitWebSettings--enable-scripts But in webkit2 this setting doesn't exist. It should instead be setting "enable-javascript", which is set via: webkit_settings_set_enable_javascript (....) https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html#webkit-settings-set-enable-javascript I need to go through the list of all properties in WebKitGTK and make sure that for webkit2, the correct property is used.