Changeset 143502 in webkit
- Timestamp:
- Feb 20, 2013 1:53:27 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/platform/chromium/TestExpectations
r143500 r143502 4355 4355 webkit.org/b/108508 fast/canvas/canvas-path-object.html [ Failure ] 4356 4356 webkit.org/b/108508 platform/chromium/virtual/gpu/fast/canvas/canvas-path-object.html [ Failure ] 4357 webkit.org/b/108508 inspector/profiler/canvas2d/canvas2d-api-changes.html [ Failure ] 4357 4358 4358 4359 # This is won't fix, as the debug and release versions differ. -
trunk/Source/WebCore/ChangeLog
r143499 r143502 1 2013-02-15 Dirk Schulze <krit@webkit.org> 2 3 [Chromium] Add runtime flag for CanvasPath 4 https://bugs.webkit.org/show_bug.cgi?id=109997 5 6 Reviewed by Adam Barth. 7 8 Add runtime flag for Chromium. 9 10 * bindings/generic/RuntimeEnabledFeatures.cpp: 11 (WebCore): 12 * bindings/generic/RuntimeEnabledFeatures.h: 13 (RuntimeEnabledFeatures): 14 (WebCore::RuntimeEnabledFeatures::setCanvasPathEnabled): 15 (WebCore::RuntimeEnabledFeatures::canvasPathEnabled): 16 * html/canvas/DOMPath.idl: 17 * page/DOMWindow.idl: 18 1 19 2013-02-20 Laszlo Gombos <l.gombos@samsung.com> 2 20 -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
r142549 r143502 55 55 bool RuntimeEnabledFeatures::isDeviceOrientationEnabled = true; 56 56 bool RuntimeEnabledFeatures::isSpeechInputEnabled = true; 57 bool RuntimeEnabledFeatures::isCanvasPathEnabled = false; 57 58 bool RuntimeEnabledFeatures::isCSSExclusionsEnabled = false; 58 59 bool RuntimeEnabledFeatures::isCSSRegionsEnabled = false; -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r142549 r143502 64 64 static bool indexedDBEnabled() { return isIndexedDBEnabled; } 65 65 66 #if ENABLE(CANVAS_PATH) 67 static void setCanvasPathEnabled(bool isEnabled) { isCanvasPathEnabled = isEnabled; } 68 static bool canvasPathEnabled() { return isCanvasPathEnabled; } 69 #else 70 static void setCanvasPathEnabled(bool) { } 71 static bool canvasPathEnabled() { return false; } 72 #endif 73 66 74 #if ENABLE(CSS_EXCLUSIONS) 67 75 static void setCSSExclusionsEnabled(bool isEnabled) { isCSSExclusionsEnabled = isEnabled; } … … 286 294 static bool isDeviceOrientationEnabled; 287 295 static bool isSpeechInputEnabled; 296 static bool isCanvasPathEnabled; 288 297 static bool isCSSExclusionsEnabled; 289 298 static bool isCSSRegionsEnabled; -
trunk/Source/WebCore/html/canvas/DOMPath.idl
r141624 r143502 28 28 29 29 interface [ 30 V8EnabledAtRuntime=canvasPath, 30 31 Constructor, 31 32 Constructor(in DOMPath path), -
trunk/Source/WebCore/page/DOMWindow.idl
r143386 r143502 398 398 attribute EntityConstructor Entity; 399 399 attribute EntityReferenceConstructor EntityReference; 400 [Conditional=CANVAS_PATH ] attribute DOMPathConstructor Path;400 [Conditional=CANVAS_PATH, V8EnabledAtRuntime=canvasPath] attribute DOMPathConstructor Path; 401 401 attribute ProcessingInstructionConstructor ProcessingInstruction; 402 402 [Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute ShadowRootConstructor WebKitShadowRoot; -
trunk/Source/WebKit/chromium/ChangeLog
r143496 r143502 1 2013-02-15 Dirk Schulze <krit@webkit.org> 2 3 [Chromium] Add runtime flag for CanvasPath 4 https://bugs.webkit.org/show_bug.cgi?id=109997 5 6 Reviewed by Adam Barth. 7 8 Add runtime flag for Chromium. 9 10 * public/WebRuntimeFeatures.h: 11 (WebRuntimeFeatures): 12 * src/WebRuntimeFeatures.cpp: 13 (WebKit::WebRuntimeFeatures::enableCanvasPath): 14 (WebKit): 15 (WebKit::WebRuntimeFeatures::isCanvasPathEnabled): 16 1 17 2013-02-20 Mark Pilgrim <pilgrim@chromium.org> 2 18 -
trunk/Source/WebKit/chromium/public/WebRuntimeFeatures.h
r142549 r143502 150 150 WEBKIT_EXPORT static bool isDialogElementEnabled(); 151 151 152 WEBKIT_EXPORT static void enableCanvasPath(bool); 153 WEBKIT_EXPORT static bool isCanvasPathEnabled(); 154 152 155 WEBKIT_EXPORT static void enableCSSExclusions(bool); 153 156 WEBKIT_EXPORT static bool isCSSExclusionsEnabled(); -
trunk/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
r142549 r143502 662 662 } 663 663 664 void WebRuntimeFeatures::enableCanvasPath(bool enable) 665 { 666 RuntimeEnabledFeatures::setCanvasPathEnabled(enable); 667 } 668 669 bool WebRuntimeFeatures::isCanvasPathEnabled() 670 { 671 return RuntimeEnabledFeatures::canvasPathEnabled(); 672 } 673 664 674 void WebRuntimeFeatures::enableCSSExclusions(bool enable) 665 675 { -
trunk/Tools/ChangeLog
r143480 r143502 1 2013-02-15 Dirk Schulze <krit@webkit.org> 2 3 [Chromium] Add runtime flag for CanvasPath 4 https://bugs.webkit.org/show_bug.cgi?id=109997 5 6 Reviewed by Adam Barth. 7 8 Added runtime flag for Canvas Path. Enabled it by default for TestShell. Otherwise 9 the constructor for Path on DOMWindow would never be activatable, since the script 10 is running after creating the DOMWindow object. 11 12 * DumpRenderTree/chromium/TestShell.cpp: 13 (TestShell::TestShell): 14 1 15 2013-02-20 Jochen Eisinger <jochen@chromium.org> 2 16 -
trunk/Tools/DumpRenderTree/chromium/TestShell.cpp
r142929 r143502 151 151 WebRuntimeFeatures::enableExperimentalContentSecurityPolicyFeatures(true); 152 152 WebRuntimeFeatures::enableSeamlessIFrames(true); 153 WebRuntimeFeatures::enableCanvasPath(true); 153 154 154 155 // 30 second is the same as the value in Mac DRT.
Note: See TracChangeset
for help on using the changeset viewer.