| Index: Source/bindings/scripts/run.pl
|
| diff --git a/Source/bindings/scripts/run.pl b/Source/bindings/scripts/run.pl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..732187feba1f56530851242d11f667de332a404c
|
| --- /dev/null
|
| +++ b/Source/bindings/scripts/run.pl
|
| @@ -0,0 +1,740 @@
|
| +=memo
|
| +
|
| +Dev
|
| +perl scripts/run.pl <keyword> 2>&1 | tee run_log.txt; less diff.txt
|
| +
|
| +Regression check
|
| +perl scripts/run.pl reg 2>&1 | tee run_log.txt; less diff.txt
|
| +
|
| +=cut
|
| +$kw = shift;
|
| +
|
| +# Total: 676 IDL files ... 1352 files to generate (find Source -name "*Callback.idl")
|
| +# *Callback.idl -> 32
|
| +# svg -> 152
|
| +# else -> 492
|
| +
|
| +# num of OK files (total)
|
| +# 6/24 23
|
| +# 6/25 46
|
| +# 6/26 273
|
| +
|
| +#open($f, "<", "scripts/else_idls.txt") or die $!;
|
| +#@all = <$f>;
|
| +#for $file(@all) {
|
| +# $file =~ m|/([^./]+)\.idl|;
|
| +# $base = $1;
|
| +# if( -f "/mnt/hdd/PKL-GOOD/${base}.pkl") {
|
| +# print $file;
|
| +# }
|
| +#}
|
| +#exit;
|
| +
|
| +@ok_callbacks = qw(
|
| +Source/core/dom/RequestAnimationFrameCallback.idl
|
| +Source/core/dom/StringCallback.idl
|
| +Source/core/html/VoidCallback.idl
|
| +Source/modules/filesystem/EntriesCallback.idl
|
| +Source/modules/filesystem/FileSystemCallback.idl
|
| +Source/modules/filesystem/FileWriterCallback.idl
|
| +Source/modules/filesystem/MetadataCallback.idl
|
| +Source/modules/geolocation/PositionCallback.idl
|
| +Source/modules/geolocation/PositionErrorCallback.idl
|
| +Source/modules/mediastream/RTCErrorCallback.idl
|
| +Source/modules/quota/StorageQuotaCallback.idl
|
| +Source/modules/quota/StorageUsageCallback.idl
|
| +Source/modules/webaudio/AudioBufferCallback.idl
|
| +Source/modules/webdatabase/DatabaseCallback.idl
|
| +Source/modules/webdatabase/SQLStatementCallback.idl
|
| +Source/modules/webdatabase/SQLStatementErrorCallback.idl
|
| +Source/modules/filesystem/EntryCallback.idl
|
| +Source/modules/mediastream/NavigatorUserMediaErrorCallback.idl
|
| +Source/modules/mediastream/RTCSessionDescriptionCallback.idl
|
| +Source/modules/notifications/NotificationPermissionCallback.idl
|
| +Source/modules/webdatabase/SQLTransactionSyncCallback.idl
|
| +Source/modules/webdatabase/SQLTransactionErrorCallback.idl
|
| +Source/modules/webdatabase/SQLTransactionCallback.idl
|
| +);
|
| +
|
| +@ok_non_callback_h = qw(
|
| +Source/core/dom/CDATASection.idl
|
| +Source/core/dom/Notation.idl
|
| +Source/core/dom/Entity.idl
|
| +Source/core/xml/XPathExpression.idl
|
| +Source/core/xml/XPathNSResolver.idl
|
| +Source/core/css/MediaQueryList.idl
|
| +Source/core/css/Rect.idl
|
| +Source/core/css/Counter.idl
|
| +Source/core/css/RGBColor.idl
|
| +Source/core/html/canvas/WebGLBuffer.idl
|
| +Source/core/html/canvas/WebGLShader.idl
|
| +Source/core/html/canvas/WebGLProgram.idl
|
| +Source/core/html/canvas/WebGLTexture.idl
|
| +Source/core/page/PerformanceMark.idl
|
| +Source/core/html/canvas/WebGLFramebuffer.idl
|
| +Source/core/page/PerformanceMeasure.idl
|
| +Source/core/html/canvas/WebGLRenderbuffer.idl
|
| +Source/core/html/canvas/CanvasPattern.idl
|
| +Source/core/html/canvas/WebGLUniformLocation.idl
|
| +Source/core/plugins/MimeType.idl
|
| +Source/core/plugins/MimeTypeArray.idl
|
| +Source/core/html/canvas/EXTFragDepth.idl
|
| +Source/core/html/canvas/OESTextureFloat.idl
|
| +Source/core/html/canvas/OESElementIndexUint.idl
|
| +Source/core/html/canvas/OESTextureFloatLinear.idl
|
| +Source/core/html/canvas/OESTextureHalfFloatLinear.idl
|
| +Source/core/html/canvas/WebGLVertexArrayObjectOES.idl
|
| +Source/core/html/TextMetrics.idl
|
| +Source/modules/mediastream/RTCDataChannelEvent.idl
|
| +Source/modules/webaudio/OfflineAudioCompletionEvent.idl
|
| +Source/core/plugins/PluginArray.idl
|
| +Source/core/dom/TouchList.idl
|
| +Source/core/html/canvas/WebGLDebugShaders.idl
|
| +Source/modules/mediastream/MediaStreamTrackEvent.idl
|
| +Source/modules/mediastream/RTCIceCandidateEvent.idl
|
| +Source/modules/webaudio/AudioProcessingEvent.idl
|
| +Source/modules/webaudio/WaveTable.idl
|
| +Source/core/dom/ProcessingInstruction.idl
|
| +Source/modules/geolocation/Geoposition.idl
|
| +Source/core/page/SpeechInputEvent.idl
|
| +Source/core/html/canvas/WebGLLoseContext.idl
|
| +Source/core/fileapi/FileList.idl
|
| +Source/core/html/canvas/WebGLDepthTexture.idl
|
| +Source/core/html/canvas/OESStandardDerivatives.idl
|
| +Source/core/html/canvas/WebGLActiveInfo.idl
|
| +Source/modules/speech/SpeechRecognitionAlternative.idl
|
| +Source/modules/speech/SpeechRecognitionResultList.idl
|
| +Source/core/testing/MallocStatistics.idl
|
| +Source/modules/quota/StorageQuota.idl
|
| +Source/core/xml/XMLHttpRequestProgressEvent.idl
|
| +Source/core/plugins/Plugin.idl
|
| +Source/core/html/canvas/Canvas2DContextAttributes.idl
|
| +Source/core/html/canvas/WebGLShaderPrecisionFormat.idl
|
| +Source/core/html/canvas/WebGLDebugRendererInfo.idl
|
| +Source/modules/mediastream/NavigatorUserMediaError.idl
|
| +Source/core/html/canvas/EXTTextureFilterAnisotropic.idl
|
| +Source/core/html/canvas/CanvasGradient.idl
|
| +Source/modules/speech/SpeechSynthesisEvent.idl
|
| +Source/modules/speech/SpeechRecognitionResult.idl
|
| +Source/core/dom/DOMStringList.idl
|
| +Source/core/css/StyleMedia.idl
|
| +Source/core/css/CSSValueList.idl
|
| +Source/core/page/BarProp.idl
|
| +Source/core/page/SpeechInputResult.idl
|
| +Source/core/html/canvas/OESTextureHalfFloat.idl
|
| +Source/core/page/SpeechInputResultList.idl
|
| +Source/modules/mediastream/SourceInfo.idl
|
| +Source/core/html/TimeRanges.idl
|
| +Source/modules/indexeddb/IDBVersionChangeEvent.idl
|
| +Source/core/dom/ClientRectList.idl
|
| +Source/core/dom/NodeIterator.idl
|
| +Source/core/css/WebKitCSSMixFunctionValue.idl
|
| +Source/core/html/canvas/WebGLCompressedTextureATC.idl
|
| +Source/modules/quota/StorageInfo.idl
|
| +Source/modules/crypto/SubtleCrypto.idl
|
| +Source/core/dom/DOMError.idl
|
| +Source/core/dom/DocumentType.idl
|
| +Source/core/html/ValidityState.idl
|
| +Source/core/html/track/TextTrackRegionList.idl
|
| +Source/modules/speech/SpeechSynthesisVoice.idl
|
| +Source/core/html/canvas/WebGLCompressedTexturePVRTC.idl
|
| +Source/core/html/canvas/WebGLCompressedTextureS3TC.idl
|
| +Source/core/html/MediaError.idl
|
| +Source/modules/filesystem/DirectoryReaderSync.idl
|
| +Source/modules/crypto/WorkerCrypto.idl
|
| +Source/modules/webdatabase/SQLTransactionSync.idl
|
| +Source/modules/filesystem/DirectoryReader.idl
|
| +Source/core/html/canvas/WebGLContextAttributes.idl
|
| +Source/core/dom/ClientRect.idl
|
| +Source/modules/geolocation/PositionError.idl
|
| +Source/core/html/canvas/OESVertexArrayObject.idl
|
| +Source/core/inspector/InspectorOverlayHost.idl
|
| +Source/modules/filesystem/DOMFileSystemSync.idl
|
| +Source/modules/filesystem/FileEntrySync.idl
|
| +Source/modules/filesystem/Metadata.idl
|
| +Source/core/css/CSS.idl
|
| +Source/modules/filesystem/EntryArray.idl
|
| +Source/modules/filesystem/EntryArraySync.idl
|
| +Source/modules/webdatabase/SQLResultSet.idl
|
| +Source/modules/filesystem/FileEntry.idl
|
| +Source/core/dom/TreeWalker.idl
|
| +Source/modules/performance/WorkerPerformance.idl
|
| +Source/core/html/ime/Composition.idl
|
| +Source/modules/webdatabase/SQLTransaction.idl
|
| +Source/core/html/MediaKeyError.idl
|
| +Source/modules/webdatabase/Database.idl
|
| +Source/core/css/MediaList.idl
|
| +Source/modules/filesystem/DirectoryEntrySync.idl
|
| +Source/modules/filesystem/DirectoryEntry.idl
|
| +Source/modules/webaudio/AudioListener.idl
|
| +Source/core/dom/ResourceProgressEvent.idl
|
| +Source/core/dom/Attr.idl
|
| +Source/core/dom/WebKitNamedFlowCollection.idl
|
| +Source/core/dom/Touch.idl
|
| +Source/modules/geolocation/Geolocation.idl
|
| +Source/core/page/MemoryInfo.idl
|
| +Source/modules/webdatabase/DatabaseSync.idl
|
| +Source/core/page/Screen.idl
|
| +Source/core/html/canvas/ANGLEInstancedArrays.idl
|
| +Source/core/storage/Storage.idl
|
| +Source/core/page/PerformanceNavigation.idl
|
| +Source/modules/crypto/Crypto.idl
|
| +Source/modules/webaudio/AudioBuffer.idl
|
| +Source/core/dom/CharacterData.idl
|
| +Source/core/testing/TypeConversions.idl
|
| +Source/core/page/PagePopupController.idl
|
| +Source/core/html/ime/InputMethodContext.idl
|
| +Source/core/workers/WorkerLocation.idl
|
| +Source/core/dom/Clipboard.idl
|
| +Source/core/dom/MutationEvent.idl
|
| +Source/modules/webdatabase/SQLError.idl
|
| +Source/core/page/SecurityPolicy.idl
|
| +Source/core/dom/MutationRecord.idl
|
| +Source/core/page/PerformanceResourceTiming.idl
|
| +Source/modules/webdatabase/SQLException.idl
|
| +Source/core/fileapi/FileError.idl
|
| +Source/core/xml/XPathResult.idl
|
| +Source/modules/mediasource/WebKitSourceBufferList.idl
|
| +Source/modules/mediasource/WebKitSourceBuffer.idl
|
| +Source/core/css/WebKitCSSFilterValue.idl
|
| +Source/modules/mediasource/SourceBufferList.idl
|
| +Source/core/xml/XMLHttpRequestUpload.idl
|
| +Source/modules/encryptedmedia/MediaKeySession.idl
|
| +Source/core/page/PerformanceTiming.idl
|
| +Source/core/fileapi/FileException.idl
|
| +Source/core/page/Console.idl
|
| +Source/modules/webaudio/AudioParam.idl
|
| +Source/core/css/WebKitCSSTransformValue.idl
|
| +Source/core/loader/appcache/DOMApplicationCache.idl
|
| +Source/core/css/CSSPrimitiveValue.idl
|
| +Source/core/dom/DOMException.idl
|
| +Source/core/page/Selection.idl
|
| +Source/core/html/canvas/CanvasRenderingContext.idl
|
| +Source/core/html/canvas/ArrayBufferView.idl
|
| +Source/core/html/ImageData.idl
|
| +Source/core/css/CSSValue.idl
|
| +Source/core/page/PerformanceEntry.idl
|
| +Source/core/html/canvas/Int16Array.idl
|
| +Source/core/html/canvas/Uint8Array.idl
|
| +Source/core/html/canvas/Uint16Array.idl
|
| +Source/core/html/canvas/Uint32Array.idl
|
| +Source/core/html/canvas/Float64Array.idl
|
| +Source/core/html/canvas/Int8Array.idl
|
| +Source/core/html/canvas/Int32Array.idl
|
| +Source/core/html/canvas/Float32Array.idl
|
| +Source/core/html/canvas/Uint8ClampedArray.idl
|
| +Source/modules/filesystem/EntrySync.idl
|
| +Source/modules/filesystem/Entry.idl
|
| +Source/core/dom/Node.idl
|
| +Source/core/dom/Comment.idl
|
| +Source/core/xml/XMLSerializer.idl
|
| +Source/core/dom/Text.idl
|
| +Source/modules/speech/SpeechGrammar.idl
|
| +Source/core/xml/XPathEvaluator.idl
|
| +Source/modules/speech/SpeechGrammarList.idl
|
| +Source/modules/encryptedmedia/MediaKeys.idl
|
| +Source/modules/mediastream/RTCSessionDescription.idl
|
| +Source/modules/mediastream/RTCIceCandidate.idl
|
| +Source/core/html/track/TextTrackRegion.idl
|
| +Source/modules/speech/SpeechSynthesisUtterance.idl
|
| +Source/core/html/MediaController.idl
|
| +Source/core/dom/Range.idl
|
| +Source/core/css/WebKitCSSMatrix.idl
|
| +Source/modules/mediastream/MediaStreamEvent.idl
|
| +Source/core/dom/AutocompleteErrorEvent.idl
|
| +Source/core/dom/FocusEvent.idl
|
| +Source/core/dom/PageTransitionEvent.idl
|
| +Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
|
| +Source/core/html/canvas/WebGLContextEvent.idl
|
| +Source/core/dom/HashChangeEvent.idl
|
| +Source/core/dom/BeforeLoadEvent.idl
|
| +Source/modules/speech/SpeechRecognitionError.idl
|
| +Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
|
| +Source/core/dom/WebKitAnimationEvent.idl
|
| +Source/core/dom/ProgressEvent.idl
|
| +Source/modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| +Source/core/dom/TransitionEvent.idl
|
| +Source/modules/speech/SpeechRecognitionEvent.idl
|
| +Source/modules/webmidi/MIDIConnectionEvent.idl
|
| +Source/core/dom/OverflowEvent.idl
|
| +Source/core/html/MediaKeyEvent.idl
|
| +Source/core/dom/SecurityPolicyViolationEvent.idl
|
| +Source/core/css/CSSFontFaceLoadEvent.idl
|
| +Source/modules/websockets/CloseEvent.idl
|
| +Source/core/dom/ErrorEvent.idl
|
| +Source/modules/webmidi/MIDIMessageEvent.idl
|
| +Source/core/storage/StorageEvent.idl
|
| +Source/core/css/StyleSheetList.idl
|
| +Source/core/html/HTMLCollection.idl
|
| +Source/core/dom/PopStateEvent.idl
|
| +Source/modules/indexeddb/IDBOpenDBRequest.idl
|
| +Source/core/html/track/TrackEvent.idl
|
| +Source/core/dom/DOMStringMap.idl
|
| +Source/core/css/StyleSheet.idl
|
| +Source/modules/filesystem/DOMFileSystem.idl
|
| +Source/modules/webmidi/MIDIAccessPromise.idl
|
| +Source/core/css/CSSStyleSheet.idl
|
| +Source/core/dom/NamedNodeMap.idl
|
| +Source/modules/mediastream/RTCDTMFSender.idl
|
| +Source/modules/indexeddb/IDBRequest.idl
|
| +Source/core/css/FontLoader.idl
|
| +Source/modules/speech/SpeechRecognition.idl
|
| +Source/core/page/EventSource.idl
|
| +Source/core/dom/Event.idl
|
| +Source/modules/indexeddb/IDBAny.idl
|
| +Source/core/dom/EventTarget.idl
|
| +Source/core/dom/NodeFilter.idl
|
| +);
|
| +
|
| +@gen_h = qw(
|
| +);
|
| +@gen_cpp = qw(
|
| +Source/core/dom/CDATASection.idl
|
| +);
|
| +
|
| +if($kw eq "reg") {
|
| + @gen_h = (@ok_callbacks, @ok_non_callback_h);
|
| + @gen_cpp = @ok_callbacks;
|
| + $kw = "";
|
| +}
|
| +
|
| +=memo rest of non-callback-h (parent should be EventTarget but AbstractWorker)
|
| +Source/core/workers/AbstractWorker.idl
|
| +Source/core/workers/Worker.idl
|
| +Source/core/workers/SharedWorker.idl
|
| +Source/core/testing/InternalSettings.idl
|
| +=cut
|
| +
|
| +=memo rest of *Callback.idl (no pickles)
|
| +Source/modules/filesystem/FileCallback.idl
|
| +Source/modules/mediastream/NavigatorUserMediaSuccessCallback.idl
|
| +Source/modules/mediastream/RTCStatsCallback.idl
|
| +Source/modules/quota/StorageErrorCallback.idl
|
| +Source/modules/webmidi/MIDISuccessCallback.idl
|
| +Source/modules/filesystem/ErrorCallback.idl
|
| +Source/modules/webmidi/MIDIErrorCallback.idl
|
| +Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
|
| +=cut
|
| +
|
| +
|
| +@pkl_idls = qw(
|
| +Source/core/dom/CDATASection.idl
|
| +Source/core/html/HTMLQuoteElement.idl
|
| +Source/core/html/HTMLTitleElement.idl
|
| +Source/core/html/HTMLBRElement.idl
|
| +Source/core/html/HTMLMenuElement.idl
|
| +Source/core/html/HTMLDListElement.idl
|
| +Source/core/html/HTMLHeadElement.idl
|
| +Source/core/html/HTMLHeadingElement.idl
|
| +Source/core/html/HTMLDirectoryElement.idl
|
| +Source/core/html/HTMLParagraphElement.idl
|
| +Source/core/html/HTMLBaseElement.idl
|
| +Source/core/html/HTMLDivElement.idl
|
| +Source/core/dom/Notation.idl
|
| +Source/core/html/HTMLLIElement.idl
|
| +Source/core/html/HTMLUListElement.idl
|
| +Source/core/html/HTMLOptGroupElement.idl
|
| +Source/core/html/HTMLModElement.idl
|
| +Source/core/html/HTMLHtmlElement.idl
|
| +Source/core/html/HTMLTableCaptionElement.idl
|
| +Source/core/css/CSSCharsetRule.idl
|
| +Source/core/dom/Comment.idl
|
| +Source/core/html/HTMLDetailsElement.idl
|
| +Source/core/xml/DOMParser.idl
|
| +Source/core/html/HTMLFontElement.idl
|
| +Source/core/dom/Entity.idl
|
| +Source/core/html/HTMLMapElement.idl
|
| +Source/core/html/HTMLLegendElement.idl
|
| +Source/core/css/CSSFontFaceRule.idl
|
| +Source/core/xml/XPathExpression.idl
|
| +Source/core/xml/XMLSerializer.idl
|
| +Source/core/xml/XPathNSResolver.idl
|
| +Source/core/html/HTMLOListElement.idl
|
| +Source/core/html/HTMLProgressElement.idl
|
| +Source/core/html/HTMLHRElement.idl
|
| +Source/core/html/HTMLParamElement.idl
|
| +Source/core/html/HTMLMetaElement.idl
|
| +Source/core/css/MediaQueryList.idl
|
| +Source/core/html/HTMLLabelElement.idl
|
| +Source/core/css/Rect.idl
|
| +Source/core/css/Counter.idl
|
| +Source/core/css/RGBColor.idl
|
| +Source/core/css/CSSImportRule.idl
|
| +Source/core/html/canvas/WebGLBuffer.idl
|
| +Source/core/html/canvas/WebGLShader.idl
|
| +Source/core/html/canvas/WebGLProgram.idl
|
| +Source/core/html/canvas/WebGLTexture.idl
|
| +Source/core/page/PerformanceMark.idl
|
| +Source/core/html/canvas/WebGLFramebuffer.idl
|
| +Source/core/page/PerformanceMeasure.idl
|
| +Source/core/html/canvas/WebGLRenderbuffer.idl
|
| +Source/core/html/HTMLMeterElement.idl
|
| +Source/core/html/canvas/CanvasPattern.idl
|
| +Source/modules/indexeddb/IDBCursorWithValue.idl
|
| +Source/modules/webaudio/ChannelSplitterNode.idl
|
| +Source/core/html/canvas/WebGLUniformLocation.idl
|
| +Source/core/plugins/MimeType.idl
|
| +Source/core/plugins/MimeTypeArray.idl
|
| +Source/core/css/CSSPageRule.idl
|
| +Source/core/css/CSSStyleRule.idl
|
| +Source/core/html/HTMLTableColElement.idl
|
| +Source/core/html/HTMLPreElement.idl
|
| +Source/core/css/StyleSheetList.idl
|
| +Source/core/css/CSSHostRule.idl
|
| +Source/core/html/canvas/EXTFragDepth.idl
|
| +Source/core/html/canvas/OESTextureFloat.idl
|
| +Source/core/html/canvas/OESElementIndexUint.idl
|
| +Source/core/html/canvas/OESTextureFloatLinear.idl
|
| +Source/core/html/canvas/OESTextureHalfFloatLinear.idl
|
| +Source/core/html/canvas/WebGLVertexArrayObjectOES.idl
|
| +Source/core/html/TextMetrics.idl
|
| +Source/modules/webaudio/DelayNode.idl
|
| +Source/modules/mediastream/RTCDataChannelEvent.idl
|
| +Source/modules/webaudio/OfflineAudioCompletionEvent.idl
|
| +Source/modules/webaudio/MediaStreamAudioDestinationNode.idl
|
| +Source/modules/webaudio/MediaStreamAudioSourceNode.idl
|
| +Source/modules/webaudio/MediaElementAudioSourceNode.idl
|
| +Source/modules/webaudio/AudioDestinationNode.idl
|
| +Source/core/html/DOMSettableTokenList.idl
|
| +Source/core/dom/DocumentFragment.idl
|
| +Source/core/plugins/PluginArray.idl
|
| +Source/core/html/HTMLStyleElement.idl
|
| +Source/core/html/HTMLTableSectionElement.idl
|
| +Source/core/css/CSSMediaRule.idl
|
| +Source/core/html/HTMLSpanElement.idl
|
| +Source/core/dom/TouchList.idl
|
| +Source/core/html/HTMLAudioElement.idl
|
| +Source/core/html/canvas/WebGLDebugShaders.idl
|
| +Source/modules/mediastream/MediaStreamTrackEvent.idl
|
| +Source/modules/mediastream/RTCIceCandidateEvent.idl
|
| +Source/modules/mediastream/MediaStreamEvent.idl
|
| +Source/core/dom/AutocompleteErrorEvent.idl
|
| +Source/core/dom/FocusEvent.idl
|
| +Source/modules/webaudio/AudioProcessingEvent.idl
|
| +Source/modules/webaudio/WaveTable.idl
|
| +Source/modules/webaudio/GainNode.idl
|
| +Source/core/dom/ProcessingInstruction.idl
|
| +Source/core/html/HTMLCollection.idl
|
| +Source/core/html/HTMLScriptElement.idl
|
| +Source/core/dom/PageTransitionEvent.idl
|
| +Source/modules/geolocation/Geoposition.idl
|
| +Source/core/page/SpeechInputEvent.idl
|
| +Source/core/html/canvas/WebGLLoseContext.idl
|
| +Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
|
| +Source/core/fileapi/FileList.idl
|
| +Source/core/html/canvas/WebGLDepthTexture.idl
|
| +Source/core/html/canvas/WebGLContextEvent.idl
|
| +Source/core/html/canvas/OESStandardDerivatives.idl
|
| +Source/core/html/canvas/WebGLActiveInfo.idl
|
| +Source/core/dom/PopStateEvent.idl
|
| +Source/modules/indexeddb/IDBOpenDBRequest.idl
|
| +Source/modules/speech/SpeechRecognitionAlternative.idl
|
| +Source/core/fileapi/File.idl
|
| +Source/modules/speech/SpeechRecognitionResultList.idl
|
| +Source/core/testing/MallocStatistics.idl
|
| +Source/modules/webaudio/ConvolverNode.idl
|
| +Source/core/html/RadioNodeList.idl
|
| +Source/modules/quota/StorageQuota.idl
|
| +Source/core/xml/XMLHttpRequestProgressEvent.idl
|
| +Source/core/plugins/Plugin.idl
|
| +Source/core/dom/Text.idl
|
| +Source/core/dom/HashChangeEvent.idl
|
| +Source/core/css/CSSViewportRule.idl
|
| +Source/core/html/canvas/CanvasRenderingContext.idl
|
| +Source/core/dom/BeforeLoadEvent.idl
|
| +Source/core/html/canvas/Canvas2DContextAttributes.idl
|
| +Source/modules/speech/SpeechGrammar.idl
|
| +Source/modules/indexeddb/IDBAny.idl
|
| +Source/core/html/track/TrackEvent.idl
|
| +Source/core/html/canvas/WebGLShaderPrecisionFormat.idl
|
| +Source/core/html/canvas/WebGLDebugRendererInfo.idl
|
| +Source/modules/mediastream/NavigatorUserMediaError.idl
|
| +Source/core/html/canvas/EXTTextureFilterAnisotropic.idl
|
| +Source/modules/speech/SpeechRecognitionError.idl
|
| +Source/core/html/shadow/HTMLContentElement.idl
|
| +Source/modules/gamepad/GamepadList.idl
|
| +Source/core/html/HTMLSourceElement.idl
|
| +Source/core/html/canvas/ArrayBufferView.idl
|
| +Source/core/html/canvas/CanvasGradient.idl
|
| +Source/modules/speech/SpeechSynthesisEvent.idl
|
| +Source/modules/speech/SpeechRecognitionResult.idl
|
| +Source/core/dom/DOMStringList.idl
|
| +Source/core/css/StyleMedia.idl
|
| +Source/core/css/CSSValueList.idl
|
| +Source/core/html/HTMLUnknownElement.idl
|
| +Source/core/page/BarProp.idl
|
| +Source/modules/webaudio/ChannelMergerNode.idl
|
| +Source/core/xml/XPathEvaluator.idl
|
| +Source/core/html/HTMLTableRowElement.idl
|
| +Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
|
| +Source/core/page/SpeechInputResult.idl
|
| +Source/core/html/canvas/OESTextureHalfFloat.idl
|
| +Source/core/page/SpeechInputResultList.idl
|
| +Source/core/html/track/TextTrackCueList.idl
|
| +Source/modules/mediastream/SourceInfo.idl
|
| +Source/core/dom/WebKitAnimationEvent.idl
|
| +Source/core/html/TimeRanges.idl
|
| +Source/modules/indexeddb/IDBVersionChangeEvent.idl
|
| +Source/core/css/CSSRuleList.idl
|
| +Source/modules/webaudio/ScriptProcessorNode.idl
|
| +Source/core/dom/ProgressEvent.idl
|
| +Source/core/dom/DOMStringMap.idl
|
| +Source/core/dom/ClientRectList.idl
|
| +Source/modules/webaudio/AudioSourceNode.idl
|
| +Source/core/html/HTMLFieldSetElement.idl
|
| +Source/core/dom/NodeIterator.idl
|
| +Source/core/css/StyleSheet.idl
|
| +Source/core/html/HTMLOptionElement.idl
|
| +Source/core/css/WebKitCSSMixFunctionValue.idl
|
| +Source/modules/encryptedmedia/MediaKeyMessageEvent.idl
|
| +Source/core/html/HTMLDialogElement.idl
|
| +Source/modules/webaudio/OfflineAudioContext.idl
|
| +Source/core/html/canvas/WebGLCompressedTextureATC.idl
|
| +Source/modules/speech/SpeechGrammarList.idl
|
| +Source/core/dom/TransitionEvent.idl
|
| +Source/modules/quota/StorageInfo.idl
|
| +Source/modules/crypto/SubtleCrypto.idl
|
| +Source/core/html/HTMLTemplateElement.idl
|
| +Source/core/dom/DOMError.idl
|
| +Source/core/html/shadow/HTMLShadowElement.idl
|
| +Source/modules/webaudio/DynamicsCompressorNode.idl
|
| +Source/core/dom/EventTarget.idl
|
| +Source/core/dom/DocumentType.idl
|
| +Source/core/html/ValidityState.idl
|
| +Source/core/html/track/TextTrackRegionList.idl
|
| +Source/modules/encryptedmedia/MediaKeys.idl
|
| +Source/modules/speech/SpeechSynthesisVoice.idl
|
| +Source/modules/speech/SpeechRecognitionEvent.idl
|
| +Source/core/html/canvas/WebGLCompressedTexturePVRTC.idl
|
| +Source/core/html/canvas/WebGLCompressedTextureS3TC.idl
|
| +Source/core/html/MediaError.idl
|
| +Source/modules/filesystem/DirectoryReaderSync.idl
|
| +Source/modules/crypto/WorkerCrypto.idl
|
| +Source/core/html/HTMLDataListElement.idl
|
| +Source/modules/webdatabase/SQLTransactionSync.idl
|
| +Source/modules/filesystem/DirectoryReader.idl
|
| +Source/core/html/ImageData.idl
|
| +Source/core/css/WebKitCSSRegionRule.idl
|
| +Source/core/html/canvas/WebGLContextAttributes.idl
|
| +Source/core/dom/ClientRect.idl
|
| +Source/modules/geolocation/PositionError.idl
|
| +Source/core/css/WebKitCSSFilterRule.idl
|
| +Source/core/html/canvas/OESVertexArrayObject.idl
|
| +Source/core/inspector/InspectorOverlayHost.idl
|
| +Source/modules/filesystem/DOMFileSystemSync.idl
|
| +Source/modules/filesystem/FileEntrySync.idl
|
| +Source/modules/webmidi/MIDIConnectionEvent.idl
|
| +Source/modules/filesystem/Metadata.idl
|
| +Source/core/css/CSS.idl
|
| +Source/modules/filesystem/EntryArray.idl
|
| +Source/modules/filesystem/EntryArraySync.idl
|
| +Source/modules/webdatabase/SQLResultSet.idl
|
| +Source/modules/filesystem/FileEntry.idl
|
| +Source/core/dom/TreeWalker.idl
|
| +Source/core/html/HTMLEmbedElement.idl
|
| +Source/core/dom/OverflowEvent.idl
|
| +Source/modules/webmidi/MIDIInput.idl
|
| +Source/modules/performance/WorkerPerformance.idl
|
| +Source/core/workers/SharedWorkerContext.idl
|
| +Source/core/html/ime/Composition.idl
|
| +Source/modules/webdatabase/SQLTransaction.idl
|
| +Source/core/html/MediaKeyError.idl
|
| +Source/core/workers/AbstractWorker.idl
|
| +Source/modules/webdatabase/Database.idl
|
| +Source/core/css/CSSValue.idl
|
| +Source/core/html/HTMLTableCellElement.idl
|
| +Source/core/dom/TextEvent.idl
|
| +Source/core/css/MediaList.idl
|
| +Source/core/html/MediaKeyEvent.idl
|
| +Source/modules/mediastream/RTCSessionDescription.idl
|
| +Source/core/dom/SecurityPolicyViolationEvent.idl
|
| +Source/core/css/WebKitCSSKeyframeRule.idl
|
| +Source/core/css/CSSFontFaceLoadEvent.idl
|
| +Source/modules/filesystem/DOMFileSystem.idl
|
| +Source/modules/websockets/CloseEvent.idl
|
| +Source/core/dom/ErrorEvent.idl
|
| +Source/modules/filesystem/DirectoryEntrySync.idl
|
| +Source/core/css/CSSSupportsRule.idl
|
| +Source/modules/filesystem/DirectoryEntry.idl
|
| +Source/modules/webaudio/AudioListener.idl
|
| +Source/core/dom/ResourceProgressEvent.idl
|
| +Source/core/dom/Attr.idl
|
| +Source/core/html/HTMLAreaElement.idl
|
| +Source/core/html/HTMLLinkElement.idl
|
| +Source/core/dom/WebKitNamedFlowCollection.idl
|
| +Source/core/dom/CompositionEvent.idl
|
| +Source/core/dom/Touch.idl
|
| +Source/modules/mediastream/RTCIceCandidate.idl
|
| +Source/core/page/PerformanceEntry.idl
|
| +Source/core/fileapi/FileReaderSync.idl
|
| +Source/modules/webmidi/MIDIMessageEvent.idl
|
| +Source/modules/webmidi/MIDIAccessPromise.idl
|
| +Source/core/css/CSSStyleSheet.idl
|
| +Source/core/html/HTMLAppletElement.idl
|
| +Source/modules/geolocation/Geolocation.idl
|
| +Source/core/page/MemoryInfo.idl
|
| +Source/modules/webdatabase/DatabaseSync.idl
|
| +Source/core/page/Screen.idl
|
| +Source/core/html/canvas/ANGLEInstancedArrays.idl
|
| +Source/core/storage/Storage.idl
|
| +Source/core/dom/UIEvent.idl
|
| +Source/core/html/HTMLMarqueeElement.idl
|
| +Source/core/html/HTMLButtonElement.idl
|
| +Source/core/html/canvas/Int16Array.idl
|
| +Source/core/html/HTMLOutputElement.idl
|
| +Source/core/html/canvas/Uint8Array.idl
|
| +Source/core/html/canvas/Uint16Array.idl
|
| +Source/core/html/canvas/Uint32Array.idl
|
| +Source/modules/filesystem/FileWriterSync.idl
|
| +Source/core/page/PerformanceNavigation.idl
|
| +Source/modules/crypto/Crypto.idl
|
| +Source/modules/webaudio/AudioBuffer.idl
|
| +Source/core/dom/CharacterData.idl
|
| +Source/core/workers/Worker.idl
|
| +Source/core/testing/TypeConversions.idl
|
| +Source/core/html/canvas/Float64Array.idl
|
| +Source/core/html/canvas/Int8Array.idl
|
| +Source/core/html/canvas/Int32Array.idl
|
| +Source/core/html/canvas/Float32Array.idl
|
| +Source/core/html/canvas/Uint8ClampedArray.idl
|
| +Source/core/page/PagePopupController.idl
|
| +Source/core/css/WebKitCSSKeyframesRule.idl
|
| +Source/core/html/ime/InputMethodContext.idl
|
| +Source/core/html/track/TextTrackRegion.idl
|
| +Source/core/workers/SharedWorker.idl
|
| +Source/core/workers/WorkerLocation.idl
|
| +Source/core/dom/Clipboard.idl
|
| +Source/core/dom/MutationEvent.idl
|
| +Source/core/html/HTMLIFrameElement.idl
|
| +Source/core/html/track/TextTrackList.idl
|
| +Source/modules/webdatabase/SQLError.idl
|
| +Source/core/html/HTMLImageElement.idl
|
| +Source/core/page/SecurityPolicy.idl
|
| +Source/core/dom/MutationRecord.idl
|
| +Source/modules/webaudio/AnalyserNode.idl
|
| +Source/core/html/HTMLFrameElement.idl
|
| +Source/core/dom/KeyboardEvent.idl
|
| +Source/modules/speech/SpeechSynthesisUtterance.idl
|
| +Source/core/dom/NodeFilter.idl
|
| +Source/core/page/PerformanceResourceTiming.idl
|
| +Source/modules/webdatabase/SQLException.idl
|
| +Source/core/dom/shadow/ShadowRoot.idl
|
| +Source/modules/filesystem/EntrySync.idl
|
| +Source/core/storage/StorageEvent.idl
|
| +Source/modules/filesystem/Entry.idl
|
| +Source/core/fileapi/FileError.idl
|
| +Source/core/dom/DOMImplementation.idl
|
| +Source/core/dom/WheelEvent.idl
|
| +Source/core/xml/XPathResult.idl
|
| +Source/modules/mediasource/WebKitSourceBufferList.idl
|
| +Source/modules/mediasource/WebKitSourceBuffer.idl
|
| +Source/core/dom/TouchEvent.idl
|
| +Source/core/css/WebKitCSSFilterValue.idl
|
| +Source/modules/webaudio/BiquadFilterNode.idl
|
| +Source/core/dom/NamedNodeMap.idl
|
| +Source/core/html/HTMLAnchorElement.idl
|
| +Source/modules/mediastream/RTCDTMFSender.idl
|
| +Source/modules/mediasource/SourceBufferList.idl
|
| +Source/core/html/HTMLKeygenElement.idl
|
| +Source/core/xml/XMLHttpRequestUpload.idl
|
| +Source/core/xml/XSLTProcessor.idl
|
| +Source/core/html/HTMLTableElement.idl
|
| +Source/core/html/HTMLFrameSetElement.idl
|
| +Source/core/dom/WebKitNamedFlow.idl
|
| +Source/core/html/HTMLVideoElement.idl
|
| +Source/modules/indexeddb/IDBTransaction.idl
|
| +Source/core/html/HTMLBodyElement.idl
|
| +Source/core/html/HTMLSelectElement.idl
|
| +Source/core/html/HTMLDocument.idl
|
| +Source/modules/encryptedmedia/MediaKeySession.idl
|
| +Source/modules/indexeddb/IDBRequest.idl
|
| +Source/core/page/PerformanceTiming.idl
|
| +Source/core/html/HTMLObjectElement.idl
|
| +Source/modules/mediastream/RTCDataChannel.idl
|
| +Source/modules/webaudio/AudioBufferSourceNode.idl
|
| +Source/core/fileapi/FileException.idl
|
| +Source/core/css/FontLoader.idl
|
| +Source/modules/webaudio/OscillatorNode.idl
|
| +Source/modules/webaudio/PannerNode.idl
|
| +Source/core/html/MediaController.idl
|
| +Source/core/page/Console.idl
|
| +Source/core/testing/InternalSettings.idl
|
| +Source/modules/webaudio/AudioParam.idl
|
| +Source/core/html/HTMLElement.idl
|
| +Source/core/css/WebKitCSSTransformValue.idl
|
| +Source/core/dom/MouseEvent.idl
|
| +Source/modules/mediasource/SourceBuffer.idl
|
| +Source/core/html/HTMLTextAreaElement.idl
|
| +Source/modules/speech/SpeechRecognition.idl
|
| +Source/core/loader/appcache/DOMApplicationCache.idl
|
| +Source/core/page/EventSource.idl
|
| +Source/core/css/CSSPrimitiveValue.idl
|
| +Source/modules/filesystem/FileWriter.idl
|
| +Source/core/fileapi/FileReader.idl
|
| +Source/core/dom/Event.idl
|
| +Source/core/dom/DOMException.idl
|
| +Source/core/page/Selection.idl
|
| +Source/core/dom/Range.idl
|
| +Source/core/css/WebKitCSSMatrix.idl
|
| +Source/core/dom/Node.idl
|
| +);
|
| +
|
| +`rm -Rf /mnt/hdd/rewrite_out_ref/*`;
|
| +`rm -Rf /mnt/hdd/rewrite_out_try/*`;
|
| +$count = 0;
|
| +@no_error_files = ();
|
| +@result_ok_idls = ();
|
| +@result_ng_idls = ();
|
| +sub run_set {
|
| + my $isH = shift;
|
| + my @files = @_;
|
| + for $idl (@files) {
|
| + next if $idl =~ /^#/;
|
| + if($idl =~ m|/([^./]+)\.idl$|) {
|
| + $base = $1;
|
| + next if $kw and $base ne $kw;
|
| + print "-" x 80, "\n";
|
| + $type = $isH ? "h" : "cpp";
|
| + print "try $type for $idl $base\n";
|
| + print "-" x 80, "\n";
|
| + if($isH) {
|
| + `cp /mnt/hdd/chromium/src/out/Release/gen/webkit/bindings/V8$base.h /mnt/hdd/rewrite_out_ref/`;
|
| + } else {
|
| + `cp /mnt/hdd/chromium/src/out/Release/gen/webcore/bindings/V8$base.cpp /mnt/hdd/rewrite_out_ref/`;
|
| + }
|
| + $flag = $isH ? "--no_cpp=1" : "--no_h=1";
|
| + @result = `python scripts/generate_bindings.py $flag --output-directory=/mnt/hdd/rewrite_out_try --output-headers-directory=/mnt/hdd/rewrite_out_try ../../$idl 2>&1`;
|
| + print @result;
|
| + if(! grep{/No such file/ && /pkl/} @result) {
|
| + push @no_error_files, $idl;
|
| + }
|
| + $ext = $isH ? "h" : "cpp";
|
| + @diff = `diff -B /mnt/hdd/rewrite_out_ref/V8$base.$ext /mnt/hdd/rewrite_out_try/V8$base.$ext 2>&1`;
|
| + if(@diff) {
|
| + print "DIFF\n", @diff;
|
| + push @result_ng_idls, $idl;
|
| + } else {
|
| + push @result_ok_idls, $idl;
|
| + }
|
| + $count++;
|
| + }
|
| + }
|
| +}
|
| +run_set(1, @gen_h);
|
| +run_set(0, @gen_cpp);
|
| +print "\n$count files processed\n";
|
| +print "No pkl error files: ", scalar(@no_error_files), "\n";
|
| +print "OK files: ", scalar(@result_ok_idls), "\n";
|
| +print "NG files: ", scalar(@result_ng_idls), "\n";
|
| +#map{print "$_\n"}@no_error_files;
|
| +
|
| +open($f, ">", "ok.txt") or die $@;
|
| +map{print $f "$_\n"}@result_ok_idls;
|
| +close $f;
|
| +
|
| +open($f, ">", "ng.txt") or die $@;
|
| +map{print $f "$_\n"}@result_ng_idls;
|
| +close $f;
|
| +
|
| +`diff -r -B /mnt/hdd/rewrite_out_ref /mnt/hdd/rewrite_out_try | tee diff.txt`;
|
| +
|
|
|