Changeset 84721 in webkit
- Timestamp:
- Apr 22, 2011 6:14:15 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84720 r84721 1 2011-04-22 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 WebKitTestRunner needs layoutTestController.setFrameFlatteningEnabled 6 https://bugs.webkit.org/show_bug.cgi?id=42536 7 8 Unskip passed tests. 9 10 * platform/mac-wk2/Skipped: 11 * platform/qt-wk2/Skipped: 12 1 13 2011-04-22 Xiaomei Ji <xji@chromium.org> 2 14 -
trunk/LayoutTests/platform/mac-wk2/Skipped
r84715 r84721 1152 1152 platform/mac/editing/deleting/deletionUI-successful-deletion.html 1153 1153 1154 # WebKitTestRunner needs to support layoutTestController.setFrameFlatteningEnabled1155 # <https://bugs.webkit.org/show_bug.cgi?id=42536>1156 fast/frames/flattening/iframe-flattening-crash.html1157 fast/frames/flattening/iframe-flattening-selection-crash.html1158 fast/frames/flattening/frameset-flattening-advanced.html1159 fast/frames/flattening/frameset-flattening-grid.html1160 fast/frames/flattening/frameset-flattening-simple.html1161 fast/frames/flattening/frameset-flattening-subframe-resize.html1162 fast/frames/flattening/frameset-flattening-subframesets.html1163 fast/frames/flattening/iframe-flattening-fixed-height.html1164 fast/frames/flattening/iframe-flattening-fixed-width-and-height.html1165 fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling.html1166 fast/frames/flattening/iframe-flattening-fixed-width.html1167 fast/frames/flattening/iframe-flattening-offscreen.html1168 fast/frames/flattening/iframe-flattening-simple.html1169 1170 1154 # WebKitTestRunner needs layoutTestController.dumpDatabaseCallbacks 1171 1155 # <https://bugs.webkit.org/show_bug.cgi?id=57570> -
trunk/LayoutTests/platform/qt-wk2/Skipped
r84715 r84721 1607 1607 editing/deleting/5408255.html 1608 1608 editing/deleting/deletionUI-single-instance.html 1609 1610 # WebKitTestRunner needs to support layoutTestController.setFrameFlatteningEnabled1611 # <https://bugs.webkit.org/show_bug.cgi?id=42536>1612 fast/frames/flattening/frameset-flattening-advanced.html1613 fast/frames/flattening/frameset-flattening-grid.html1614 fast/frames/flattening/frameset-flattening-simple.html1615 fast/frames/flattening/frameset-flattening-subframe-resize.html1616 fast/frames/flattening/frameset-flattening-subframesets.html1617 fast/frames/flattening/iframe-flattening-fixed-height.html1618 fast/frames/flattening/iframe-flattening-fixed-width-and-height.html1619 fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling.html1620 fast/frames/flattening/iframe-flattening-fixed-width.html1621 fast/frames/flattening/iframe-flattening-offscreen.html1622 fast/frames/flattening/iframe-flattening-simple.html1623 1609 1624 1610 # WebKitTestRunner needs layoutTestController.dumpResourceResponseMIMETypes -
trunk/Source/WebKit2/ChangeLog
r84712 r84721 1 2011-04-22 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 WebKitTestRunner needs layoutTestController.setFrameFlatteningEnabled 6 https://bugs.webkit.org/show_bug.cgi?id=42536 7 8 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: 9 (WKBundleSetFrameFlatteningEnabled): 10 * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: 11 * WebProcess/InjectedBundle/InjectedBundle.cpp: 12 (WebKit::InjectedBundle::setFrameFlatteningEnabled): 13 * WebProcess/InjectedBundle/InjectedBundle.h: 14 1 15 2011-04-22 Alejandro G. Castro <alex@igalia.com> and Martin Robinson <mrobinson@igalia.com> 2 16 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp
r83195 r84721 139 139 } 140 140 141 void WKBundleSetFrameFlatteningEnabled(WKBundleRef bundleRef, WKBundlePageGroupRef pageGroupRef, bool enabled) 142 { 143 toImpl(bundleRef)->setFrameFlatteningEnabled(toImpl(pageGroupRef), enabled); 144 } 145 141 146 void WKBundleReportException(JSContextRef context, JSValueRef exception) 142 147 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h
r83195 r84721 68 68 WK_EXPORT void WKBundleOverrideAllowUniversalAccessFromFileURLsForTestRunner(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 69 69 WK_EXPORT void WKBundleSetAllowFileAccessFromFileURLs(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 70 WK_EXPORT void WKBundleSetFrameFlatteningEnabled(WKBundleRef bundle, WKBundlePageGroupRef pageGroup, bool enabled); 70 71 WK_EXPORT void WKBundleClearAllDatabases(WKBundleRef bundle); 71 72 WK_EXPORT void WKBundleSetDatabaseQuota(WKBundleRef bundle, uint64_t); -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp
r83195 r84721 136 136 } 137 137 138 void InjectedBundle::setFrameFlatteningEnabled(WebPageGroupProxy* pageGroup, bool enabled) 139 { 140 const HashSet<Page*>& pages = PageGroup::pageGroup(pageGroup->identifier())->pages(); 141 for (HashSet<Page*>::iterator iter = pages.begin(); iter != pages.end(); ++iter) 142 (*iter)->settings()->setFrameFlatteningEnabled(enabled); 143 } 144 138 145 void InjectedBundle::clearAllDatabases() 139 146 { -
trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h
r83195 r84721 94 94 void overrideAllowUniversalAccessFromFileURLsForTestRunner(WebPageGroupProxy*, bool); 95 95 void setAllowFileAccessFromFileURLs(WebPageGroupProxy*, bool); 96 void setFrameFlatteningEnabled(WebPageGroupProxy*, bool); 96 97 int numberOfPages(WebFrame*, double, double); 97 98 int pageNumberForElementById(WebFrame*, const String&, double, double); -
trunk/Tools/ChangeLog
r84704 r84721 1 2011-04-22 Chang Shu <cshu@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 WebKitTestRunner needs layoutTestController.setFrameFlatteningEnabled 6 https://bugs.webkit.org/show_bug.cgi?id=42536 7 8 * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: 9 * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: 10 (WTR::LayoutTestController::setFrameFlatteningEnabled): 11 * WebKitTestRunner/InjectedBundle/LayoutTestController.h: 12 1 13 2011-04-22 Adam Barth <abarth@webkit.org> 2 14 -
trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl
r84472 r84721 50 50 void setAllowUniversalAccessFromFileURLs(in boolean value); 51 51 void setAllowFileAccessFromFileURLs(in boolean value); 52 void setFrameFlatteningEnabled(in boolean value); 52 53 53 54 // Special DOM functions. -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp
r84472 r84721 327 327 } 328 328 329 void LayoutTestController::setFrameFlatteningEnabled(bool enabled) 330 { 331 WKBundleSetFrameFlatteningEnabled(InjectedBundle::shared().bundle(), InjectedBundle::shared().pageGroup(), enabled); 332 } 333 329 334 int LayoutTestController::numberOfPages(double pageWidthInPixels, double pageHeightInPixels) 330 335 { -
trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h
r84472 r84721 78 78 void setAllowUniversalAccessFromFileURLs(bool); 79 79 void setAllowFileAccessFromFileURLs(bool); 80 void setFrameFlatteningEnabled(bool); 80 81 81 82 // Special DOM functions.
Note: See TracChangeset
for help on using the changeset viewer.