Index: core/testing/InternalSettings.idl |
=================================================================== |
--- core/testing/InternalSettings.idl (revision 22811) |
+++ core/testing/InternalSettings.idl (working copy) |
@@ -25,11 +25,10 @@ |
[ |
] interface InternalSettings : InternalSettingsGenerated { |
+ // All methods which access Page::settings() can raise an exception |
+ // when the page cannot be accessed. (Such as during page tear-down.) |
[RaisesException] void setMockScrollbarsEnabled(boolean enabled); |
[RaisesException] void setTouchEventEmulationEnabled(boolean enabled); |
- void setAuthorShadowDOMForAnyElementEnabled(boolean isEnabled); |
- void setExperimentalShadowDOMEnabled(boolean isEnabled); |
- void setStyleScopedEnabled(boolean isEnabled); |
[RaisesException] void setStandardFontFamily(DOMString family, DOMString script); |
[RaisesException] void setSerifFontFamily(DOMString family, DOMString script); |
[RaisesException] void setSansSerifFontFamily(DOMString family, DOMString script); |
@@ -42,17 +41,26 @@ |
[RaisesException] void setTextAutosizingFontScaleFactor(float fontScaleFactor); |
[RaisesException] void setResolutionOverride(long dotsPerCSSInchHorizontally, long dotsPerCSSInchVertically); |
[RaisesException] void setMediaTypeOverride(DOMString mediaTypeOverride); |
- [RaisesException] void setCSSExclusionsEnabled(boolean enabled); |
- [RaisesException] void setCSSVariablesEnabled(boolean enabled); |
- [RaisesException] boolean cssVariablesEnabled(); |
- [RaisesException] void setCanStartMedia(boolean enabled); |
[RaisesException] void setEditingBehavior(DOMString behavior); |
- [RaisesException] void setDialogElementEnabled(boolean enabled); |
- [RaisesException] void setLazyLayoutEnabled(boolean enabled); |
- void setLangAttributeAwareFormControlUIEnabled(boolean enabled); |
[RaisesException] void setShouldDisplayTrackKind(DOMString kind, boolean enabled); |
[RaisesException] boolean shouldDisplayTrackKind(DOMString trackKind); |
[RaisesException] void setImagesEnabled(boolean enabled); |
[RaisesException] void setDefaultVideoPosterURL(DOMString poster); |
+ |
+ // FIXME: cssVariablesEnabled is a real Setting and not a |
+ // RuntimeEnabledFeature, but it should be changed to be a REF. |
+ [RaisesException] boolean cssVariablesEnabled(); |
+ [RaisesException] void setCSSVariablesEnabled(boolean enabled); |
+ |
+ // FIXME: The following are RuntimeEnabledFeatures and likely |
+ // cannot be changed after process start. These setters should |
+ // be removed or moved onto internals.runtimeFlags: |
+ void setAuthorShadowDOMForAnyElementEnabled(boolean enabled); |
+ void setCSSExclusionsEnabled(boolean enabled); |
+ void setDialogElementEnabled(boolean enabled); |
+ void setExperimentalShadowDOMEnabled(boolean enabled); |
+ void setLangAttributeAwareFormControlUIEnabled(boolean enabled); |
+ void setLazyLayoutEnabled(boolean enabled); |
+ void setStyleScopedEnabled(boolean enabled); |
}; |