Changeset 205379 in webkit
- Timestamp:
- Sep 2, 2016 3:52:13 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r205376 r205379 1 2016-09-02 Jonathan Bedard <jbedard@apple.com> 2 3 WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode 4 https://bugs.webkit.org/show_bug.cgi?id=42547 5 6 Reviewed by Darin Adler. 7 8 The addition of setUseDashboardCompatibilityMode to the WebKit2 TestRunner means the set of tests removed from the expected failures list now pass. 9 Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode. 10 11 * platform/ios-simulator-wk2/TestExpectations: Changed reason test was excluded. 12 * platform/wk2/TestExpectations: Remove tests which use setUseDashboardCompatibilityMode from expected failures. 13 1 14 2016-09-02 Ryan Haddad <ryanhaddad@apple.com> 2 15 -
trunk/LayoutTests/platform/ios-simulator-wk2/TestExpectations
r205296 r205379 91 91 scrollbars/scrollbars-on-positioned-content.html [ Failure ] 92 92 93 # WebKitTestRunner needs testRunner.setUseDashboardCompatibilityMode 94 mathml/mathml-in-dashboard.html [ Skip ] 93 # iOS doesn’t support dashboard. 94 mathml/mathml-in-dashboard.html [ Failure ] 95 svg/custom/embedded-svg-allowed-in-dashboard.xml [ Failure ] 96 svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html [ Failure ] 97 svg/custom/manually-parsed-svg-allowed-in-dashboard.html [ Failure ] 98 svg/custom/svg-allowed-in-dashboard-object.html [ Failure ] 99 http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html [ Failure ] 95 100 96 101 # SVG tests that time out (these require EventSender) … … 265 270 imported/mozilla/svg/text/text-shadow.svg [ ImageOnlyFailure ] 266 271 svg/animations/mozilla/animateMotion-mpath-targetChange-1.svg [ ImageOnlyFailure ] 267 svg/custom/embedded-svg-allowed-in-dashboard.xml [ Failure ]268 272 svg/custom/focus-event-handling-keyboard.xhtml [ Failure ] 269 273 svg/custom/focus-event-handling.xhtml [ Failure ] … … 275 279 svg/custom/image-clipped-hit.svg [ Failure ] 276 280 svg/custom/invisible-text-after-scrolling.xhtml [ Failure ] 277 svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html [ Failure ]278 svg/custom/manually-parsed-svg-allowed-in-dashboard.html [ Failure ]279 281 svg/custom/marker-changes.svg [ Failure ] 280 282 svg/custom/non-scaling-stroke-update.svg [ ImageOnlyFailure ] … … 286 288 svg/custom/polyline-hittest.svg [ Failure ] 287 289 svg/custom/stroke-width-click.svg [ Failure ] 288 svg/custom/svg-allowed-in-dashboard-object.html [ Failure ]289 290 svg/custom/svg-fonts-fallback.xhtml [ Failure ] 290 291 svg/custom/text-hit-test.svg [ Failure ] … … 377 378 http/tests/security/setDomainRelaxationForbiddenForURLScheme.html [ Failure ] 378 379 http/tests/uri/css-href.php [ Failure ] 379 http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html [ Failure ]380 380 381 381 # HTTP tests that assert: -
trunk/LayoutTests/platform/win/TestExpectations
r204960 r205379 106 106 http/tests/xmlhttprequest/cross-origin-cookie-storage.html [ Skip ] 107 107 108 # TODO No Dashboard compatibility mode on Windows108 # No Dashboard compatibility mode on Windows. 109 109 http/tests/xmlhttprequest/default-content-type-dashboard.html [ Skip ] 110 110 http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html [ Skip ] -
trunk/LayoutTests/platform/wk2/TestExpectations
r205094 r205379 114 114 platform/mac/fast/text/justified-text-rect.html 115 115 116 # WebKitTestRunner needs testRunner.setDashboardCompatibilityMode117 # <https://bugs.webkit.org/show_bug.cgi?id=42547>118 fast/canvas/canvas-gradient-addStop-error.html119 http/tests/xmlhttprequest/default-content-type-dashboard.html120 http/tests/xmlhttprequest/svg-created-by-xhr-allowed-in-dashboard.html121 svg/custom/embedded-svg-allowed-in-dashboard.xml122 svg/custom/manually-parsed-embedded-svg-allowed-in-dashboard.html123 svg/custom/manually-parsed-svg-allowed-in-dashboard.html124 svg/custom/svg-allowed-in-dashboard-object.html125 126 116 # WebKitTestRunner needs testRunner.setMainFrameIsFirstResponder 127 117 # <https://bugs.webkit.org/show_bug.cgi?id=42685> … … 302 292 fast/frames/location-redirect-user-gesture.html 303 293 fast/frames/meta-refresh-user-gesture.html 304 305 # WebKitTestRunner needs testRunner.setUseDashboardCompatibilityMode306 platform/mac/fast/dom/HTMLImageElement/dashboard-src-quirk.html [ Skip ]307 mathml/mathml-in-dashboard.html [ Skip ]308 294 309 295 # WebKitTestRunner needs testRunner.addURLToRedirect -
trunk/Source/WebKit2/ChangeLog
r205378 r205379 1 2016-09-02 Jonathan Bedard <jbedard@apple.com> 2 3 WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode 4 https://bugs.webkit.org/show_bug.cgi?id=42547 5 6 Reviewed by Darin Adler. 7 8 Added access to setUseDashBoardCompatibilityMode for WebKit2. 9 Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode. 10 11 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 12 (WKBundleSetUseDashboardCompatibilityMode): Added dashboard compatiblity mode setter. 13 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: Ditto. 14 * WebProcess/InjectedBundle/InjectedBundle.cpp: 15 (WebKit::InjectedBundle::setUseDashboardCompatibilityMode): Ditto. 16 * WebProcess/InjectedBundle/InjectedBundle.h: Ditto. 17 1 18 2016-09-02 Joseph Pecoraro <pecoraro@apple.com> 2 19 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r205094 r205379 166 166 } 167 167 168 void WKBundleSetUseDashboardCompatibilityMode(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled) 169 { 170 toImpl(bundleRef)->setUseDashboardCompatibilityMode(toImpl(pageGroupRef), enabled); 171 } 172 168 173 void WKBundleSetPopupBlockingEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled) 169 174 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r205094 r205379 52 52 WK_EXPORT void WKBundleSetAutomaticLinkDetectionEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled); 53 53 WK_EXPORT void WKBundleSetPrivateBrowsingEnabled(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 54 WK_EXPORT void WKBundleSetUseDashboardCompatibilityMode(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 54 55 WK_EXPORT void WKBundleSetPopupBlockingEnabled(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 55 56 WK_EXPORT void WKBundleSetAuthorAndUserStylesEnabled(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r205094 r205379 328 328 } 329 329 330 void InjectedBundle::setUseDashboardCompatibilityMode(WebPageGroupProxy* pageGroup, bool enabled) 331 { 332 #if ENABLE(DASHBOARD_SUPPORT) 333 for (auto& page : PageGroup::pageGroup(pageGroup->identifier())->pages()) 334 page->settings().setUsesDashboardBackwardCompatibilityMode(enabled); 335 #endif 336 } 337 330 338 void InjectedBundle::setPopupBlockingEnabled(WebPageGroupProxy* pageGroup, bool enabled) 331 339 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r205094 r205379 109 109 void setAutomaticLinkDetectionEnabled(WebPageGroupProxy*, bool enabled); 110 110 void setPrivateBrowsingEnabled(WebPageGroupProxy*, bool); 111 void setUseDashboardCompatibilityMode(WebPageGroupProxy*, bool); 111 112 void setPopupBlockingEnabled(WebPageGroupProxy*, bool); 112 113 void setAuthorAndUserStylesEnabled(WebPageGroupProxy*, bool); -
trunk/Tools/ChangeLog
r205367 r205379 1 2016-09-02 Jonathan Bedard <jbedard@apple.com> 2 3 WebKitTestRunner needs layoutTestController.setDashboardCompatibilityMode 4 https://bugs.webkit.org/show_bug.cgi?id=42547 5 6 Reviewed by Darin Adler. 7 8 Added JavaScript bindings and C++ implementation of setUseDashboardCompatibilityMode for the WebKit2 sTestRunner. 9 Note: this bug mistakenly called this function setDashboardCompatibilityMode, it is actually setUseDashboardCompatibilityMode. 10 11 * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: Added dashboard compatiblity mode setter. 12 * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: 13 (WTR::InjectedBundle::beginTesting): Reset dashboard compatibility mode. 14 * WebKitTestRunner/InjectedBundle/TestRunner.cpp: 15 (WTR::TestRunner::setJavaScriptCanAccessClipboard): Code style changes. 16 (WTR::TestRunner::setPrivateBrowsingEnabled): Code style changes. 17 (WTR::TestRunner::setUseDashboardCompatibilityMode): Added dashboard compatiblity mode setter. 18 (WTR::TestRunner::setPopupBlockingEnabled): Code style changes. 19 (WTR::TestRunner::setAuthorAndUserStylesEnabled): Code style changes. 20 (WTR::TestRunner::addOriginAccessWhitelistEntry): Code style changes. 21 * WebKitTestRunner/InjectedBundle/TestRunner.h: Added dashboard compatiblity mode setter. 22 1 23 2016-09-02 Jer Noble <jer.noble@apple.com> 2 24 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl
r205094 r205379 65 65 void setAutomaticLinkDetectionEnabled(boolean value); 66 66 void setPrivateBrowsingEnabled(boolean value); 67 void setUseDashboardCompatibilityMode(boolean value); 67 68 void setPopupBlockingEnabled(boolean value); 68 69 void setAuthorAndUserStylesEnabled(boolean value); -
trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
r205094 r205379 297 297 WKBundleSetAutomaticLinkDetectionEnabled(m_bundle, m_pageGroup, false); 298 298 WKBundleSetPrivateBrowsingEnabled(m_bundle, m_pageGroup, false); 299 WKBundleSetUseDashboardCompatibilityMode(m_bundle, m_pageGroup, false); 299 300 WKBundleSetAuthorAndUserStylesEnabled(m_bundle, m_pageGroup, true); 300 301 WKBundleSetFrameFlatteningEnabled(m_bundle, m_pageGroup, false); -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
r205123 r205379 409 409 { 410 410 auto& injectedBundle = InjectedBundle::singleton(); 411 411 WKBundleSetJavaScriptCanAccessClipboard(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 412 412 } 413 413 … … 421 421 { 422 422 auto& injectedBundle = InjectedBundle::singleton(); 423 WKBundleSetPrivateBrowsingEnabled(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 424 } 425 423 WKBundleSetPrivateBrowsingEnabled(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 424 } 425 426 void TestRunner::setUseDashboardCompatibilityMode(bool enabled) 427 { 428 #if ENABLE(DASHBOARD_SUPPORT) 429 auto& injectedBundle = InjectedBundle::singleton(); 430 WKBundleSetUseDashboardCompatibilityMode(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 431 #endif 432 } 433 426 434 void TestRunner::setPopupBlockingEnabled(bool enabled) 427 435 { 428 436 auto& injectedBundle = InjectedBundle::singleton(); 429 437 WKBundleSetPopupBlockingEnabled(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 430 438 } 431 439 … … 433 441 { 434 442 auto& injectedBundle = InjectedBundle::singleton(); 435 443 WKBundleSetAuthorAndUserStylesEnabled(injectedBundle.bundle(), injectedBundle.pageGroup(), enabled); 436 444 } 437 445 -
trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
r205094 r205379 112 112 void setAutomaticLinkDetectionEnabled(bool); 113 113 void setPrivateBrowsingEnabled(bool); 114 void setUseDashboardCompatibilityMode(bool); 114 115 void setPopupBlockingEnabled(bool); 115 116 void setAuthorAndUserStylesEnabled(bool);
Note: See TracChangeset
for help on using the changeset viewer.