Commit d5961560 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com

Remove the OperationsNotDeletable attribute from most of the WebIDL interfaces

https://bugs.webkit.org/show_bug.cgi?id=124151

Reviewed by Geoffrey Garen.

The OperationsNotDeletable attribute currently doesn't have any effect, but will soon enforce
non-configurability of operations on the interface that uses the attribute. Non-configurability
of operations is the default behavior at the moment, but will be changed to follow the WebIDL
specification which requires that the operations are configurable (i.e. -- in JSC terms -- deletable).
IE and Firefox already exhibit this behavior in the majority of cases, while Chrome and Opera don't.

The attribute remains in use on the Location interface to mimic the Unforgeable attribute which
also makes operations of an interface non-configurable. Unforgeable attribute will be used instead
when support for it will be added to the JSC bindings generator.

* Modules/battery/BatteryManager.idl:
* Modules/encryptedmedia/MediaKeySession.idl:
* Modules/encryptedmedia/MediaKeys.idl:
* Modules/gamepad/GamepadList.idl:
* Modules/geolocation/Geolocation.idl:
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBFactory.idl:
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBKeyRange.idl:
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBTransaction.idl:
* Modules/indexeddb/IDBVersionChangeEvent.idl:
* Modules/mediacontrols/MediaControlsHost.idl:
* Modules/mediasource/MediaSource.idl:
* Modules/mediasource/SourceBuffer.idl:
* Modules/mediasource/SourceBufferList.idl:
* Modules/mediastream/MediaStream.idl:
* Modules/mediastream/MediaStreamTrack.idl:
* Modules/mediastream/RTCDTMFSender.idl:
* Modules/mediastream/RTCDataChannel.idl:
* Modules/mediastream/RTCPeerConnection.idl:
* Modules/mediastream/RTCStatsReport.idl:
* Modules/mediastream/RTCStatsResponse.idl:
* Modules/networkinfo/NetworkInfoConnection.idl:
* Modules/notifications/Notification.idl:
* Modules/notifications/NotificationCenter.idl:
* Modules/proximity/DeviceProximityEvent.idl:
* Modules/quota/StorageInfo.idl:
* Modules/quota/StorageQuota.idl:
* Modules/speech/SpeechGrammarList.idl:
* Modules/speech/SpeechRecognition.idl:
* Modules/speech/SpeechRecognitionResult.idl:
* Modules/speech/SpeechRecognitionResultList.idl:
* Modules/speech/SpeechSynthesis.idl:
* Modules/webaudio/AnalyserNode.idl:
* Modules/webaudio/AudioBuffer.idl:
* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/AudioListener.idl:
* Modules/webaudio/AudioNode.idl:
* Modules/webaudio/AudioParam.idl:
* Modules/webaudio/BiquadFilterNode.idl:
* Modules/webaudio/OscillatorNode.idl:
* Modules/webaudio/PannerNode.idl:
* Modules/webdatabase/Database.idl:
* Modules/webdatabase/DatabaseSync.idl:
* Modules/webdatabase/SQLResultSetRowList.idl:
* Modules/webdatabase/SQLTransaction.idl:
* Modules/webdatabase/SQLTransactionSync.idl:
* Modules/websockets/WebSocket.idl:
* crypto/CryptoKey.idl:
* crypto/SubtleCrypto.idl:
* css/CSSHostRule.idl:
* css/CSSMediaRule.idl:
* css/CSSPrimitiveValue.idl:
* css/CSSRuleList.idl:
* css/CSSStyleDeclaration.idl:
* css/CSSStyleSheet.idl:
* css/CSSSupportsRule.idl:
* css/CSSValueList.idl:
* css/DOMWindowCSS.idl:
* css/FontLoader.idl:
* css/MediaList.idl:
* css/MediaQueryList.idl:
* css/MediaQueryListListener.idl:
* css/StyleMedia.idl:
* css/StyleSheet.idl:
* css/StyleSheetList.idl:
* css/WebKitCSSFilterValue.idl:
* css/WebKitCSSKeyframesRule.idl:
* css/WebKitCSSMatrix.idl:
* css/WebKitCSSTransformValue.idl:
* dom/CharacterData.idl:
* dom/ChildNode.idl:
* dom/ClientRectList.idl:
* dom/Clipboard.idl:
* dom/CompositionEvent.idl:
* dom/CustomEvent.idl:
* dom/DOMCoreException.idl:
* dom/DOMImplementation.idl:
* dom/DOMNamedFlowCollection.idl:
* dom/DOMStringList.idl:
* dom/DOMStringMap.idl:
* dom/DataTransferItem.idl:
* dom/DataTransferItemList.idl:
* dom/DeviceMotionEvent.idl:
* dom/DeviceOrientationEvent.idl:
* dom/Document.idl:
* dom/DocumentFragment.idl:
* dom/DocumentType.idl:
* dom/Element.idl:
* dom/Event.idl:
* dom/EventException.idl:
* dom/EventListener.idl:
* dom/EventTarget.idl:
* dom/HashChangeEvent.idl:
* dom/KeyboardEvent.idl:
* dom/MessageEvent.idl:
* dom/MessagePort.idl:
* dom/MouseEvent.idl:
* dom/MutationEvent.idl:
* dom/MutationObserver.idl:
* dom/NamedNodeMap.idl:
* dom/Node.idl:
* dom/NodeFilter.idl:
* dom/NodeIterator.idl:
* dom/NodeList.idl:
* dom/Range.idl:
* dom/RangeException.idl:
* dom/ShadowRoot.idl:
* dom/Text.idl:
* dom/TextEvent.idl:
* dom/TouchEvent.idl:
* dom/TouchList.idl:
* dom/TreeWalker.idl:
* dom/UIEvent.idl:
* dom/WebKitNamedFlow.idl:
* dom/WheelEvent.idl:
* fileapi/Blob.idl:
* fileapi/FileException.idl:
* fileapi/FileList.idl:
* fileapi/FileReader.idl:
* fileapi/FileReaderSync.idl:
* html/DOMFormData.idl:
* html/DOMSettableTokenList.idl:
* html/DOMTokenList.idl:
* html/DOMURL.idl:
* html/HTMLAllCollection.idl:
* html/HTMLAnchorElement.idl:
* html/HTMLButtonElement.idl:
* html/HTMLCanvasElement.idl:
* html/HTMLCollection.idl:
* html/HTMLDocument.idl:
* html/HTMLElement.idl:
* html/HTMLEmbedElement.idl:
* html/HTMLFieldSetElement.idl:
* html/HTMLFormControlsCollection.idl:
* html/HTMLFormElement.idl:
* html/HTMLFrameElement.idl:
* html/HTMLIFrameElement.idl:
* html/HTMLInputElement.idl:
* html/HTMLKeygenElement.idl:
* html/HTMLMarqueeElement.idl:
* html/HTMLMediaElement.idl:
* html/HTMLObjectElement.idl:
* html/HTMLOptionsCollection.idl:
* html/HTMLOutputElement.idl:
* html/HTMLSelectElement.idl:
* html/HTMLTableElement.idl:
* html/HTMLTableRowElement.idl:
* html/HTMLTableSectionElement.idl:
* html/HTMLTextAreaElement.idl:
* html/HTMLVideoElement.idl:
* html/MediaController.idl:
* html/RadioNodeList.idl:
* html/TimeRanges.idl:
* html/canvas/CanvasGradient.idl:
* html/canvas/CanvasRenderingContext2D.idl:
* html/canvas/DOMPath.idl:
* html/canvas/EXTDrawBuffers.idl:
* html/canvas/OESVertexArrayObject.idl:
* html/canvas/WebGLDebugShaders.idl:
* html/canvas/WebGLLoseContext.idl:
* html/canvas/WebGLRenderingContext.idl:
* html/track/AudioTrackList.idl:
* html/track/TextTrack.idl:
* html/track/TextTrackCue.idl:
* html/track/TextTrackCueList.idl:
* html/track/TextTrackList.idl:
* html/track/TextTrackRegionList.idl:
* html/track/VideoTrackList.idl:
* loader/appcache/DOMApplicationCache.idl:
* page/Console.idl:
* page/Crypto.idl:
* page/DOMSecurityPolicy.idl:
* page/DOMSelection.idl:
* page/DOMWindow.idl:
* page/EventSource.idl:
* page/History.idl:
* page/Navigator.idl:
* page/Performance.idl:
* page/PerformanceEntryList.idl:
* page/SpeechInputResultList.idl:
* page/WindowBase64.idl:
* page/WindowTimers.idl:
* plugins/DOMMimeTypeArray.idl:
* plugins/DOMPlugin.idl:
* plugins/DOMPluginArray.idl:
* storage/Storage.idl:
* storage/StorageEvent.idl:
* svg/SVGAngle.idl:
* svg/SVGAnimationElement.idl:
* svg/SVGColor.idl:
* svg/SVGCursorElement.idl:
* svg/SVGDocument.idl:
* svg/SVGElement.idl:
* svg/SVGElementInstanceList.idl:
* svg/SVGException.idl:
* svg/SVGFEDropShadowElement.idl:
* svg/SVGFEGaussianBlurElement.idl:
* svg/SVGFEMorphologyElement.idl:
* svg/SVGFilterElement.idl:
* svg/SVGGraphicsElement.idl:
* svg/SVGLength.idl:
* svg/SVGLengthList.idl:
* svg/SVGMarkerElement.idl:
* svg/SVGMaskElement.idl:
* svg/SVGMatrix.idl:
* svg/SVGNumberList.idl:
* svg/SVGPaint.idl:
* svg/SVGPathElement.idl:
* svg/SVGPathSegList.idl:
* svg/SVGPatternElement.idl:
* svg/SVGPoint.idl:
* svg/SVGPointList.idl:
* svg/SVGSVGElement.idl:
* svg/SVGStringList.idl:
* svg/SVGTests.idl:
* svg/SVGTextContentElement.idl:
* svg/SVGTransform.idl:
* svg/SVGTransformList.idl:
* workers/DedicatedWorkerGlobalScope.idl:
* workers/Worker.idl:
* workers/WorkerGlobalScope.idl:
* workers/WorkerLocation.idl:
* xml/DOMParser.idl:
* xml/XMLHttpRequest.idl:
* xml/XMLHttpRequestException.idl:
* xml/XMLHttpRequestUpload.idl:
* xml/XMLSerializer.idl:
* xml/XPathEvaluator.idl:
* xml/XPathException.idl:
* xml/XPathExpression.idl:
* xml/XPathNSResolver.idl:
* xml/XPathResult.idl:
* xml/XSLTProcessor.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 82217e00
This diff is collapsed.
......@@ -23,7 +23,6 @@
Conditional=BATTERY_STATUS,
ActiveDOMObject,
EventTarget,
OperationsNotDeletable
] interface BatteryManager {
readonly attribute boolean charging;
readonly attribute double chargingTime;
......
......@@ -27,7 +27,6 @@
Conditional=ENCRYPTED_MEDIA_V2,
EventTarget,
InterfaceName=WebKitMediaKeySession,
OperationsNotDeletable
] interface MediaKeySession {
// error state
readonly attribute MediaKeyError error;
......
......@@ -28,7 +28,6 @@
Constructor(DOMString keySystem),
ConstructorRaisesException,
InterfaceName=WebKitMediaKeys,
OperationsNotDeletable
] interface MediaKeys {
[CallWith=ScriptExecutionContext, RaisesException] MediaKeySession createSession([Default=Undefined] optional DOMString type, [Default=Undefined] optional Uint8Array initData);
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=GAMEPAD,
ImplementationLacksVTable,
OperationsNotDeletable
] interface GamepadList {
readonly attribute unsigned long length;
getter Gamepad item([Default=Undefined] optional unsigned long index);
......
......@@ -28,7 +28,6 @@
NoInterfaceObject,
Conditional=GEOLOCATION,
GenerateIsReachable=ImplFrame,
OperationsNotDeletable
] interface Geolocation {
[Custom] void getCurrentPosition(PositionCallback successCallback,
optional PositionErrorCallback errorCallback,
......
......@@ -26,7 +26,6 @@
[
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
OperationsNotDeletable
] interface IDBCursor {
readonly attribute IDBAny source;
readonly attribute DOMString direction;
......
......@@ -31,7 +31,6 @@
JSNoStaticTables,
JSGenerateToJSObject,
JSGenerateToNativeObject,
OperationsNotDeletable
] interface IDBDatabase : EventTarget {
readonly attribute DOMString name;
readonly attribute unsigned long long version;
......
......@@ -27,7 +27,6 @@
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface IDBFactory {
[CallWith=ScriptExecutionContext, RaisesException] IDBOpenDBRequest open(DOMString name, [EnforceRange] optional unsigned long long version);
[CallWith=ScriptExecutionContext, RaisesException] IDBOpenDBRequest deleteDatabase(DOMString name);
......
......@@ -27,7 +27,6 @@
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface IDBIndex {
readonly attribute DOMString name;
readonly attribute IDBObjectStore objectStore;
......
......@@ -27,7 +27,6 @@
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface IDBKeyRange {
[ImplementedAs=lowerValue,CallWith=ScriptExecutionContext] readonly attribute any lower;
[ImplementedAs=upperValue,CallWith=ScriptExecutionContext] readonly attribute any upper;
......
......@@ -27,7 +27,6 @@
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface IDBObjectStore {
[TreatReturnedNullStringAs=Null] readonly attribute DOMString name;
[ImplementedAs=keyPathAny] readonly attribute IDBAny keyPath;
......
......@@ -31,7 +31,6 @@
JSNoStaticTables,
JSGenerateToJSObject,
JSGenerateToNativeObject,
OperationsNotDeletable
] interface IDBTransaction : EventTarget {
readonly attribute DOMString mode;
readonly attribute IDBDatabase db;
......
......@@ -26,7 +26,6 @@
[
Conditional=INDEXED_DATABASE,
JSNoStaticTables,
OperationsNotDeletable
] interface IDBVersionChangeEvent : Event {
readonly attribute unsigned long long oldVersion;
readonly attribute unsigned long long? newVersion;
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=MEDIA_CONTROLS_SCRIPT,
ImplementationLacksVTable,
OperationsNotDeletable
] interface MediaControlsHost {
TextTrack[] sortedTrackListForMenu(TextTrackList trackList);
DOMString displayNameForTrack(TextTrack track);
......
......@@ -36,7 +36,6 @@
JSGenerateToNativeObject,
Constructor,
ConstructorCallWith=ScriptExecutionContext,
OperationsNotDeletable
] interface MediaSource : EventTarget {
// All the source buffers created by this object.
readonly attribute SourceBufferList sourceBuffers;
......
......@@ -35,7 +35,6 @@
EventTarget,
JSGenerateToJSObject,
JSGenerateToNativeObject,
OperationsNotDeletable
] interface SourceBuffer : EventTarget {
readonly attribute boolean updating;
......
......@@ -36,7 +36,6 @@
JSGenerateToNativeObject,
GenerateIsReachable=Impl,
CallWith=ScriptExecutionContext,
OperationsNotDeletable
] interface SourceBufferList : EventTarget {
readonly attribute unsigned long length;
getter SourceBuffer item(unsigned long index);
......
......@@ -30,7 +30,6 @@
Constructor(MediaStreamTrack[] tracks),
ConstructorCallWith=ScriptExecutionContext,
InterfaceName=webkitMediaStream,
OperationsNotDeletable
] interface MediaStream {
readonly attribute DOMString id;
......
......@@ -30,7 +30,6 @@ enum MediaStreamTrackState { "new", "live", "ended" };
EventTarget,
ActiveDOMObject,
SkipVTableValidation,
OperationsNotDeletable
] interface MediaStreamTrack {
readonly attribute DOMString kind;
readonly attribute DOMString id;
......
......@@ -28,7 +28,6 @@
Conditional=MEDIA_STREAM,
ActiveDOMObject,
EventTarget,
OperationsNotDeletable
] interface RTCDTMFSender {
readonly attribute boolean canInsertDTMF;
readonly attribute MediaStreamTrack track;
......
......@@ -26,7 +26,6 @@
NoInterfaceObject,
Conditional=MEDIA_STREAM,
EventTarget,
OperationsNotDeletable
] interface RTCDataChannel {
readonly attribute DOMString label;
readonly attribute boolean ordered;
......
......@@ -38,7 +38,6 @@
ConstructorCallWith=ScriptExecutionContext,
EventTarget,
InterfaceName=webkitRTCPeerConnection,
OperationsNotDeletable
] interface RTCPeerConnection {
[RaisesException] void createOffer(RTCSessionDescriptionCallback successCallback, [Default=Undefined] optional RTCErrorCallback failureCallback, optional Dictionary mediaConstraints);
......
......@@ -26,7 +26,6 @@
NoInterfaceObject,
Conditional=MEDIA_STREAM,
ImplementationLacksVTable,
OperationsNotDeletable
] interface RTCStatsReport {
readonly attribute Date timestamp;
readonly attribute DOMString id;
......
......@@ -25,7 +25,6 @@
[
NoInterfaceObject,
Conditional=MEDIA_STREAM,
OperationsNotDeletable
] interface RTCStatsResponse {
sequence<RTCStatsReport> result();
getter RTCStatsReport namedItem([Default=Undefined] optional DOMString name);
......
......@@ -25,7 +25,6 @@
Conditional=NETWORK_INFO,
ActiveDOMObject,
EventTarget,
OperationsNotDeletable
] interface NetworkInfoConnection {
readonly attribute double bandwidth;
readonly attribute boolean metered;
......
......@@ -37,7 +37,6 @@
Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
ConstructorCallWith=ScriptExecutionContext,
#endif
OperationsNotDeletable,
] interface Notification {
void show();
#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
......
......@@ -33,7 +33,6 @@
NoInterfaceObject,
Conditional=LEGACY_NOTIFICATIONS,
ActiveDOMObject,
OperationsNotDeletable
] interface NotificationCenter {
[RaisesException] Notification createNotification(DOMString iconUrl, DOMString title, DOMString body);
......
......@@ -20,7 +20,6 @@
[
Conditional=PROXIMITY_EVENTS,
ConstructorTemplate=Event,
OperationsNotDeletable
] interface DeviceProximityEvent : Event {
[InitializedByEventConstructor] readonly attribute double value;
[InitializedByEventConstructor] readonly attribute double min;
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=QUOTA,
ImplementationLacksVTable,
OperationsNotDeletable
] interface StorageInfo {
const unsigned short TEMPORARY = 0;
const unsigned short PERSISTENT = 1;
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=QUOTA,
ImplementationLacksVTable,
OperationsNotDeletable
] interface StorageQuota {
[CallWith=ScriptExecutionContext] void queryUsageAndQuota(StorageUsageCallback usageCallback, optional StorageErrorCallback errorCallback);
[CallWith=ScriptExecutionContext] void requestQuota(unsigned long long newQuotaInBytes, optional StorageQuotaCallback quotaCallback, optional StorageErrorCallback errorCallback);
......
......@@ -28,7 +28,6 @@
Constructor,
ImplementationLacksVTable,
InterfaceName=webkitSpeechGrammarList,
OperationsNotDeletable
] interface SpeechGrammarList {
readonly attribute unsigned long length;
getter SpeechGrammar item([IsIndex] unsigned long index);
......
......@@ -30,7 +30,6 @@
ConstructorCallWith=ScriptExecutionContext,
EventTarget,
InterfaceName=webkitSpeechRecognition,
OperationsNotDeletable
] interface SpeechRecognition {
attribute SpeechGrammarList grammars;
attribute DOMString lang;
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=SCRIPTED_SPEECH,
ImplementationLacksVTable,
OperationsNotDeletable
] interface SpeechRecognitionResult {
readonly attribute unsigned long length;
getter SpeechRecognitionAlternative item([IsIndex] unsigned long index);
......
......@@ -27,7 +27,6 @@
NoInterfaceObject,
Conditional=SCRIPTED_SPEECH,
ImplementationLacksVTable,
OperationsNotDeletable
] interface SpeechRecognitionResultList {
readonly attribute unsigned long length;
getter SpeechRecognitionResult item([IsIndex] unsigned long index);
......
......@@ -26,7 +26,6 @@
[
NoInterfaceObject,
Conditional=SPEECH_SYNTHESIS,
OperationsNotDeletable
] interface SpeechSynthesis {
readonly attribute boolean pending;
readonly attribute boolean speaking;
......
......@@ -25,7 +25,6 @@
[
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
OperationsNotDeletable
] interface AnalyserNode : AudioNode {
[SetterRaisesException] attribute unsigned long fftSize;
readonly attribute unsigned long frequencyBinCount;
......
......@@ -29,7 +29,6 @@
[
Conditional=WEB_AUDIO,
ImplementationLacksVTable,
OperationsNotDeletable
] interface AudioBuffer {
readonly attribute long length; // in sample-frames
readonly attribute float duration; // in seconds
......
......@@ -26,7 +26,6 @@
[
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
OperationsNotDeletable
] interface AudioBufferSourceNode : AudioNode {
[CustomSetter, SetterRaisesException] attribute AudioBuffer buffer;
......
......@@ -30,7 +30,6 @@
CustomConstructor,
EventTarget,
InterfaceName=webkitAudioContext,
OperationsNotDeletable
] interface AudioContext {
// All rendered audio ultimately connects to destination, which represents the audio hardware.
readonly attribute AudioDestinationNode destination;
......
......@@ -29,7 +29,6 @@
[
Conditional=WEB_AUDIO,
ImplementationLacksVTable,
OperationsNotDeletable
] interface AudioListener {
attribute float dopplerFactor; // same as OpenAL (default 1.0)
attribute float speedOfSound; // in meters / second (default 343.3)
......
......@@ -28,7 +28,6 @@
JSGenerateToNativeObject,
GenerateIsReachable=Impl,
EventTarget,
OperationsNotDeletable
] interface AudioNode : EventTarget {
readonly attribute AudioContext context;
readonly attribute unsigned long numberOfInputs;
......
......@@ -28,7 +28,6 @@
[
Conditional=WEB_AUDIO,
OperationsNotDeletable
] interface AudioParam {
attribute float value;
readonly attribute float minValue;
......
......@@ -25,7 +25,6 @@
[
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
OperationsNotDeletable
] interface BiquadFilterNode : AudioNode {
// Filter type.
const unsigned short LOWPASS = 0;
......
......@@ -26,7 +26,6 @@
[
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
OperationsNotDeletable
] interface OscillatorNode : AudioNode {
// Type constants.
......
......@@ -26,7 +26,6 @@
Conditional=WEB_AUDIO,
JSGenerateToJSObject,
InterfaceName=webkitAudioPannerNode,
OperationsNotDeletable
] interface PannerNode : AudioNode {
// Panning model
const unsigned short EQUALPOWER = 0;
......
......@@ -30,7 +30,6 @@
NoInterfaceObject,
Conditional=SQL_DATABASE,
JSNoStaticTables,
OperationsNotDeletable
] interface Database {
readonly attribute DOMString version;
void changeVersion(DOMString oldVersion, DOMString newVersion, optional SQLTransactionCallback callback, optional SQLTransactionErrorCallback errorCallback, optional VoidCallback successCallback);
......
......@@ -32,7 +32,6 @@
NoInterfaceObject,
Conditional=SQL_DATABASE,
JSNoStaticTables,
OperationsNotDeletable
] interface DatabaseSync {
readonly attribute DOMString version;
readonly attribute DOMString lastErrorMessage;
......
......@@ -31,7 +31,6 @@
Conditional=SQL_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface SQLResultSetRowList {
readonly attribute unsigned long length;
[Custom] any item(unsigned long index);
......
......@@ -31,7 +31,6 @@
Conditional=SQL_DATABASE,
JSNoStaticTables,
SkipVTableValidation,
OperationsNotDeletable
] interface SQLTransaction {
[Custom] void executeSql(DOMString sqlStatement,
ObjectArray arguments,
......
......@@ -33,7 +33,6 @@
Conditional=SQL_DATABASE,
JSNoStaticTables,
ImplementationLacksVTable,
OperationsNotDeletable
] interface SQLTransactionSync {
[Custom] SQLResultSet executeSql(DOMString sqlStatement, ObjectArray arguments);
};
......@@ -41,7 +41,6 @@
ConstructorCallWith=ScriptExecutionContext,
EventTarget,
JSNoStaticTables,
OperationsNotDeletable
] interface WebSocket {
readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
readonly attribute DOMString url;
......
......@@ -44,7 +44,6 @@ enum KeyUsage {
Conditional=SUBTLE_CRYPTO,
InterfaceName=Key,
NoInterfaceObject,
OperationsNotDeletable,
SkipVTableValidation
] interface CryptoKey {
readonly attribute KeyType type;
......
......@@ -28,7 +28,6 @@
InterfaceName=WebKitSubtleCrypto,
GenerateIsReachable=ImplDocument,
NoInterfaceObject,
OperationsNotDeletable
] interface SubtleCrypto {
[Custom] Promise encrypt(AlgorithmIdentifier algorithm, Key key, sequence<CryptoOperationData> data);
[Custom] Promise decrypt(AlgorithmIdentifier algorithm, Key key, sequence<CryptoOperationData> data);
......
......@@ -21,7 +21,6 @@
// Introduced in Shadow DOM spec:
[
Conditional=SHADOW_DOM,
OperationsNotDeletable
] interface CSSHostRule : CSSRule {
readonly attribute CSSRuleList cssRules;
......
......@@ -19,9 +19,7 @@
*/
// Introduced in DOM Level 2:
[
OperationsNotDeletable
] interface CSSMediaRule : CSSRule {
interface CSSMediaRule : CSSRule {
readonly attribute MediaList media;
readonly attribute CSSRuleList cssRules;
......
......@@ -19,7 +19,6 @@
[
ImplementationLacksVTable,
OperationsNotDeletable
] interface CSSPrimitiveValue : CSSValue {
// UnitTypes
......
......@@ -27,7 +27,6 @@
[
CustomIsReachable,
SkipVTableValidation,
OperationsNotDeletable
] interface CSSRuleList {
readonly attribute unsigned long length;
getter CSSRule item([Default=Undefined] optional unsigned long index);
......
......@@ -27,7 +27,6 @@
CustomNamedSetter,
CustomEnumerateProperty,
SkipVTableValidation,
OperationsNotDeletable
] interface CSSStyleDeclaration {
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesException] attribute DOMString cssText;
......
......@@ -19,9 +19,7 @@
*/
// Introduced in DOM Level 2:
[
OperationsNotDeletable
] interface CSSStyleSheet : StyleSheet {
interface CSSStyleSheet : StyleSheet {
readonly attribute CSSRule ownerRule;
readonly attribute CSSRuleList cssRules;
......
......@@ -29,7 +29,6 @@
[
NoInterfaceObject,
Conditional=CSS3_CONDITIONAL_RULES,
OperationsNotDeletable
] interface CSSSupportsRule : CSSRule {
readonly attribute CSSRuleList cssRules;
readonly attribute DOMString conditionText;
......
......@@ -26,7 +26,6 @@
// Introduced in DOM Level 2:
[
ImplementationLacksVTable,
OperationsNotDeletable
] interface CSSValueList : CSSValue {
readonly attribute unsigned long length;
getter CSSValue item([Default=Undefined] optional unsigned long index);
......
......@@ -31,7 +31,6 @@
NoInterfaceObject,
InterfaceName=CSS,
Conditional=CSS3_CONDITIONAL_RULES,
OperationsNotDeletable
] interface DOMWindowCSS {
<