Changeset 152348 in webkit
- Timestamp:
- Jul 3, 2013 3:13:34 AM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r152347 r152348 1 2013-07-03 Zalan Bujtas <zalan@apple.com> 2 3 H&R Block 2010 Help window can not be reopened. 4 https://bugs.webkit.org/show_bug.cgi?id=118342 5 6 Reviewed by Antti Koivisto. 7 8 http://trac.webkit.org/changeset/118916 changed the window.focus() behaviour so that 9 only the opener can (re)focus() a particular window. 10 H&R Block app relies on the relaxed window.focus() rules. 11 12 * WebCore.exp.in: 13 * platform/RuntimeApplicationChecks.cpp: 14 (WebCore::applicationIsHRBlock): 15 * platform/RuntimeApplicationChecks.h: 16 1 17 2013-07-03 Zan Dobersek <zdobersek@igalia.com> 2 18 -
trunk/Source/WebCore/WebCore.exp.in
r152328 r152348 1844 1844 __ZN7WebCore20PlatformEventFactory27createPlatformKeyboardEventEP7NSEvent 1845 1845 __ZN7WebCore20builtInPDFPluginNameEv 1846 __ZN7WebCore20applicationIsHRBlockEv 1846 1847 __ZN7WebCore21DeviceOrientationData6createEbdbdbdbb 1847 1848 __ZN7WebCore21applicationIsApertureEv -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.cpp
r150977 r152348 109 109 } 110 110 111 bool applicationIsHRBlock() 112 { 113 static bool isHRBlock = mainBundleIsEqualTo("com.hrblock.tax.2010"); 114 return isHRBlock; 115 } 116 111 117 bool applicationIsSolidStateNetworksDownloader() 112 118 { -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.h
r150977 r152348 39 39 bool applicationIsSolidStateNetworksDownloader(); 40 40 bool applicationIsVersions(); 41 bool applicationIsHRBlock(); 41 42 42 43 } // namespace WebCore -
trunk/Source/WebKit/mac/ChangeLog
r152267 r152348 1 2013-07-03 Zalan Bujtas <zalan@apple.com> 2 3 H&R Block 2010 Help window can not be reopened. 4 https://bugs.webkit.org/show_bug.cgi?id=118342 5 6 Reviewed by Antti Koivisto. 7 8 http://trac.webkit.org/changeset/118916 changed the window.focus() behaviour so that 9 only the opener can (re)focus() a particular window. 10 H&R Block app relies on the relaxed window.focus() rules. 11 12 * WebView/WebView.mm: 13 (shouldRestrictWindowFocus): 14 (-[WebView _preferencesChanged:]): 15 1 16 2013-07-01 Timothy Hatcher <timothy@apple.com> 2 17 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r152234 r152348 624 624 } 625 625 626 static bool shouldRestrictWindowFocus() 627 { 628 return !applicationIsHRBlock(); 629 } 630 626 631 - (void)_dispatchPendingLoadRequests 627 632 { … … 1500 1505 settings->setAccelerated2dCanvasEnabled([preferences accelerated2dCanvasEnabled]); 1501 1506 settings->setLoadDeferringEnabled(shouldEnableLoadDeferring()); 1507 settings->setWindowFocusRestricted(shouldRestrictWindowFocus()); 1502 1508 settings->setFrameFlatteningEnabled([preferences isFrameFlatteningEnabled]); 1503 1509 settings->setSpatialNavigationEnabled([preferences isSpatialNavigationEnabled]);
Note: See TracChangeset
for help on using the changeset viewer.