haikuwebkit/LayoutTests/inspector/canvas/recording-2d-full-expected.txt

1020 lines
28 KiB
Plaintext
Raw Permalink Normal View History

Web Inspector: Record actions performed on CanvasRenderingContext2D https://bugs.webkit.org/show_bug.cgi?id=174482 Reviewed by Joseph Pecoraro. Source/WebCore: Tests: inspector/canvas/recording-2d.html inspector/canvas/recording.html * html/canvas/CanvasRenderingContext2D.idl: Add CallTracingCallback to interface to record all API calls. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::paint): If a recording is active, mark the current frame as completed. * bindings/scripts/CodeGeneratorJS.pm: (GenerateAttributeGetterBodyDefinition): (GenerateAttributeSetterBodyDefinition): (GenerateImplementationFunctionCall): (GenerateCallTracerParameter): (GenerateCallTracer): * bindings/scripts/test/TestCallTracer.idl: * bindings/scripts/test/JS/JSTestCallTracer.cpp: (WebCore::setJSTestCallTracerTestAttributeInterfaceSetter): (WebCore::setJSTestCallTracerTestAttributeSpecifiedSetter): (WebCore::jsTestCallTracerTestAttributeWithVariantGetter): (WebCore::jsTestCallTracerTestAttributeWithVariant): (WebCore::setJSTestCallTracerTestAttributeWithVariantSetter): (WebCore::setJSTestCallTracerTestAttributeWithVariant): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationInterfaceBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationSpecifiedBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithArgumentsBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableArgumentBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgumentBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgument): * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::buildAction): Change CallTracer IDL generation to flatten any variants so that all types for the parameters of an action are able to be listed in a single variant. This prevents possible ambiguity when constructing the variant, as they require that exactly one type be constructible and a sub-variant might not satisfy that condition. This was only an issue for older mac SDKs. * bindings/js/CallTracer.h: * bindings/js/CallTracer.cpp: (WebCore::CallTracer::recordCanvasAction): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvasAgent.h: * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::recordCanvasAction): * inspector/InspectorInstrumentation.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::recordCanvasAction): (WebCore::InspectorInstrumentation::recordCanvasActionImpl): Rename CanvasActionParameterVariant to RecordCanvasActionVariant to match what is expected by the IDL generator. Also remove unnecessary includes now that they are in CallTracerTypes.h. * CMakeLists.txt: * bindings/js/JSBindingsAllInOne.cpp: Add CallTracer for CMake builds. LayoutTests: * inspector/canvas/recording-2d-expected.txt: Added. * inspector/canvas/recording-2d.html: Added. * inspector/canvas/recording-expected.txt: Added. * inspector/canvas/recording.html: Added. Take a recording of all CanvasRenderingContext2D actions and dump the recorded JSON data. Canonical link: https://commits.webkit.org/191737@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-28 18:22:17 +00:00
Test that CanvasManager is able to record actions made to 2D canvas contexts.
== Running test suite: Canvas.recording2D
-- Running test case: Canvas.recording2D.multipleFrames
initialState:
attributes:
width: 2
height: 2
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
current state:
setTransform: [[1,0,0,1,0,0]]
globalAlpha: 1
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
globalCompositeOperation: "source-over"
lineWidth: 1
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
lineCap: "butt"
lineJoin: "miter"
miterLimit: 10
shadowOffsetX: 0
shadowOffsetY: 0
shadowBlur: 0
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
shadowColor: "rgba(0, 0, 0, 0)"
setLineDash: [[]]
lineDashOffset: 0
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
font: "10px sans-serif"
textAlign: "start"
textBaseline: "alphabetic"
Fix inspector viewing of canvas save/restore stack, and tighten and simplify CanvasRenderingContext2DBase https://bugs.webkit.org/show_bug.cgi?id=222532 Reviewed by Sam Weinig. Source/WebCore: The inspector code is the only client that looks into the graphics context and gets at saved states in the save/restore state stack. It was doing so in an inconsistent way, and in may cases ignoring the state in the stack and simply using the current state. This fixes almost everything to actually use the state stack. Separately did some related refactoring. This includes a bit more inlining and removing a class that was being used in the interface to Path where we can more simply use a Function<>. * WebCore.xcodeproj/project.pbxproj: Removed StrokeStyleApplier.h. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::setFont): Use a global AtomString for the default font family name so we don't potentially create a new one every time we call this function. Call usesCSSCompatibilityParseMode so we don't have to get at private member m_usesCSSCompatibilityParseMode. (WebCore::CanvasRenderingContext2D::measureText): Call defaultFontFamily(), which returns an AtomString so we don't have to look it up every time this function is called. (WebCore::CanvasRenderingContext2D::drawTextInternal): Removed unnecessary allocation of a TextMetrics object, which we don't use and then deallocate. Update since normalizedSpaces now uses a return value instead of an in/out argument. Also use && instead of ?: and update for name change of canDrawTextWithParams. * html/canvas/CanvasRenderingContext2D.h: Removed unneeded header includes, unneeded override of webkitBackingStorePixelRatio and made the override of is2d private, since no one should need to call it on a CanvasRenderingContext2D. * html/canvas/CanvasRenderingContext2DBase.cpp: Use constexpr for a file-local constant. (WebCore::CanvasStrokeStyleApplier::CanvasStrokeStyleApplier): Deleted this entire class, since we now use a function instead of an object. (WebCore::toCanvasLineCap): Moved these functions to the top of the file since they are now used in the State class. (WebCore::fromCanvasLineCap): Ditto. (WebCore::toCanvasLineJoin): Ditto. (WebCore::fromCanvasLineJoin): Ditto. (WebCore::toCanvasTextAlign): Ditto. (WebCore::fromCanvasTextAlign): Ditto. (WebCore::toCanvasTextBaseline): Ditto. (WebCore::fromCanvasTextBaseline): Ditto. (WebCore::CanvasRenderingContext2DBase::State::operator=): Deleted the copy constructor and assignment operator since they are the default ones. (WebCore::CanvasRenderingContext2DBase::State::fontString const): Added. Moved the code here from the function named font, making it possible to use this in the inspector code. (WebCore::CanvasRenderingContext2DBase::State::canvasLineCap const): Ditto. (WebCore::CanvasRenderingContext2DBase::State::canvasLineJoin const): Ditto. (WebCore::CanvasRenderingContext2DBase::State::canvasTextAlign const): Ditto. (WebCore::CanvasRenderingContext2DBase::State::canvasTextBaseline const): Ditto. (WebCore::CanvasRenderingContext2DBase::State::globalCompositeOperationString const): Ditto. (WebCore::CanvasRenderingContext2DBase::State::shadowColorString const): Ditto. (WebCore::CanvasRenderingContext2DBase::lineWidth const): Moved to the header. (WebCore::CanvasRenderingContext2DBase::lineCap const): Ditto. (WebCore::CanvasRenderingContext2DBase::lineJoin const): Ditto. (WebCore::CanvasRenderingContext2DBase::miterLimit const): Ditto. (WebCore::CanvasRenderingContext2DBase::shadowOffsetX const): Ditto. (WebCore::CanvasRenderingContext2DBase::shadowOffsetY const): Ditto. (WebCore::CanvasRenderingContext2DBase::shadowBlur const): Ditto. (WebCore::CanvasRenderingContext2DBase::shadowColor const): Ditto. (WebCore::CanvasRenderingContext2DBase::getLineDash const): Ditto. (WebCore::CanvasRenderingContext2DBase::lineDashOffset const): Ditto. (WebCore::CanvasRenderingContext2DBase::globalAlpha const): Ditto. (WebCore::CanvasRenderingContext2DBase::globalCompositeOperation const): Ditto. (WebCore::isFullCanvasCompositeMode): Made this file local, no longer a member function. (WebCore::CanvasRenderingContext2DBase::isPointInPathInternal): Tweak style to match the following function. (WebCore::CanvasRenderingContext2DBase::isPointInStrokeInternal): Use a lambda for the stroke style applier so we don't need a class. (WebCore::CanvasRenderingContext2DBase::didDrawEntireCanvas): Updated since didDraw now takes an OptionSet. (WebCore::CanvasRenderingContext2DBase::didDraw): Updated to take an OptionSet. (WebCore::CanvasRenderingContext2DBase::getImageData const): Use a single makeString instead of a StringBuilder for an error message. (WebCore::CanvasRenderingContext2DBase::putImageData): Updated since didDraw now takes an OptionSet. (WebCore::CanvasRenderingContext2DBase::imageSmoothingQuality const): Moved to the header. (WebCore::CanvasRenderingContext2DBase::imageSmoothingEnabled const): Ditto. (WebCore::CanvasRenderingContext2DBase::font const): Ditto. The bulk of the function is now in CanvasRenderingContext2DBase::State::fontString. (WebCore::CanvasRenderingContext2DBase::textAlign const): Deleted. (WebCore::CanvasRenderingContext2DBase::textBaseline const): Deleted. (WebCore::CanvasRenderingContext2DBase::canDrawText): Renamed from canDrawTextWithParams, since the fact that a function has parameters doesn't need to be part of its name. (WebCore::CanvasRenderingContext2DBase::normalizeSpaces): Use a return value instead of an in/out argument for better clarity. This also matches the needs of all the call sites. (WebCore::CanvasRenderingContext2DBase::drawText): Updated for changes to canDrawText and normalizeSpaces. (WebCore::CanvasRenderingContext2DBase::measureTextInternal): Ditto. * html/canvas/CanvasRenderingContext2DBase.h: Removed unneeded forward declarations. Made the constructor protected. Moved the code for many simple getters here so they can be inlined. The main call site is the JavaScript bindings. Removed unused getLineCap and getLineJoin functions. Made the webkitBackingStorePixelRatio function static and constexpr. Removed unused usesDisplayListDrawing function. Marked the FontProxy class final. Removed the explicit copy constructor and assignment operator from the State struct: letting the compiler generate it is better for our purposes. Made the state function protected. Made most formerly-protected members private instead, since there is no need for derived classes to use them. Made the enumeration CanvasDidDrawOption into an enum class named DidDrawOption and use it with OptionSet instead of passing it as an unsigned. Marked hasInvertibleTransform final instead of override. * html/canvas/OffscreenCanvasRenderingContext2D.cpp: (WebCore::OffscreenCanvasRenderingContext2D::setFont): Call usesCSSCompatibilityParseMode so we don't have to get at private member m_usesCSSCompatibilityParseMode. * html/canvas/OffscreenCanvasRenderingContext2D.h: Made isOffscreen2d private. * html/canvas/PaintRenderingContext2D.h: Made isPaint private. * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildInitialState): When iterating the state stack, do not get anything directly from the context, since it will give the value for the current state, not the stack element we are iterating. Added a FIXME for the one case where this was not easy to fix, "setPath", and left it broken as before. * platform/graphics/ImageBufferBackend.cpp: (WebCore::ImageBufferBackend::getImageData const): Removed unneeded null check for the data. ImageData::create will return nullptr, not an object with nullptr for data. * platform/graphics/Path.h: Use Function<void(GraphicsContext&)> instead of StrkeStyleApplier. * platform/graphics/StrokeStyleApplier.h: Removed. * platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::strokeBoundingRect const): Use Function<void(GraphicsContext&)>. (WebCore::Path::strokeContains const): Ditto. * platform/graphics/cg/PathCG.cpp: (WebCore::Path::strokeContains const): Ditto. (WebCore::Path::strokeBoundingRect const): Ditto. * platform/graphics/win/PathDirect2D.cpp: (WebCore::Path::strokeContains const): Ditto. (WebCore::Path::strokeBoundingRect const): Ditto. * rendering/svg/RenderSVGResourceGradient.cpp: (WebCore::RenderSVGResourceGradient::applyResource): Pass a reference to SVGRenderSupport::applyStrokeStyleToContext instead of a pointer. * rendering/svg/RenderSVGResourcePattern.cpp: (WebCore::RenderSVGResourcePattern::applyResource): Ditto. * rendering/svg/RenderSVGResourceSolidColor.cpp: (WebCore::RenderSVGResourceSolidColor::applyResource): Ditto. * rendering/svg/RenderSVGShape.cpp: (WebCore::RenderSVGShape::shapeDependentStrokeContains): Use a lambda instead of a StrokeStyleApplier object when calling strokeContainer. (WebCore::RenderSVGShape::calculateStrokeBoundingBox const): Use a lambda instead of a StrokeStyleApplier object when calling strokeBoundingRect. * rendering/svg/SVGRenderSupport.cpp: (WebCore::SVGRenderSupport::applyStrokeStyleToContext): Take a reference rather than a pointer. * rendering/svg/SVGRenderSupport.h: Updated for the above. LayoutTests: * inspector/canvas/recording-2d-frameCount-expected.txt: Update since the state stack value of the direction property is now correctly saved. * inspector/canvas/recording-2d-full-expected.txt: Ditto. * inspector/canvas/recording-2d-memoryLimit-expected.txt: Ditto. * inspector/canvas/recording-2d-saves-expected.txt: Updated. * inspector/canvas/recording-2d-saves.html: Added tests of setting all the properties that the inspector canvas state machinery serializes, rather than just testing fillStyle. * inspector/canvas/resources/recording-2d.js: (performSavePreActions.saveAndSet): Ditto. (performSavePreActions): Ditto. Canonical link: https://commits.webkit.org/235035@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-08 21:47:39 +00:00
direction: "inherit"
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
strokeStyle: "#000000"
fillStyle: "#000000"
imageSmoothingEnabled: true
Web Inspector: Canvas: capture previously saved states and add them to the recording payload https://bugs.webkit.org/show_bug.cgi?id=190473 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `states` key to `InitialState` object. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/model/recording.html Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. * html/canvas/CanvasRenderingContext2DBase.h: * html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::stateStack): Added. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::stringIndexForKey): Added. (WebCore::InspectorCanvas::buildInitialState): Source/WebInspectorUI: Instead of sending a single object of the current state of the context, send an array of objects, one for each restore point. When replaying, recreate each restore point before applying the selected action(s). * UserInterface/Models/Recording.js: (WI.Recording): (WI.Recording.fromPayload): (WI.Recording.prototype.toJSON): (WI.Recording.prototype.async._process): (WI.Recording.prototype.async._swizzleState): Added. * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.deriveCurrentState): Added. (WI.RecordingAction.prototype.get states): Added. (WI.RecordingAction.prototype.process): (WI.RecordingAction.prototype.get state): Deleted. Drive-by: when `process`ing, also check to see if any values in the current state changed outside of those expected in `_stateModifiers` (e.g. `restore` may modify some state values). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D): * UserInterface/Views/RecordingStateDetailsSidebarPanel.js: (WI.RecordingStateDetailsSidebarPanel.prototype._generateDetailsCanvas2D): Default to showing the most recent (current) state. * UserInterface/Views/CanvasTabContentView.js: (WI.CanvasTabContentView.prototype.initialLayout): Added. (WI.CanvasTabContentView.prototype._addCanvas): (WI.CanvasTabContentView.prototype._removeCanvas): (WI.CanvasTabContentView.prototype._addRecording): Added. (WI.CanvasTabContentView.prototype._recordingImportedOrStopped): (WI.CanvasTabContentView.prototype._recordingAdded): Deleted. * UserInterface/Controllers/CanvasManager.js: (WI.CanvasManager): (WI.CanvasManager.prototype.get importedRecordings): Added. (WI.CanvasManager.prototype.importRecording): Drive-by: store imported recordings on `WI.CanvasManager` so that if the Canvas tab is closed we can still show the list of imported recordings. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): (TestPage.registerInitializer.async.logRecording): Added. (TestPage.registerInitializer.logRecording): Deleted. * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/205569@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-16 19:23:21 +00:00
imageSmoothingQuality: "low"
Web Inspector: Canvas: export recording as HTML https://bugs.webkit.org/show_bug.cgi?id=195311 <rdar://problem/48588673> Reviewed by Joseph Pecoraro. Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.prototype.async swizzle): (WI.Recording.prototype.toHTML): Added. (WI.Recording.prototype.toHTML.escapeHTML): Added. (WI.Recording.prototype.toHTML.processObject): Added. (WI.Recording.prototype.toHTML.processValue): Added. * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype._exportRecording): (WI.RecordingContentView.prototype._exportReduction): Added. (WI.RecordingContentView.prototype._updateExportButton): Added. (WI.RecordingContentView.prototype._handleExportNavigationItemClicked): Added. (WI.RecordingContentView.prototype._handleRecordingProcessedAction): * UserInterface/Views/CanvasOverviewContentView.js: (WI.CanvasOverviewContentView): * UserInterface/Views/HeapAllocationsTimelineView.js: (WI.HeapAllocationsTimelineView): * UserInterface/Views/HeapSnapshotContentView.js: (WI.HeapSnapshotContentView): Drive-by: s/`toolTip`/`tooltip`. * Localizations/en.lproj/localizedStrings.js: LayoutTests: * inspector/canvas/recording-html-2d.html: Added. * inspector/canvas/recording-html-2d-expected.txt: Added. * inspector/canvas/recording-2d-expected.txt: Added. * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer.log): (TestPage.registerInitializer.window.startRecording): * platform/ios-wk1/TestExpectations: * platform/mac-wk1/TestExpectations: Canonical link: https://commits.webkit.org/209937@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-03-12 18:59:29 +00:00
setPath: [""]
parameters:
content: <filtered>
frames:
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
0: (duration)
0: arc(1, 2, 3, 4, 5, false)
swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: arc
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
5: performActions
6: Global Code
7: evaluateWithScopeExtension
Web Inspector: Audit: create new IDL type for exposing special functionality in test context https://bugs.webkit.org/show_bug.cgi?id=193149 <rdar://problem/46801218> Reviewed by Joseph Pecoraro. Source/JavaScriptCore: Create a new `AuditAgent` (and various subclasses for different inspection targets) * inspector/protocol/Audit.json: Added. Add a `run` command that is a simpler version of `Runtime.evaluate`, except that it expects a function string instead of an arbitrary JavaScript expression. Add `setup` and `teardown` commands that create a JavaScript object that will be passed in to the test as an argument. Keep this object alive so that tests can add to the object and have later tests use what was added. * inspector/agents/InspectorAuditAgent.h: Added. * inspector/agents/InspectorAuditAgent.cpp: Added. (Inspector::InspectorAuditAgent::InspectorAuditAgent): (Inspector::InspectorAuditAgent::didCreateFrontendAndBackend): (Inspector::InspectorAuditAgent::willDestroyFrontendAndBackend): (Inspector::InspectorAuditAgent::setup): (Inspector::InspectorAuditAgent::run): (Inspector::InspectorAuditAgent::teardown): (Inspector::InspectorAuditAgent::hasActiveAudit): (Inspector::InspectorAuditAgent::populateAuditObject): * inspector/agents/JSGlobalObjectAuditAgent.h: Added. * inspector/agents/JSGlobalObjectAuditAgent.cpp: Added. (Inspector::JSGlobalObjectAuditAgent::JSGlobalObjectAuditAgent): (Inspector::JSGlobalObjectAuditAgent::injectedScriptForEval): * inspector/JSGlobalObjectInspectorController.h: * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::jsAgentContext): Added. (Inspector::JSGlobalObjectInspectorController::createLazyAgents): Added. * inspector/InjectedScript.h: * inspector/InjectedScript.cpp: (Inspector::InjectedScript::execute): Added. (Inspector::InjectedScript::arrayFromVector): Added. Create a version of `evaluate` that accepts a list of values to be passed in as arguments to the function that was created by the `eval` of the given `functionString`. * inspector/InjectedScriptSource.js: (InjectedScript.prototype.execute): Added. (InjectedScript.prototype.evaluate): (InjectedScript.prototype.evaluateOnCallFrame): (InjectedScript.prototype._evaluateAndWrap): (InjectedScript.prototype._wrapAndSaveCall): Added. (InjectedScript.prototype._wrapCall): Added. (InjectedScript.prototype._evaluateOn): Refactor the `eval` and `saveResult` logic to allow for more flexibility for other callers. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources.make: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * UnifiedSources-input.xcfilelist: Source/WebCore: Tests: inspector/audit/run.html inspector/audit/setup.html inspector/audit/teardown.html Create a new `AuditAgent` (and various subclasses for different inspection targets), as well as `InspectorAuditAccessibilityObject` and `InspectorAuditDOMObject` objects that will be injected into the test function to allow for more advanced testing. * inspector/InspectorAuditAccessibilityObject.idl: Added. * inspector/InspectorAuditAccessibilityObject.h: Added. (WebCore::InspectorAuditAccessibilityObject::create): * inspector/InspectorAuditAccessibilityObject.cpp: Added. (WebCore::InspectorAuditAccessibilityObject::InspectorAuditAccessibilityObject): * inspector/InspectorAuditDOMObject.idl: Added. * inspector/InspectorAuditDOMObject.h: Added. (WebCore::InspectorAuditDOMObject::create): * inspector/InspectorAuditDOMObject.cpp: Added. (WebCore::InspectorAuditDOMObject::InspectorAuditDOMObject): * inspector/agents/page/PageAuditAgent.h: Added. * inspector/agents/page/PageAuditAgent.cpp: Added. (WebCore::PageAuditAgent::PageAuditAgent): (WebCore::PageAuditAgent::injectedScriptForEval): (WebCore::PageAuditAgent::populateAuditObject): (WebCore::PageAuditAgent::muteConsole): (WebCore::PageAuditAgent::unmuteConsole): * inspector/agents/worker/WorkerAuditAgent.h: Added. * inspector/agents/worker/WorkerAuditAgent.cpp: Added. (WebCore::WorkerAuditAgent::WorkerAuditAgent): (WebCore::WorkerAuditAgent::injectedScriptForEval): * inspector/InspectorController.cpp: (WebCore::InspectorController::createLazyAgents): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::createLazyAgents): * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * UnifiedSources-input.xcfilelist: * WebCore.xcodeproj/project.pbxproj: Source/WebInspectorUI: Add `AuditAgent` getters and plumbing. * UserInterface/Protocol/Target.js: (WI.Target.prototype.get AuditAgent): Added. * UserInterface/Models/AuditTestCase.js: (WI.AuditTestCase.prototype.async run): * UserInterface/Controllers/AuditManager.js: (WI.AuditManager.prototype.async start): * .eslintrc: LayoutTests: * inspector/audit/resources/audit-utilities.js: (TestPage.registerInitializer.InspectorTest.Audit.setupAudit): Added. (TestPage.registerInitializer.InspectorTest.Audit.teardownAudit): Added. * inspector/audit/run.html: Added. * inspector/audit/run-expected.txt: Added. * inspector/audit/setup.html: Added. * inspector/audit/setup-expected.txt: Added. * inspector/audit/teardown.html: Added. * inspector/audit/teardown-expected.txt: Added. * inspector/canvas/create-context-2d-expected.txt: * inspector/canvas/create-context-bitmaprenderer-expected.txt: * inspector/canvas/create-context-webgl-expected.txt: * inspector/canvas/create-context-webgl2-expected.txt: * inspector/canvas/create-context-webmetal-expected.txt: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/model/remote-object-expected.txt: * inspector/model/stack-trace-expected.txt: Canonical link: https://commits.webkit.org/207945@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-15 08:25:33 +00:00
8: (anonymous function)
9: _wrapCall
1: arc(6, 7, 8, 9, 10, true)
swizzleTypes: [Number, Number, Number, Number, Number, Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: arc
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
5: performActions
6: Global Code
7: evaluateWithScopeExtension
Web Inspector: Audit: create new IDL type for exposing special functionality in test context https://bugs.webkit.org/show_bug.cgi?id=193149 <rdar://problem/46801218> Reviewed by Joseph Pecoraro. Source/JavaScriptCore: Create a new `AuditAgent` (and various subclasses for different inspection targets) * inspector/protocol/Audit.json: Added. Add a `run` command that is a simpler version of `Runtime.evaluate`, except that it expects a function string instead of an arbitrary JavaScript expression. Add `setup` and `teardown` commands that create a JavaScript object that will be passed in to the test as an argument. Keep this object alive so that tests can add to the object and have later tests use what was added. * inspector/agents/InspectorAuditAgent.h: Added. * inspector/agents/InspectorAuditAgent.cpp: Added. (Inspector::InspectorAuditAgent::InspectorAuditAgent): (Inspector::InspectorAuditAgent::didCreateFrontendAndBackend): (Inspector::InspectorAuditAgent::willDestroyFrontendAndBackend): (Inspector::InspectorAuditAgent::setup): (Inspector::InspectorAuditAgent::run): (Inspector::InspectorAuditAgent::teardown): (Inspector::InspectorAuditAgent::hasActiveAudit): (Inspector::InspectorAuditAgent::populateAuditObject): * inspector/agents/JSGlobalObjectAuditAgent.h: Added. * inspector/agents/JSGlobalObjectAuditAgent.cpp: Added. (Inspector::JSGlobalObjectAuditAgent::JSGlobalObjectAuditAgent): (Inspector::JSGlobalObjectAuditAgent::injectedScriptForEval): * inspector/JSGlobalObjectInspectorController.h: * inspector/JSGlobalObjectInspectorController.cpp: (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController): (Inspector::JSGlobalObjectInspectorController::connectFrontend): (Inspector::JSGlobalObjectInspectorController::jsAgentContext): Added. (Inspector::JSGlobalObjectInspectorController::createLazyAgents): Added. * inspector/InjectedScript.h: * inspector/InjectedScript.cpp: (Inspector::InjectedScript::execute): Added. (Inspector::InjectedScript::arrayFromVector): Added. Create a version of `evaluate` that accepts a list of values to be passed in as arguments to the function that was created by the `eval` of the given `functionString`. * inspector/InjectedScriptSource.js: (InjectedScript.prototype.execute): Added. (InjectedScript.prototype.evaluate): (InjectedScript.prototype.evaluateOnCallFrame): (InjectedScript.prototype._evaluateAndWrap): (InjectedScript.prototype._wrapAndSaveCall): Added. (InjectedScript.prototype._wrapCall): Added. (InjectedScript.prototype._evaluateOn): Refactor the `eval` and `saveResult` logic to allow for more flexibility for other callers. * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources.make: * JavaScriptCore.xcodeproj/project.pbxproj: * Sources.txt: * UnifiedSources-input.xcfilelist: Source/WebCore: Tests: inspector/audit/run.html inspector/audit/setup.html inspector/audit/teardown.html Create a new `AuditAgent` (and various subclasses for different inspection targets), as well as `InspectorAuditAccessibilityObject` and `InspectorAuditDOMObject` objects that will be injected into the test function to allow for more advanced testing. * inspector/InspectorAuditAccessibilityObject.idl: Added. * inspector/InspectorAuditAccessibilityObject.h: Added. (WebCore::InspectorAuditAccessibilityObject::create): * inspector/InspectorAuditAccessibilityObject.cpp: Added. (WebCore::InspectorAuditAccessibilityObject::InspectorAuditAccessibilityObject): * inspector/InspectorAuditDOMObject.idl: Added. * inspector/InspectorAuditDOMObject.h: Added. (WebCore::InspectorAuditDOMObject::create): * inspector/InspectorAuditDOMObject.cpp: Added. (WebCore::InspectorAuditDOMObject::InspectorAuditDOMObject): * inspector/agents/page/PageAuditAgent.h: Added. * inspector/agents/page/PageAuditAgent.cpp: Added. (WebCore::PageAuditAgent::PageAuditAgent): (WebCore::PageAuditAgent::injectedScriptForEval): (WebCore::PageAuditAgent::populateAuditObject): (WebCore::PageAuditAgent::muteConsole): (WebCore::PageAuditAgent::unmuteConsole): * inspector/agents/worker/WorkerAuditAgent.h: Added. * inspector/agents/worker/WorkerAuditAgent.cpp: Added. (WebCore::WorkerAuditAgent::WorkerAuditAgent): (WebCore::WorkerAuditAgent::injectedScriptForEval): * inspector/InspectorController.cpp: (WebCore::InspectorController::createLazyAgents): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::createLazyAgents): * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * UnifiedSources-input.xcfilelist: * WebCore.xcodeproj/project.pbxproj: Source/WebInspectorUI: Add `AuditAgent` getters and plumbing. * UserInterface/Protocol/Target.js: (WI.Target.prototype.get AuditAgent): Added. * UserInterface/Models/AuditTestCase.js: (WI.AuditTestCase.prototype.async run): * UserInterface/Controllers/AuditManager.js: (WI.AuditManager.prototype.async start): * .eslintrc: LayoutTests: * inspector/audit/resources/audit-utilities.js: (TestPage.registerInitializer.InspectorTest.Audit.setupAudit): Added. (TestPage.registerInitializer.InspectorTest.Audit.teardownAudit): Added. * inspector/audit/run.html: Added. * inspector/audit/run-expected.txt: Added. * inspector/audit/setup.html: Added. * inspector/audit/setup-expected.txt: Added. * inspector/audit/teardown.html: Added. * inspector/audit/teardown-expected.txt: Added. * inspector/canvas/create-context-2d-expected.txt: * inspector/canvas/create-context-bitmaprenderer-expected.txt: * inspector/canvas/create-context-webgl-expected.txt: * inspector/canvas/create-context-webgl2-expected.txt: * inspector/canvas/create-context-webmetal-expected.txt: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/model/remote-object-expected.txt: * inspector/model/stack-trace-expected.txt: Canonical link: https://commits.webkit.org/207945@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@239976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-15 08:25:33 +00:00
8: (anonymous function)
9: _wrapCall
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
1: (duration)
0: arcTo(1, 2, 3, 4, 5)
swizzleTypes: [Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: arcTo
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
2: (duration)
0: beginPath()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: beginPath
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
3: (duration)
0: bezierCurveTo(1, 2, 3, 4, 5, 6)
swizzleTypes: [Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: bezierCurveTo
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
4: (duration)
0: clearRect(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clearRect
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
5: (duration)
0: clearShadow()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clearShadow
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
6: (duration)
0: clip("nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clip
1: (anonymous function)
2: executeFrameFunction
1: clip("evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clip
1: (anonymous function)
2: executeFrameFunction
2: clip([object Path2D], "nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clip
1: (anonymous function)
2: executeFrameFunction
3: clip([object Path2D], "evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: clip
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
7: (duration)
0: closePath()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: closePath
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
8: (duration)
0: createImageData([object ImageData])
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageData]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createImageData
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
1: createImageData(2, 3)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createImageData
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
9: (duration)
0: createLinearGradient(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createLinearGradient
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
10: (duration)
0: createPattern([object HTMLImageElement], "testA")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createPattern
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
1: createPattern([object HTMLImageElement], "testB")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createPattern
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
2: createPattern([object HTMLImageElement], "testC")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createPattern
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
3: createPattern([object ImageBitmap], "testD")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageBitmap, String]
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createPattern
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
11: (duration)
0: createRadialGradient(1, 2, 3, 4, 5, 6)
swizzleTypes: [Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: createRadialGradient
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
12: (duration)
0: direction
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
13: (duration)
0: drawFocusIfNeeded("Element")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [None]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawFocusIfNeeded
1: (anonymous function)
2: executeFrameFunction
1: drawFocusIfNeeded([object Path2D], "Element")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, None]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawFocusIfNeeded
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
14: (duration)
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
0: drawImage([object HTMLImageElement], 11, 12)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
1: drawImage([object HTMLImageElement], 13, 14, 15, 16)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
2: drawImage([object HTMLImageElement], 17, 18, 19, 110, 111, 112, 113, 114)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
3: drawImage([object HTMLImageElement], 21, 22)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
4: drawImage([object HTMLImageElement], 23, 24, 25, 26)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
5: drawImage([object HTMLImageElement], 27, 28, 29, 210, 211, 212, 213, 214)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
6: drawImage([object HTMLImageElement], 31, 32)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
7: drawImage([object HTMLImageElement], 33, 34, 35, 36)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
8: drawImage([object HTMLImageElement], 37, 38, 39, 310, 311, 312, 313, 314)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
9: drawImage([object ImageBitmap], 41, 42)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageBitmap, Number, Number]
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
10: drawImage([object ImageBitmap], 43, 44, 45, 46)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageBitmap, Number, Number, Number, Number]
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
11: drawImage([object ImageBitmap], 47, 48, 49, 410, 411, 412, 413, 414)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageBitmap, Number, Number, Number, Number, Number, Number, Number, Number]
Web Inspector: add instrumentation for ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=180736 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Canvas.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Tests: inspector/canvas/create-context-bitmaprenderer.html inspector/canvas/requestContent-bitmaprenderer.html inspector/canvas/resolveCanvasContext-bitmaprenderer.html * CMakeLists.txt: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::createContextBitmapRenderer): Support passing an optional settings dictionary when creating an ImageBitmapRenderingContext. * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::requestContent): (WebCore::contextAsScriptValue): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::buildObjectForCanvas): (WebCore::InspectorCanvas::indexForData): (WebCore::InspectorCanvas::buildAction): (WebCore::InspectorCanvas::buildArrayForImageBitmap): Deleted. Source/WebInspectorUI: * UserInterface/Base/ImageUtilities.js: (WI.ImageUtilities.promisifyLoad): (WI.ImageUtilities.imageFromImageBitmap): * UserInterface/Models/Canvas.js: (WI.Canvas.fromPayload): (WI.Canvas.displayNameForContextType): * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/Recording.js: (WI.Recording.displayNameForSwizzleType): (WI.Recording.prototype.async swizzle): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._generateDOM.createParameterElement): LayoutTests: * inspector/canvas/context-attributes-expected.txt: * inspector/canvas/context-attributes.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: Added. * inspector/canvas/create-context-bitmaprenderer.html: Added. * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: Added. * inspector/canvas/requestContent-bitmaprenderer.html: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt: Added. * inspector/canvas/resolveCanvasContext-bitmaprenderer.html: Added. Canonical link: https://commits.webkit.org/196686@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-14 00:57:35 +00:00
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImage
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
15: (duration)
0: drawImageFromRect([object HTMLImageElement], 1, 2, 3, 4, 5, 6, 7, 8, "")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImageFromRect
1: (anonymous function)
2: executeFrameFunction
1: drawImageFromRect([object HTMLImageElement], 9, 10, 11, 12, 13, 14, 15, 16, "test")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Image, Number, Number, Number, Number, Number, Number, Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: drawImageFromRect
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
16: (duration)
0: ellipse(1, 2, 3, 4, 5, 6, 7, false)
swizzleTypes: [Number, Number, Number, Number, Number, Number, Number, Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: ellipse
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
1: ellipse(8, 9, 10, 11, 12, 13, 14, true)
swizzleTypes: [Number, Number, Number, Number, Number, Number, Number, Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: ellipse
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
17: (duration)
0: fill("nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fill
1: (anonymous function)
2: executeFrameFunction
1: fill("evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fill
1: (anonymous function)
2: executeFrameFunction
2: fill([object Path2D], "nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fill
1: (anonymous function)
2: executeFrameFunction
3: fill([object Path2D], "evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fill
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
18: (duration)
0: fillRect(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fillRect
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
19: (duration)
0: fillStyle
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: fillStyle = "test"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
2: fillStyle = [object CanvasGradient]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasGradient]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
3: fillStyle = [object CanvasGradient]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasGradient]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
4: fillStyle = [object CanvasPattern]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasPattern]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
20: (duration)
0: fillText("testA", 1, 2)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fillText
1: (anonymous function)
2: executeFrameFunction
1: fillText("testB", 3, 4, 5)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: fillText
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
21: (duration)
0: font
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: font = "test"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
22: (duration)
0: getImageData(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: getImageData
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
23: (duration)
0: getLineDash()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: getLineDash
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
24: (duration)
0: getTransform()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: getTransform
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
25: (duration)
0: globalAlpha
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: globalAlpha = 0
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
26: (duration)
0: globalCompositeOperation
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: globalCompositeOperation = "test"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
27: (duration)
0: imageSmoothingEnabled
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: imageSmoothingEnabled = true
swizzleTypes: [Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
28: (duration)
0: imageSmoothingQuality
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: imageSmoothingQuality = "low"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
29: (duration)
0: isPointInPath([object Path2D], 5, 6, "nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInPath
1: (anonymous function)
2: executeFrameFunction
1: isPointInPath([object Path2D], 7, 8, "evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInPath
1: (anonymous function)
2: executeFrameFunction
2: isPointInPath(9, 10, "nonzero")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInPath
1: (anonymous function)
2: executeFrameFunction
3: isPointInPath(11, 12, "evenodd")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInPath
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
30: (duration)
0: isPointInStroke([object Path2D], 3, 4)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInStroke
1: (anonymous function)
2: executeFrameFunction
1: isPointInStroke(5, 6)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: isPointInStroke
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
31: (duration)
0: lineCap
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
32: (duration)
0: lineDashOffset
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: lineDashOffset = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
33: (duration)
0: lineJoin
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
34: (duration)
0: lineTo(1, 2)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: lineTo
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
35: (duration)
0: lineWidth
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: lineWidth = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
36: (duration)
0: measureText("test")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: measureText
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
37: (duration)
0: miterLimit
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: miterLimit = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
38: (duration)
0: moveTo(1, 2)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: moveTo
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
39: (duration)
0: putImageData([object ImageData], 5, 6)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageData, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: putImageData
1: (anonymous function)
2: executeFrameFunction
1: putImageData([object ImageData], 7, 8, 9, 10, 11, 12)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [ImageData, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: putImageData
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
40: (duration)
0: quadraticCurveTo(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: quadraticCurveTo
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
41: (duration)
0: rect(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: rect
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
42: (duration)
0: resetTransform()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: resetTransform
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
43: (duration)
0: restore()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: restore
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
44: (duration)
0: rotate(1)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: rotate
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
45: (duration)
0: save()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: save
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
46: (duration)
0: scale(1, 2)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: scale
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
47: (duration)
0: setAlpha(null)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setAlpha
1: (anonymous function)
2: executeFrameFunction
1: setAlpha(1)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setAlpha
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
48: (duration)
0: setCompositeOperation("")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setCompositeOperation
1: (anonymous function)
2: executeFrameFunction
1: setCompositeOperation("test")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setCompositeOperation
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
49: (duration)
0: setFillColor("testA")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setFillColor
1: (anonymous function)
2: executeFrameFunction
1: setFillColor("testB", 1)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setFillColor
1: (anonymous function)
2: executeFrameFunction
2: setFillColor(2, 1)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setFillColor
1: (anonymous function)
2: executeFrameFunction
3: setFillColor(3, 4)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setFillColor
1: (anonymous function)
2: executeFrameFunction
4: setFillColor(5, 6, 7, 8)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setFillColor
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
50: (duration)
0: setLineCap("")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineCap
1: (anonymous function)
2: executeFrameFunction
1: setLineCap("test")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineCap
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
51: (duration)
0: setLineDash([1,2])
swizzleTypes: [Array]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineDash
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
52: (duration)
0: setLineJoin("")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineJoin
1: (anonymous function)
2: executeFrameFunction
1: setLineJoin("test")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineJoin
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
53: (duration)
0: setLineWidth(null)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineWidth
1: (anonymous function)
2: executeFrameFunction
1: setLineWidth(1)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setLineWidth
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
54: (duration)
0: setMiterLimit(null)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setMiterLimit
1: (anonymous function)
2: executeFrameFunction
1: setMiterLimit(1)
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setMiterLimit
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
55: (duration)
0: setShadow(1, 2, 3, "")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Number, Number, Number, String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
1: setShadow(4, 5, 6, "test", 7)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Number, Number, Number, String, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
2: setShadow(8, 9, 10, 11, 1)
swizzleTypes: [Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
3: setShadow(12, 13, 14, 15, 16)
swizzleTypes: [Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
4: setShadow(17, 18, 19, 20, 21, 22, 23)
swizzleTypes: [Number, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
5: setShadow(24, 25, 26, 27, 28, 29, 30)
swizzleTypes: [Number, Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setShadow
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
56: (duration)
0: setStrokeColor("testA")
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setStrokeColor
1: (anonymous function)
2: executeFrameFunction
1: setStrokeColor("testB", 1)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setStrokeColor
1: (anonymous function)
2: executeFrameFunction
2: setStrokeColor(2, 1)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setStrokeColor
1: (anonymous function)
2: executeFrameFunction
3: setStrokeColor(3, 4)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setStrokeColor
1: (anonymous function)
2: executeFrameFunction
4: setStrokeColor(5, 6, 7, 8)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setStrokeColor
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
57: (duration)
0: setTransform(1, 2, 3, 4, 5, 6)
swizzleTypes: [Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setTransform
1: (anonymous function)
2: executeFrameFunction
1: setTransform(matrix(1, 0, 0, 1, 0, 0))
swizzleTypes: [DOMMatrix]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setTransform
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
2: setTransform(matrix(7, 8, 9, 10, 11, 12))
swizzleTypes: [DOMMatrix]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: setTransform
1: (anonymous function)
2: ignoreException
3: (anonymous function)
4: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
58: (duration)
0: shadowBlur
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: shadowBlur = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
59: (duration)
0: shadowColor
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: shadowColor = "test"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
60: (duration)
0: shadowOffsetX
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: shadowOffsetX = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
61: (duration)
0: shadowOffsetY
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: shadowOffsetY = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
62: (duration)
0: stroke()
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: stroke
1: (anonymous function)
2: executeFrameFunction
1: stroke([object Path2D])
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [Path2D]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: stroke
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
63: (duration)
0: strokeRect(1, 2, 3, 4)
swizzleTypes: [Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: strokeRect
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
64: (duration)
0: strokeStyle
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: strokeStyle = "test"
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
2: strokeStyle = [object CanvasGradient]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasGradient]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
3: strokeStyle = [object CanvasGradient]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasGradient]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
4: strokeStyle = [object CanvasPattern]
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [CanvasPattern]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
65: (duration)
0: strokeText("testA", 1, 2)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: strokeText
1: (anonymous function)
2: executeFrameFunction
1: strokeText("testB", 3, 4, 5)
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
swizzleTypes: [String, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: strokeText
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
66: (duration)
0: textAlign
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
67: (duration)
0: textBaseline
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
68: (duration)
0: transform(1, 2, 3, 4, 5, 6)
swizzleTypes: [Number, Number, Number, Number, Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: transform
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
69: (duration)
0: translate(1, 2)
swizzleTypes: [Number, Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: translate
1: (anonymous function)
2: executeFrameFunction
Web Inspector: Canvas2D Profiling: highlight expensive context commands in the captured command log https://bugs.webkit.org/show_bug.cgi?id=178302 <rdar://problem/33158849> Reviewed by Brian Burg. Source/JavaScriptCore: * inspector/protocol/Recording.json: Add `duration` to each Frame that represents the total time of all the recorded actions. Source/WebCore: No new tests, updated existing tests. * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::finalizeFrame): (WebCore::InspectorCanvas::markNewFrame): Deleted. * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): Source/WebInspectorUI: * UserInterface/Models/RecordingFrame.js: (WI.RecordingFrame): (WI.RecordingFrame.fromPayload): (WI.RecordingFrame.prototype.get duration): (WI.RecordingFrame.prototype.toJSON): * UserInterface/Views/RecordingNavigationSidebarPanel.js: (WI.RecordingNavigationSidebarPanel.prototype.set recording): * UserInterface/Views/RecordingNavigationSidebarPanel.css: (.sidebar > .panel.navigation.recording > .content > .tree-outline .item.folder-icon > .status): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer): * inspector/model/recording-expected.txt: * inspector/model/recording.html: Canonical link: https://commits.webkit.org/195327@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-03 07:04:22 +00:00
70: (duration)
0: webkitImageSmoothingEnabled
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: webkitImageSmoothingEnabled = true
swizzleTypes: [Boolean]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Remove webkitGetImageDataHD and webkitPutImageDataHD from canvas API https://bugs.webkit.org/show_bug.cgi?id=180387 Reviewed by Dean Jackson. Source/WebCore: CanvasRenderingContext2D.webkitGetImageDataHD and webkitPutImageDataHD were never standardized, and Blink removed support in 2014 (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FOPH5dloGG8). Since our canvas backing store is always 1x, they have no use anyway, so remove them. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::putImageData): (WebCore::CanvasRenderingContext2D::webkitGetImageDataHD const): Deleted. (WebCore::CanvasRenderingContext2D::webkitPutImageDataHD): Deleted. * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.idl: Source/WebInspectorUI: CanvasRenderingContext2D.webkitGetImageDataHD and webkitPutImageDataHD were never standardized, and Blink removed support in 2014 (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FOPH5dloGG8). Since our canvas backing store is always 1x, they have no use anyway, so remove them. * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/RecordingAction.js: (WI.RecordingAction.prototype.getImageParameters): (WI.RecordingAction): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): (WI.RecordingActionTreeElement._classNameForAction): LayoutTests: Remove the test. * fast/canvas/2d.imageDataHD-expected.txt: Removed. * fast/canvas/2d.imageDataHD.html: Removed. * platform/win/TestExpectations: Canonical link: https://commits.webkit.org/196363@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-05 18:54:17 +00:00
71: (duration)
0: webkitLineDash
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: webkitLineDash = [1,2]
swizzleTypes: [Array]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Remove webkitGetImageDataHD and webkitPutImageDataHD from canvas API https://bugs.webkit.org/show_bug.cgi?id=180387 Reviewed by Dean Jackson. Source/WebCore: CanvasRenderingContext2D.webkitGetImageDataHD and webkitPutImageDataHD were never standardized, and Blink removed support in 2014 (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FOPH5dloGG8). Since our canvas backing store is always 1x, they have no use anyway, so remove them. * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::putImageData): (WebCore::CanvasRenderingContext2D::webkitGetImageDataHD const): Deleted. (WebCore::CanvasRenderingContext2D::webkitPutImageDataHD): Deleted. * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasRenderingContext2D.idl: Source/WebInspectorUI: CanvasRenderingContext2D.webkitGetImageDataHD and webkitPutImageDataHD were never standardized, and Blink removed support in 2014 (https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/FOPH5dloGG8). Since our canvas backing store is always 1x, they have no use anyway, so remove them. * UserInterface/Models/NativeFunctionParameters.js: * UserInterface/Models/RecordingAction.js: (WI.RecordingAction.prototype.getImageParameters): (WI.RecordingAction): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): (WI.RecordingActionTreeElement._classNameForAction): LayoutTests: Remove the test. * fast/canvas/2d.imageDataHD-expected.txt: Removed. * fast/canvas/2d.imageDataHD.html: Removed. * platform/win/TestExpectations: Canonical link: https://commits.webkit.org/196363@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-12-05 18:54:17 +00:00
72: (duration)
0: webkitLineDashOffset
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
1: webkitLineDashOffset = 1
swizzleTypes: [Number]
trace:
Web Inspector: Record actions performed on ImageBitmapRenderingContext https://bugs.webkit.org/show_bug.cgi?id=181341 Reviewed by Joseph Pecoraro. Source/JavaScriptCore: * inspector/protocol/Recording.json: * inspector/scripts/codegen/generator.py: Source/WebCore: Test: inspector/canvas/recording-bitmaprenderer.html * html/canvas/ImageBitmapRenderingContext.idl: * inspector/InspectorCanvas.cpp: (WebCore::shouldSnapshotBitmapRendererAction): (WebCore::InspectorCanvas::recordAction): * inspector/agents/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::didFinishRecordingCanvasFrame): * page/PageConsoleClient.cpp: (canvasRenderingContext): Source/WebInspectorUI: * UserInterface/Models/Recording.js: (WI.Recording.fromPayload): (WI.Recording.prototype.createContext): * UserInterface/Models/RecordingAction.js: (WI.RecordingAction._prototypeForType): (WI.RecordingAction.prototype.getImageParameters): * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._classNameForAction.classNameForActionName): * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView): (WI.RecordingContentView.prototype.get navigationItems): (WI.RecordingContentView.prototype.updateActionIndex): (WI.RecordingContentView.prototype.shown): (WI.RecordingContentView.prototype.hidden): (WI.RecordingContentView.prototype._generateContentFromSnapshot): Renamed. (WI.RecordingContentView.prototype._updateImageGrid): (WI.RecordingContentView.prototype._generateContentCanvasWebGL): Deleted. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView): LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer.html: Added. * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/resources/recording-utilities.js: Simplify the test output to avoid unrelated failures, such as if line numbers change. Also remove non-human-readable text, as it makes it more difficult for those unfamiliar with the test to determine if any differences are acceptable. Canonical link: https://commits.webkit.org/204588@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-09-14 16:44:22 +00:00
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Canvas: capture changes to <canvas> that would affect the recorded context https://bugs.webkit.org/show_bug.cgi?id=190854 Reviewed by Matt Baker. Source/WebCore: Updated existing tests: inspector/canvas/recording-2d.html inspector/canvas/recording-bitmaprenderer.html inspector/canvas/recording-webgl.html * html/HTMLCanvasElement.idl: Apply `CallTracingCallback=recordCanvasAction` to the `width` and `height` attributes so that they are recorded through the same path as `CanvasRenderingContext`. * html/CanvasBase.h: * html/CanvasBase.cpp: (WebCore::CanvasBase::callTracingActive const): Added. * bindings/js/CallTracer.h: * bindings/js/CallTracer.cpp: (WebCore::CallTracer::recordCanvasAction): Source/WebInspectorUI: * UserInterface/Models/RecordingAction.js: (WI.RecordingAction): (WI.RecordingAction.isFunctionForType): (WI.RecordingAction.constantNameForParameter): (WI.RecordingAction.prototype.get contextReplacer): Added. (WI.RecordingAction.prototype.async.swizzle): (WI.RecordingAction.prototype.apply): Create a constant list of actions for each recording type that need to replace the context with a different value before being applied (e.g. `width` should be applied to the `context`'s `canvas` instead of directly to the `context`). * UserInterface/Views/RecordingContentView.js: (WI.RecordingContentView.prototype._generateContentCanvas2D.actionModifiesPath): Added. (WI.RecordingContentView.prototype._generateContentCanvas2D): (WI.RecordingContentView._actionModifiesPath): Deleted. Generate the path context after the actions are applied to the preview context so that the final width/height are known and can be used. This is needed because changing the width/height causes the content to be erased. * UserInterface/Views/RecordingActionTreeElement.js: (WI.RecordingActionTreeElement._generateDOM): (WI.RecordingActionTreeElement._classNameForAction): * UserInterface/Views/RecordingActionTreeElement.css: (.tree-outline:focus .item.action.selected:not(.invalid, .initial-state, .has-context-replacer) > .icon): Added. (.item.action > .titles .context-replacer::after): Added. (.item.action.has-context-replacer > .icon): Added. (@media (prefers-dark-interface) .item.action:not(.invalid, .initial-state, .has-context-replacer) > .icon): Added. (.tree-outline:focus .item.action.selected:not(.initial-state, .invalid) > .icon): Deleted. (@media (prefers-dark-interface) .item.action:not(.initial-state) > .icon): Deleted. (@media (prefers-dark-interface) .tree-outline:not(.hide-disclosure-buttons) .item.action:not(.initial-state, .parent) > .icon): Deleted. Add the context replacer text to the beginning of the action's name if it exists. * UserInterface/Views/CanvasContentView.js: (WI.CanvasContentView.prototype._refreshPixelSize): (WI.CanvasContentView.prototype._updatePixelSize): Deleted. Update preview image when the canvas' size changes. LayoutTests: * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/recording-bitmaprenderer-expected.txt: * inspector/canvas/recording-bitmaprenderer.html: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl.html: Canonical link: https://commits.webkit.org/206036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-11-03 23:24:35 +00:00
73: (duration)
0: width
trace:
0: (anonymous function)
1: executeFrameFunction
1: width = 2
swizzleTypes: [Number]
trace:
0: (anonymous function)
1: executeFrameFunction
74: (duration)
0: height
trace:
0: (anonymous function)
1: executeFrameFunction
1: height = 2
swizzleTypes: [Number]
trace:
0: (anonymous function)
1: executeFrameFunction
Web Inspector: Record actions performed on CanvasRenderingContext2D https://bugs.webkit.org/show_bug.cgi?id=174482 Reviewed by Joseph Pecoraro. Source/WebCore: Tests: inspector/canvas/recording-2d.html inspector/canvas/recording.html * html/canvas/CanvasRenderingContext2D.idl: Add CallTracingCallback to interface to record all API calls. * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::paint): If a recording is active, mark the current frame as completed. * bindings/scripts/CodeGeneratorJS.pm: (GenerateAttributeGetterBodyDefinition): (GenerateAttributeSetterBodyDefinition): (GenerateImplementationFunctionCall): (GenerateCallTracerParameter): (GenerateCallTracer): * bindings/scripts/test/TestCallTracer.idl: * bindings/scripts/test/JS/JSTestCallTracer.cpp: (WebCore::setJSTestCallTracerTestAttributeInterfaceSetter): (WebCore::setJSTestCallTracerTestAttributeSpecifiedSetter): (WebCore::jsTestCallTracerTestAttributeWithVariantGetter): (WebCore::jsTestCallTracerTestAttributeWithVariant): (WebCore::setJSTestCallTracerTestAttributeWithVariantSetter): (WebCore::setJSTestCallTracerTestAttributeWithVariant): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationInterfaceBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationSpecifiedBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithArgumentsBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableArgumentBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgumentBody): (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgument): * inspector/InspectorCanvas.h: * inspector/InspectorCanvas.cpp: (WebCore::InspectorCanvas::recordAction): (WebCore::InspectorCanvas::buildAction): Change CallTracer IDL generation to flatten any variants so that all types for the parameters of an action are able to be listed in a single variant. This prevents possible ambiguity when constructing the variant, as they require that exactly one type be constructible and a sub-variant might not satisfy that condition. This was only an issue for older mac SDKs. * bindings/js/CallTracer.h: * bindings/js/CallTracer.cpp: (WebCore::CallTracer::recordCanvasAction): * bindings/js/CallTracerTypes.h: * inspector/InspectorCanvasAgent.h: * inspector/InspectorCanvasAgent.cpp: (WebCore::InspectorCanvasAgent::recordCanvasAction): * inspector/InspectorInstrumentation.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::recordCanvasAction): (WebCore::InspectorInstrumentation::recordCanvasActionImpl): Rename CanvasActionParameterVariant to RecordCanvasActionVariant to match what is expected by the IDL generator. Also remove unnecessary includes now that they are in CallTracerTypes.h. * CMakeLists.txt: * bindings/js/JSBindingsAllInOne.cpp: Add CallTracer for CMake builds. LayoutTests: * inspector/canvas/recording-2d-expected.txt: Added. * inspector/canvas/recording-2d.html: Added. * inspector/canvas/recording-expected.txt: Added. * inspector/canvas/recording.html: Added. Take a recording of all CanvasRenderingContext2D actions and dump the recorded JSON data. Canonical link: https://commits.webkit.org/191737@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-28 18:22:17 +00:00