InternalSettings.idl [plain text]
enum EditingBehaviorType { "mac", "windows", "unix", "ios" };
enum FontLoadTimingOverride { "None", "Block", "Swap", "Failure" };
enum ForcedAccessibilityValue { "system", "on", "off" };
enum FrameFlatteningValue { "Disabled", "EnabledForNonFullScreenIFrames", "FullyEnabled" };
enum PDFImageCachingPolicy { "Enabled", "BelowMemoryLimit", "Disabled", "ClipBoundsOnly" };
enum StorageBlockingPolicy { "AllowAll", "BlockThirdParty", "BlockAll" };
enum SystemLayoutDirection { "LTR", "RTL" };
enum TrackKind { "Subtitles", "Captions", "TextDescriptions" };
enum UserInterfaceDirectionPolicy { "Content", "System" };
[
LegacyNoInterfaceObject,
JSGenerateToJSObject,
ExportMacro=WEBCORE_TESTSUPPORT_EXPORT,
] interface InternalSettings : InternalSettingsGenerated {
[MayThrowException] undefined setStandardFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setSerifFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setSansSerifFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setFixedFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setCursiveFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setFantasyFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setPictographFontFamily(DOMString family, DOMString script);
[MayThrowException] undefined setFontLoadTimingOverride(FontLoadTimingOverride override);
[MayThrowException] undefined setTextAutosizingWindowSizeOverride(long width, long height);
[MayThrowException] undefined setTimeWithoutMouseMovementBeforeHidingControls(unrestricted double intervalInSeconds);
[MayThrowException] undefined setMinimumTimerInterval(unrestricted double intervalInSeconds);
[MayThrowException] undefined setEditingBehavior(EditingBehaviorType behavior);
[MayThrowException] undefined setStorageBlockingPolicy(StorageBlockingPolicy policy);
[MayThrowException] undefined setPDFImageCachingPolicy(PDFImageCachingPolicy policy);
[MayThrowException] undefined setFrameFlattening(FrameFlatteningValue frameFlattening);
[MayThrowException] undefined setUserInterfaceDirectionPolicy(UserInterfaceDirectionPolicy policy);
[MayThrowException] undefined setSystemLayoutDirection(SystemLayoutDirection direction);
attribute ForcedAccessibilityValue forcedColorsAreInvertedAccessibilityValue;
attribute ForcedAccessibilityValue forcedDisplayIsMonochromeAccessibilityValue;
attribute ForcedAccessibilityValue forcedPrefersContrastAccessibilityValue;
attribute ForcedAccessibilityValue forcedPrefersReducedMotionAccessibilityValue;
attribute ForcedAccessibilityValue forcedSupportsHighDynamicRangeValue;
[MayThrowException] undefined setWebGL2Enabled(boolean enabled);
[MayThrowException] undefined setWebGPUEnabled(boolean enabled);
[MayThrowException] undefined setFetchAPIKeepAliveEnabled(boolean enabled);
[MayThrowException] undefined setCustomPasteboardDataEnabled(boolean enabled);
[MayThrowException] undefined setWebRTCPlatformCodecsInGPUProcessEnabled(boolean enabled);
readonly attribute boolean vp9DecoderEnabled;
[MayThrowException] undefined setShouldManageAudioSessionCategory(boolean should);
[MayThrowException] undefined setShouldDisplayTrackKind(TrackKind kind, boolean enabled);
[MayThrowException] boolean shouldDisplayTrackKind(TrackKind kind);
[MayThrowException] undefined setCanStartMedia(boolean enabled);
[MayThrowException] undefined setEditableRegionEnabled(boolean enabled);
[MayThrowException] undefined setUseDarkAppearance(boolean enabled);
[MayThrowException] undefined setAllowUnclampedScrollPosition(boolean allowUnclamped);
[MayThrowException] undefined setShouldDeactivateAudioSession(boolean shouldDeactivate);
[MayThrowException] undefined setShouldMockBoldSystemFontForAccessibility(boolean shouldMock);
[MayThrowException] undefined setDefaultAudioContextSampleRate(float sampleRate);
};