Changeset 211036 in webkit
- Timestamp:
- Jan 23, 2017 1:54:59 AM (7 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r211035 r211036 1 2017-01-23 Joseph Pecoraro <pecoraro@apple.com> 2 3 Remove allowWindowOpenWithoutUserGesture setting 4 https://bugs.webkit.org/show_bug.cgi?id=167301 5 6 Reviewed by Darin Adler. 7 8 * page/DOMWindow.cpp: 9 (WebCore::DOMWindow::allowPopUp): 10 * page/Settings.in: 11 1 12 2017-01-22 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/Source/WebCore/page/DOMWindow.cpp
r211033 r211036 364 364 bool DOMWindow::allowPopUp(Frame& firstFrame) 365 365 { 366 auto& settings = firstFrame.settings();367 366 return ScriptController::processingUserGesture() 368 || settings.allowWindowOpenWithoutUserGesture() 369 || settings.javaScriptCanOpenWindowsAutomatically(); 367 || firstFrame.settings().javaScriptCanOpenWindowsAutomatically(); 370 368 } 371 369 -
trunk/Source/WebCore/page/Settings.in
r210372 r211036 266 266 allowContentSecurityPolicySourceStarToMatchAnyProtocol initial=false 267 267 268 allowWindowOpenWithoutUserGesture initial=false269 270 268 selectionPaintingWithoutSelectionGapsEnabled initial=false 271 269 -
trunk/Source/WebKit/mac/ChangeLog
r211033 r211036 1 2017-01-23 Joseph Pecoraro <pecoraro@apple.com> 2 3 Remove allowWindowOpenWithoutUserGesture setting 4 https://bugs.webkit.org/show_bug.cgi?id=167301 5 6 Reviewed by Darin Adler. 7 8 * WebView/WebView.mm: 9 (-[WebView _preferencesChanged:]): 10 Use the equivalent existing setting. 11 1 12 2017-01-20 Darin Adler <darin@apple.com> 2 13 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r211020 r211036 2639 2639 settings.setAllowFileAccessFromFileURLs([preferences allowFileAccessFromFileURLs]); 2640 2640 settings.setNeedsStorageAccessFromFileURLsQuirk([preferences needsStorageAccessFromFileURLsQuirk]); 2641 settings.setJavaScriptCanOpenWindowsAutomatically([preferences javaScriptCanOpenWindowsAutomatically]);2642 2641 settings.setMinimumFontSize([preferences minimumFontSize]); 2643 2642 settings.setMinimumLogicalFontSize([preferences minimumLogicalFontSize]); … … 2733 2732 settings.setAllowRunningOfInsecureContent(shouldAllowDisplayAndRunningOfInsecureContent()); 2734 2733 2734 settings.setJavaScriptCanOpenWindowsAutomatically([preferences javaScriptCanOpenWindowsAutomatically] || shouldAllowWindowOpenWithoutUserGesture()); 2735 2735 2736 settings.setVisualViewportEnabled([preferences visualViewportEnabled]); 2736 2737 … … 2927 2928 2928 2929 settings.setAllowContentSecurityPolicySourceStarToMatchAnyProtocol(shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol()); 2929 2930 settings.setAllowWindowOpenWithoutUserGesture(shouldAllowWindowOpenWithoutUserGesture());2931 2930 2932 2931 settings.setShouldConvertInvalidURLsToBlank(shouldConvertInvalidURLsToBlank());
Note: See TracChangeset
for help on using the changeset viewer.