Changeset 122420 in webkit
- Timestamp:
- Jul 11, 2012 10:33:03 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r122346 r122420 1 2012-07-11 Matt Falkenhagen <falken@chromium.org> 2 3 Add dialog element feature toggle to InternalSettings 4 https://bugs.webkit.org/show_bug.cgi?id=90934 5 6 Reviewed by Hajime Morita. 7 8 * Source/autotools/symbols.filter: Added newly exported symbol. 9 1 10 2012-07-11 Arnaud Renevier <a.renevier@sisa.samsung.com> 2 11 -
trunk/LayoutTests/ChangeLog
r122419 r122420 1 2012-07-11 Matt Falkenhagen <falken@chromium.org> 2 3 Add dialog element feature toggle to InternalSettings 4 https://bugs.webkit.org/show_bug.cgi?id=90934 5 6 Reviewed by Hajime Morita. 7 8 * fast/dom/HTMLDialogElement/dialog-disabled-expected.txt: Added. 9 * fast/dom/HTMLDialogElement/dialog-disabled.html: Added. 10 * fast/dom/HTMLDialogElement/dialog-enabled-expected.txt: Added. 11 * fast/dom/HTMLDialogElement/dialog-enabled.html: Added. 12 * platform/efl/TestExpectations: Skipped because ENABLE_DIALOG_ELEMENT is off by default. 13 * platform/gtk/TestExpectations: Ditto. 14 * platform/mac/TestExpectations: Ditto. 15 * platform/qt/TestExpectations: Ditto. 16 1 17 2012-07-11 Hayato Ito <hayato@chromium.org> 2 18 -
trunk/LayoutTests/platform/efl/TestExpectations
r122314 r122420 136 136 BUGWK84186 SKIP : fast/text-autosizing = PASS 137 137 138 // Dialog element is not yet enabled. 139 BUGWK84635 SKIP : fast/dom/HTMLDialogElement = TEXT 138 140 ////////////////////////////////////////////////////////////////////////////////////////// 139 141 // CRASHES -
trunk/LayoutTests/platform/gtk/TestExpectations
r122367 r122420 350 350 BUGWK84186 SKIP : fast/text-autosizing = PASS 351 351 352 // Dialog element is not yet enabled. 353 BUGWK84635 SKIP : fast/dom/HTMLDialogElement = TEXT 352 354 ////////////////////////////////////////////////////////////////////////////////////////// 353 355 // End of Expected failures -
trunk/LayoutTests/platform/mac/TestExpectations
r121907 r122420 290 290 // Text Autosizing is not enabled. 291 291 BUGWK84186 SKIP : fast/text-autosizing = PASS 292 293 // Dialog element is not yet enabled. 294 BUGWK84635 SKIP : fast/dom/HTMLDialogElement = TEXT -
trunk/LayoutTests/platform/qt/TestExpectations
r122324 r122420 111 111 // Text Autosizing is not enabled. 112 112 BUGWK84186 SKIP : fast/text-autosizing = PASS 113 114 // Dialog element is not yet enabled. 115 BUGWK84635 SKIP : fast/dom/HTMLDialogElement = TEXT -
trunk/Source/WebCore/ChangeLog
r122418 r122420 1 2012-07-11 Matt Falkenhagen <falken@chromium.org> 2 3 Add dialog element feature toggle to InternalSettings 4 https://bugs.webkit.org/show_bug.cgi?id=90934 5 6 Reviewed by Hajime Morita. 7 8 This enables layout tests to be written for dialog although the feature is disabled by default. 9 10 Tests: fast/dom/HTMLDialogElement/dialog-disabled.html 11 fast/dom/HTMLDialogElement/dialog-enabled.html 12 13 * WebCore.exp.in: Added newly exported symbol. 14 * testing/InternalSettings.cpp: 15 (WebCore::InternalSettings::Backup::Backup): Backup dialog feature flag. 16 (WebCore::InternalSettings::Backup::restoreTo): Restore dialog feature flag. 17 (WebCore::InternalSettings::setDialogElementEnabled): Added. 18 (WebCore): 19 * testing/InternalSettings.h: Added support for dialog. 20 (Backup): 21 (InternalSettings): 22 * testing/InternalSettings.idl: Added support for dialog. 23 1 24 2012-07-11 Kent Tamura <tkent@chromium.org> 2 25 -
trunk/Source/WebCore/WebCore.exp.in
r122400 r122420 2380 2380 #endif 2381 2381 2382 #if ENABLE(DIALOG_ELEMENT) 2383 __ZN7WebCore22RuntimeEnabledFeatures22isDialogElementEnabledE 2384 #endif 2385 2382 2386 #if ENABLE(SVG) 2383 2387 __ZN7WebCore14SVGSMILElement13isSMILElementEPNS_4NodeE -
trunk/Source/WebCore/testing/InternalSettings.cpp
r122326 r122420 90 90 , m_originalTextAutosizingWindowSizeOverride(settings->textAutosizingWindowSizeOverride()) 91 91 #endif 92 #if ENABLE(DIALOG_ELEMENT) 93 , m_originalDialogElementEnabled(RuntimeEnabledFeatures::dialogElementEnabled()) 94 #endif 92 95 { 93 96 } … … 115 118 settings->setTextAutosizingEnabled(m_originalTextAutosizingEnabled); 116 119 settings->setTextAutosizingWindowSizeOverride(m_originalTextAutosizingWindowSizeOverride); 120 #endif 121 #if ENABLE(DIALOG_ELEMENT) 122 RuntimeEnabledFeatures::setDialogElementEnabled(m_originalDialogElementEnabled); 117 123 #endif 118 124 } … … 441 447 InternalSettingsGuardForSettings(); 442 448 settings()->setWindowFocusRestricted(restricted); 449 } 450 451 void InternalSettings::setDialogElementEnabled(bool enabled, ExceptionCode& ec) 452 { 453 UNUSED_PARAM(ec); 454 #if ENABLE(DIALOG_ELEMENT) 455 RuntimeEnabledFeatures::setDialogElementEnabled(enabled); 456 #else 457 UNUSED_PARAM(enabled); 458 #endif 443 459 } 444 460 … … 541 557 } 542 558 543 544 } 559 } -
trunk/Source/WebCore/testing/InternalSettings.h
r122326 r122420 72 72 IntSize m_originalTextAutosizingWindowSizeOverride; 73 73 #endif 74 #if ENABLE(DIALOG_ELEMENT) 75 bool m_originalDialogElementEnabled; 76 #endif 74 77 }; 75 78 … … 117 120 void setSyncXHRInDocumentsEnabled(bool, ExceptionCode&); 118 121 void setWindowFocusRestricted(bool, ExceptionCode&); 122 void setDialogElementEnabled(bool, ExceptionCode&); 119 123 void setJavaScriptProfilingEnabled(bool enabled, ExceptionCode&); 120 124 Vector<String> userPreferredLanguages() const; -
trunk/Source/WebCore/testing/InternalSettings.idl
r122326 r122420 65 65 void setJavaScriptProfilingEnabled(in boolean creates) raises(DOMException); 66 66 void setWindowFocusRestricted(in boolean restricted) raises(DOMException); 67 void setDialogElementEnabled(in boolean enabled) raises(DOMException); 67 68 68 69 void setPagination(in DOMString mode, in long gap) raises(DOMException); -
trunk/Source/autotools/symbols.filter
r122326 r122420 158 158 _ZN7WebCore22RuntimeEnabledFeatures18isShadowDOMEnabledE; 159 159 _ZN7WebCore22RuntimeEnabledFeatures22isCSSExclusionsEnabledE; 160 _ZN7WebCore22RuntimeEnabledFeatures22isDialogElementEnabledE; 160 161 _ZNK7WebCore8Document13nodesFromRectEiijjjjbb; 161 162 _ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_8NodeListE;
Note: See TracChangeset
for help on using the changeset viewer.