|
| 1 | +2017-11-14 Carlos Garcia Campos < [email protected]> |
| 2 | + |
| 3 | + Move JSONValues to WTF and convert uses of InspectorValues.h to JSONValues.h |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=173793 |
| 5 | + |
| 6 | + Reviewed by Brian Burg. |
| 7 | + |
| 8 | + Based on patch by Brian Burg. |
| 9 | + |
| 10 | + * JavaScriptCore.xcodeproj/project.pbxproj: |
| 11 | + * Sources.txt: |
| 12 | + * bindings/ScriptValue.cpp: |
| 13 | + (Inspector::jsToInspectorValue): |
| 14 | + (Inspector::toInspectorValue): |
| 15 | + (Deprecated::ScriptValue::toInspectorValue const): |
| 16 | + * bindings/ScriptValue.h: |
| 17 | + * inspector/AsyncStackTrace.cpp: |
| 18 | + * inspector/ConsoleMessage.cpp: |
| 19 | + * inspector/ContentSearchUtilities.cpp: |
| 20 | + * inspector/InjectedScript.cpp: |
| 21 | + (Inspector::InjectedScript::getFunctionDetails): |
| 22 | + (Inspector::InjectedScript::functionDetails): |
| 23 | + (Inspector::InjectedScript::getPreview): |
| 24 | + (Inspector::InjectedScript::getProperties): |
| 25 | + (Inspector::InjectedScript::getDisplayableProperties): |
| 26 | + (Inspector::InjectedScript::getInternalProperties): |
| 27 | + (Inspector::InjectedScript::getCollectionEntries): |
| 28 | + (Inspector::InjectedScript::saveResult): |
| 29 | + (Inspector::InjectedScript::wrapCallFrames const): |
| 30 | + (Inspector::InjectedScript::wrapObject const): |
| 31 | + (Inspector::InjectedScript::wrapTable const): |
| 32 | + (Inspector::InjectedScript::previewValue const): |
| 33 | + (Inspector::InjectedScript::setExceptionValue): |
| 34 | + (Inspector::InjectedScript::clearExceptionValue): |
| 35 | + (Inspector::InjectedScript::inspectObject): |
| 36 | + (Inspector::InjectedScript::releaseObject): |
| 37 | + * inspector/InjectedScriptBase.cpp: |
| 38 | + (Inspector::InjectedScriptBase::makeCall): |
| 39 | + (Inspector::InjectedScriptBase::makeEvalCall): |
| 40 | + * inspector/InjectedScriptBase.h: |
| 41 | + * inspector/InjectedScriptManager.cpp: |
| 42 | + (Inspector::InjectedScriptManager::injectedScriptForObjectId): |
| 43 | + * inspector/InspectorBackendDispatcher.cpp: |
| 44 | + (Inspector::BackendDispatcher::CallbackBase::sendSuccess): |
| 45 | + (Inspector::BackendDispatcher::dispatch): |
| 46 | + (Inspector::BackendDispatcher::sendResponse): |
| 47 | + (Inspector::BackendDispatcher::sendPendingErrors): |
| 48 | + (Inspector::BackendDispatcher::getPropertyValue): |
| 49 | + (Inspector::castToInteger): |
| 50 | + (Inspector::castToNumber): |
| 51 | + (Inspector::BackendDispatcher::getInteger): |
| 52 | + (Inspector::BackendDispatcher::getDouble): |
| 53 | + (Inspector::BackendDispatcher::getString): |
| 54 | + (Inspector::BackendDispatcher::getBoolean): |
| 55 | + (Inspector::BackendDispatcher::getObject): |
| 56 | + (Inspector::BackendDispatcher::getArray): |
| 57 | + (Inspector::BackendDispatcher::getValue): |
| 58 | + * inspector/InspectorBackendDispatcher.h: |
| 59 | + * inspector/InspectorProtocolTypes.h: |
| 60 | + (Inspector::Protocol::Array::openAccessors): |
| 61 | + (Inspector::Protocol::PrimitiveBindingTraits::assertValueHasExpectedType): |
| 62 | + (Inspector::Protocol::BindingTraits<Protocol::Array<T>>::runtimeCast): |
| 63 | + (Inspector::Protocol::BindingTraits<Protocol::Array<T>>::assertValueHasExpectedType): |
| 64 | + (Inspector::Protocol::BindingTraits<JSON::Value>::assertValueHasExpectedType): |
| 65 | + * inspector/ScriptCallFrame.cpp: |
| 66 | + * inspector/ScriptCallStack.cpp: |
| 67 | + * inspector/agents/InspectorAgent.cpp: |
| 68 | + (Inspector::InspectorAgent::inspect): |
| 69 | + * inspector/agents/InspectorAgent.h: |
| 70 | + * inspector/agents/InspectorDebuggerAgent.cpp: |
| 71 | + (Inspector::buildAssertPauseReason): |
| 72 | + (Inspector::buildCSPViolationPauseReason): |
| 73 | + (Inspector::InspectorDebuggerAgent::buildBreakpointPauseReason): |
| 74 | + (Inspector::InspectorDebuggerAgent::buildExceptionPauseReason): |
| 75 | + (Inspector::buildObjectForBreakpointCookie): |
| 76 | + (Inspector::InspectorDebuggerAgent::breakpointActionsFromProtocol): |
| 77 | + (Inspector::parseLocation): |
| 78 | + (Inspector::InspectorDebuggerAgent::setBreakpointByUrl): |
| 79 | + (Inspector::InspectorDebuggerAgent::setBreakpoint): |
| 80 | + (Inspector::InspectorDebuggerAgent::continueToLocation): |
| 81 | + (Inspector::InspectorDebuggerAgent::schedulePauseOnNextStatement): |
| 82 | + (Inspector::InspectorDebuggerAgent::didParseSource): |
| 83 | + (Inspector::InspectorDebuggerAgent::breakProgram): |
| 84 | + * inspector/agents/InspectorDebuggerAgent.h: |
| 85 | + * inspector/agents/InspectorRuntimeAgent.cpp: |
| 86 | + (Inspector::InspectorRuntimeAgent::callFunctionOn): |
| 87 | + (Inspector::InspectorRuntimeAgent::saveResult): |
| 88 | + (Inspector::InspectorRuntimeAgent::getRuntimeTypesForVariablesAtOffsets): |
| 89 | + * inspector/agents/InspectorRuntimeAgent.h: |
| 90 | + * inspector/scripts/codegen/generate_cpp_backend_dispatcher_header.py: |
| 91 | + (CppBackendDispatcherHeaderGenerator._generate_dispatcher_declaration_for_command): |
| 92 | + * inspector/scripts/codegen/generate_cpp_backend_dispatcher_implementation.py: |
| 93 | + (CppBackendDispatcherImplementationGenerator.generate_output): |
| 94 | + (CppBackendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_command): |
| 95 | + * inspector/scripts/codegen/generate_cpp_frontend_dispatcher_header.py: |
| 96 | + (CppFrontendDispatcherHeaderGenerator.generate_output): |
| 97 | + * inspector/scripts/codegen/generate_cpp_frontend_dispatcher_implementation.py: |
| 98 | + (CppFrontendDispatcherImplementationGenerator._generate_dispatcher_implementation_for_event): |
| 99 | + * inspector/scripts/codegen/generate_cpp_protocol_types_header.py: |
| 100 | + (_generate_unchecked_setter_for_member): |
| 101 | + * inspector/scripts/codegen/generate_cpp_protocol_types_implementation.py: |
| 102 | + (CppProtocolTypesImplementationGenerator): |
| 103 | + * inspector/scripts/codegen/generate_objc_backend_dispatcher_implementation.py: |
| 104 | + (ObjCBackendDispatcherImplementationGenerator.generate_output): |
| 105 | + (ObjCBackendDispatcherImplementationGenerator._generate_success_block_for_command): |
| 106 | + * inspector/scripts/codegen/generate_objc_frontend_dispatcher_implementation.py: |
| 107 | + (ObjCFrontendDispatcherImplementationGenerator.generate_output): |
| 108 | + (ObjCFrontendDispatcherImplementationGenerator._generate_event): |
| 109 | + (ObjCFrontendDispatcherImplementationGenerator._generate_event_out_parameters): |
| 110 | + * inspector/scripts/codegen/generate_objc_internal_header.py: |
| 111 | + (ObjCInternalHeaderGenerator.generate_output): |
| 112 | + * inspector/scripts/codegen/generate_objc_protocol_types_implementation.py: |
| 113 | + (ObjCProtocolTypesImplementationGenerator.generate_output): |
| 114 | + * inspector/scripts/codegen/generator.py: |
| 115 | + * inspector/scripts/tests/all/expected/definitions-with-mac-platform.json-result: |
| 116 | + * inspector/scripts/tests/generic/expected/commands-with-async-attribute.json-result: |
| 117 | + * inspector/scripts/tests/generic/expected/commands-with-optional-call-return-parameters.json-result: |
| 118 | + * inspector/scripts/tests/generic/expected/definitions-with-mac-platform.json-result: |
| 119 | + * inspector/scripts/tests/generic/expected/domain-availability.json-result: |
| 120 | + * inspector/scripts/tests/generic/expected/domains-with-varying-command-sizes.json-result: |
| 121 | + * inspector/scripts/tests/generic/expected/enum-values.json-result: |
| 122 | + * inspector/scripts/tests/generic/expected/events-with-optional-parameters.json-result: |
| 123 | + * inspector/scripts/tests/generic/expected/generate-domains-with-feature-guards.json-result: |
| 124 | + * inspector/scripts/tests/generic/expected/same-type-id-different-domain.json-result: |
| 125 | + * inspector/scripts/tests/generic/expected/shadowed-optional-type-setters.json-result: |
| 126 | + * inspector/scripts/tests/generic/expected/type-declaration-aliased-primitive-type.json-result: |
| 127 | + * inspector/scripts/tests/generic/expected/type-declaration-array-type.json-result: |
| 128 | + * inspector/scripts/tests/generic/expected/type-declaration-enum-type.json-result: |
| 129 | + * inspector/scripts/tests/generic/expected/type-declaration-object-type.json-result: |
| 130 | + * inspector/scripts/tests/generic/expected/type-requiring-runtime-casts.json-result: |
| 131 | + * inspector/scripts/tests/generic/expected/type-with-open-parameters.json-result: |
| 132 | + * inspector/scripts/tests/generic/expected/worker-supported-domains.json-result: |
| 133 | + * inspector/scripts/tests/ios/expected/definitions-with-mac-platform.json-result: |
| 134 | + * inspector/scripts/tests/mac/expected/definitions-with-mac-platform.json-result: |
| 135 | + |
1 | 136 | 2017-11-14 Mark Lam < [email protected]>
|
2 | 137 |
|
3 | 138 | Fix a bit-rotted Interpreter::dumpRegisters() and make it more robust.
|
|
0 commit comments