зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1663365
- Don't include "js/friend/ErrorMessages.h" in jsfriendapi.h. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D95208
This commit is contained in:
Родитель
57b620bc42
Коммит
c7bc4f2846
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "FetchUtil.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "nsCRT.h"
|
||||
#include "nsError.h"
|
||||
#include "nsIAsyncInputStream.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "nsIContent.h"
|
||||
#include "nsPluginInstanceOwner.h"
|
||||
#include "nsWrapperCacheInlines.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/GCHashTable.h"
|
||||
#include "js/Object.h" // JS::GetClass, JS::GetCompartment, JS::GetPrivate, JS::SetPrivate
|
||||
#include "js/Symbol.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "jsfriendapi.h"
|
||||
#include "js/Array.h" // JS::GetArrayLength
|
||||
#include "js/CompilationAndEvaluation.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/MemoryFunctions.h"
|
||||
#include "js/Modules.h" // JS::FinishDynamicModuleImport, JS::{G,S}etModuleResolveHook, JS::Get{ModulePrivate,ModuleScript,RequestedModule{s,Specifier,SourcePos}}, JS::SetModule{DynamicImport,Metadata}Hook
|
||||
#include "js/OffThreadScriptCompilation.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "mozilla/dom/WorkerPrivate.h"
|
||||
|
||||
#include "jsapi.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_OUT_OF_MEMORY
|
||||
#include "js/Warnings.h" // JS::{Get,}WarningReporter
|
||||
#include "xpcpublic.h"
|
||||
#include "nsIGlobalObject.h"
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
|
||||
#include "jsapi.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "BindingUtils.h"
|
||||
|
||||
// Used to provide information on the OS
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "mozilla/ipc/BackgroundChild.h"
|
||||
#include "GeckoProfiler.h"
|
||||
#include "jsfriendapi.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/ContextOptions.h"
|
||||
#include "js/LocaleSensitive.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "WorkerError.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_OVER_RECURSED
|
||||
#include "mozilla/ArrayAlgorithm.h"
|
||||
#include "mozilla/DOMEventTargetHelper.h"
|
||||
#include "mozilla/dom/ErrorEvent.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "js/CompilationAndEvaluation.h"
|
||||
#include "js/ContextOptions.h"
|
||||
#include "js/Exception.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_OUT_OF_MEMORY
|
||||
#include "js/LocaleSensitive.h"
|
||||
#include "js/MemoryMetrics.h"
|
||||
#include "js/SourceText.h"
|
||||
|
|
|
@ -25,6 +25,7 @@ typedef uint32_t HashNumber;
|
|||
#include "js/experimental/JitInfo.h"
|
||||
#include "js/experimental/TypedData.h"
|
||||
#include "js/ForOfIterator.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSErrNum
|
||||
#include "js/friend/WindowProxy.h"
|
||||
#include "js/Initialization.h"
|
||||
#include "js/MemoryMetrics.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "js/Class.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/experimental/JitInfo.h" // JSJitGetterOp, JSJitInfo
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit
|
||||
#include "js/PropertySpec.h"
|
||||
#include "util/Poison.h"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "jit/AtomicOperations.h"
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/Class.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/Result.h"
|
||||
#include "vm/GlobalObject.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "jsapi.h"
|
||||
|
||||
#include "gc/Tracer.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/TracingAPI.h"
|
||||
#include "vm/ArrayBufferObject.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "jit/InlinableNatives.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/experimental/TypedData.h" // JS_NewDataView
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/Wrapper.h"
|
||||
#include "util/Windows.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "frontend/BytecodeCompilation.h"
|
||||
#include "frontend/CompilationInfo.h"
|
||||
#include "gc/HashUtil.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/JSMEnvironment.h" // JS::NewJSMEnvironment, JS::ExecuteInJSMEnvironment, JS::GetJSMEnvironmentOfScriptedCaller, JS::IsJSMEnvironment
|
||||
#include "js/friend/WindowProxy.h" // js::IsWindowProxy
|
||||
#include "js/SourceText.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "mozilla/ScopeExit.h"
|
||||
|
||||
#include "gc/Zone.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "vm/GlobalObject.h"
|
||||
#include "vm/PlainObject.h" // js::PlainObject
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "builtin/Array.h"
|
||||
#include "builtin/BigInt.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit
|
||||
#include "js/Object.h" // JS::GetBuiltinClass
|
||||
#include "js/PropertySpec.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "gc/FreeOp.h"
|
||||
#include "gc/Policy.h"
|
||||
#include "gc/Tracer.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/Modules.h" // JS::GetModulePrivate, JS::ModuleDynamicImportHook
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include "builtin/SelfHostingDefines.h"
|
||||
#include "frontend/BytecodeCompiler.h"
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/UniquePtr.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "js/Debug.h"
|
||||
#include "js/experimental/JitInfo.h" // JSJitGetterOp, JSJitInfo
|
||||
#include "js/ForOfIterator.h" // JS::ForOfIterator
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/ArrayObject.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "builtin/Array.h"
|
||||
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_NOT_EXPECTED_TYPE
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/ArgumentsObject.h"
|
||||
#include "vm/JSContext.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "frontend/ParseNode.h"
|
||||
#include "frontend/Parser.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit
|
||||
#include "js/StableStringChars.h"
|
||||
#include "vm/BigIntType.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "frontend/TokenStream.h"
|
||||
#include "irregexp/RegExpAPI.h"
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_NEWREGEXP_FLAGGED
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/RegExpFlags.h" // JS::RegExpFlag, JS::RegExpFlags
|
||||
#include "util/StringBuffer.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "builtin/streams/ReadableStreamReader.h" // js::ReadableStream{,Default}Reader, js::CreateReadableStreamDefaultReader, js::ReadableStreamReaderGeneric{Cancel,Initialize,Release}, js::ReadableStreamDefaultReaderRead
|
||||
#include "js/ArrayBuffer.h" // JS::NewArrayBuffer
|
||||
#include "js/experimental/TypedData.h" // JS_GetArrayBufferViewData, JS_NewUint8Array{,WithBuffer}
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/Interpreter.h"
|
||||
#include "vm/JSContext.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "builtin/RegExp.h"
|
||||
#include "jit/InlinableNatives.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit
|
||||
#if !JS_HAS_INTL_API
|
||||
# include "js/LocaleSensitive.h"
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "builtin/Symbol.h"
|
||||
|
||||
#include "js/Symbol.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "util/StringBuffer.h"
|
||||
#include "vm/PlainObject.h" // js::PlainObject
|
||||
|
|
|
@ -63,6 +63,7 @@
|
|||
#include "js/experimental/CodeCoverage.h" // js::GetCodeCoverageSummary
|
||||
#include "js/experimental/TypedData.h" // JS_GetObjectAsUint8Array
|
||||
#include "js/friend/DumpFunctions.h" // js::Dump{Backtrace,Heap,Object}, JS::FormatStackDump, js::IgnoreNurseryObjects
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/WindowProxy.h" // js::ToWindowProxyIfWindow
|
||||
#include "js/HashTable.h"
|
||||
#include "js/LocaleSensitive.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "builtin/WeakMapObject.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "vm/ProxyObject.h"
|
||||
|
||||
#include "gc/WeakMap-inl.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "builtin/WeakSetObject.h"
|
||||
#include "gc/FreeOp.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/JSContext.h"
|
||||
#include "vm/SelfHosting.h"
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
#include "mozilla/Maybe.h"
|
||||
|
||||
#include "jsapi.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "vm/GlobalObject.h"
|
||||
#include "vm/JSContext.h"
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "jsapi.h"
|
||||
|
||||
#include "builtin/MapObject.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/GlobalObject.h"
|
||||
#include "vm/Iteration.h"
|
||||
|
|
|
@ -14,11 +14,10 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include "jsfriendapi.h" // for GetErrorMessage, JSMSG_INTERNAL_INTL_ERROR
|
||||
|
||||
#include "gc/GCEnum.h"
|
||||
#include "gc/Zone.h"
|
||||
#include "gc/ZoneAllocator.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_INTERNAL_INTL_ERROR
|
||||
#include "js/Value.h"
|
||||
#include "unicode/uformattedvalue.h"
|
||||
#include "vm/JSContext.h"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "js/CharacterEncoding.h"
|
||||
#include "js/Date.h"
|
||||
#include "js/experimental/Intl.h" // JS::AddMozDateTimeFormatConstructor
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/GCAPI.h"
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/StableStringChars.h"
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "js/CallArgs.h"
|
||||
#include "js/Class.h"
|
||||
#include "js/experimental/Intl.h" // JS::AddMozDateTimeFormatConstructor, JS::AddDisplayNamesConstructor
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/GCVector.h"
|
||||
#include "js/PropertyDescriptor.h"
|
||||
#include "js/PropertySpec.h"
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "builtin/intl/SharedIntlData.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/Class.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/Result.h"
|
||||
#include "js/StableStringChars.h"
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "builtin/intl/CommonFunctions.h"
|
||||
#include "ds/Sort.h"
|
||||
#include "gc/Tracer.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Result.h"
|
||||
#include "js/TracingAPI.h"
|
||||
#include "js/Utility.h"
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "builtin/String.h"
|
||||
#include "gc/Rooting.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/TypeDecls.h"
|
||||
#include "js/Wrapper.h"
|
||||
#include "util/StringBuffer.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "builtin/intl/ScopedICUObject.h"
|
||||
#include "gc/FreeOp.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "unicode/udisplaycontext.h"
|
||||
#include "unicode/uloc.h"
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#include "mozilla/FloatingPoint.h" // mozilla::IsNaN
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage
|
||||
|
||||
#include "js/Conversions.h" // JS::ToNumber
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RootingAPI.h" // JS::{,Mutable}Handle, JS::Rooted
|
||||
#include "vm/Interpreter.h" // js::{Call,GetAndClearException}
|
||||
#include "vm/JSContext.h" // JSContext
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#include "mozilla/Maybe.h" // mozilla::Maybe, mozilla::Nothing, mozilla::Some
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
#include "builtin/Promise.h" // js::RejectPromiseWithPendingError
|
||||
#include "builtin/streams/ReadableStream.h" // js::ReadableStream
|
||||
|
@ -24,6 +23,7 @@
|
|||
#include "builtin/streams/WritableStreamWriterOperations.h" // js::WritableStreamDefaultWriter{GetDesiredSize,Release,Write}
|
||||
#include "js/CallArgs.h" // JS::CallArgsFromVp, JS::CallArgs
|
||||
#include "js/Class.h" // JSClass, JSCLASS_HAS_RESERVED_SLOTS
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Promise.h" // JS::AddPromiseReactions
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted
|
||||
#include "js/Value.h" // JS::{,Int32,Magic,Object}Value, JS::UndefinedHandleValue
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "builtin/streams/StreamController.h" // js::StreamController
|
||||
#include "js/Class.h" // JSClass, JSCLASS_HAS_RESERVED_SLOTS
|
||||
#include "js/Conversions.h" // JS::ToNumber
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RootingAPI.h" // JS::Rooted
|
||||
#include "js/Value.h" // JS::Value, JS::{Number,Object}Value
|
||||
#include "vm/Compartment.h" // JSCompartment
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "jspubtd.h" // JSProto_ReadableStream
|
||||
|
||||
#include "builtin/Array.h" // js::NewDenseFullyAllocatedArray
|
||||
|
@ -26,6 +25,7 @@
|
|||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/Class.h" // JSCLASS_PRIVATE_IS_NSISUPPORTS, JSCLASS_HAS_PRIVATE, JS_NULL_CLASS_OPS
|
||||
#include "js/Conversions.h" // JS::ToBoolean
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h" // JS{Function,Property}Spec, JS_FN, JS_PSG, JS_{FS,PS}_END
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted, js::CanGC
|
||||
#include "js/Stream.h" // JS::ReadableStream{Mode,UnderlyingSource}
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
#include "builtin/streams/ReadableStream.h" // js::ReadableStream
|
||||
#include "builtin/streams/ReadableStreamReader.h" // js::CreateReadableStreamBYOBReader, js::ForAuthorCodeBool
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
using JS::Handle;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*, js::AssertSameCompartment
|
||||
#include "jsfriendapi.h" // js::AssertSameCompartment
|
||||
|
||||
#include "builtin/streams/ClassSpecMacro.h" // JS_STREAMS_CLASS_SPEC
|
||||
#include "builtin/streams/MiscellaneousOperations.h" // js::IsMaybeWrapped
|
||||
|
@ -26,6 +26,7 @@
|
|||
#include "builtin/streams/TeeState.h" // js::TeeState
|
||||
#include "js/ArrayBuffer.h" // JS::NewArrayBuffer
|
||||
#include "js/Class.h" // js::ClassSpec
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/Interpreter.h"
|
||||
#include "vm/JSContext.h"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage
|
||||
|
||||
#include "builtin/streams/ClassSpecMacro.h" // JS_STREAMS_CLASS_SPEC
|
||||
#include "builtin/streams/MiscellaneousOperations.h" // js::ReturnPromiseRejectedWithPendingError
|
||||
|
@ -17,6 +16,7 @@
|
|||
#include "builtin/streams/ReadableStreamReader.h" // js::ForAuthorCodeBool, js::ReadableStream{,Default}Reader
|
||||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/Class.h" // JSClass, JS_NULL_CLASS_OPS
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted
|
||||
#include "vm/PromiseObject.h" // js::PromiseObject
|
||||
|
||||
|
|
|
@ -11,12 +11,13 @@
|
|||
#include "mozilla/Assertions.h" // MOZ_ASSERT{,_IF}
|
||||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsfriendapi.h" // JS_ReportErrorNumberASCII, js::GetErrorMessage
|
||||
#include "jsfriendapi.h" // JS_ReportErrorNumberASCII
|
||||
|
||||
#include "builtin/Stream.h" // js::ReadableStreamController, js::ReadableStreamControllerPullSteps
|
||||
#include "builtin/streams/ReadableStream.h" // js::ReadableStream
|
||||
#include "builtin/streams/ReadableStreamController.h" // js::ReadableStreamController
|
||||
#include "builtin/streams/ReadableStreamInternals.h" // js::ReadableStream{Cancel,CreateReadResult}
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted
|
||||
#include "js/Value.h" // JS::Value, JS::UndefinedHandleValue
|
||||
#include "vm/Interpreter.h" // js::GetAndClearException
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <stdint.h> // uint32_t, uintptr_t
|
||||
|
||||
#include "jsapi.h" // js::AssertHeapIsIdle, JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, js::IsObjectInContextCompartment, JSMSG_*
|
||||
#include "jsfriendapi.h" // js::IsObjectInContextCompartment
|
||||
#include "jstypes.h" // JS_{FRIEND,PUBLIC}_API
|
||||
|
||||
#include "builtin/Stream.h" // js::ReadableByteStreamController{,Close}, js::ReadableStreamDefaultController{,Close}, js::StreamController
|
||||
|
@ -25,6 +25,7 @@
|
|||
#include "builtin/streams/StreamController.h" // js::StreamController
|
||||
#include "gc/Zone.h" // JS::Zone
|
||||
#include "js/experimental/TypedData.h" // JS_GetArrayBufferViewData, JS_NewUint8Array
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/GCAPI.h" // JS::AutoCheckCannotGC, JS::AutoSuppressGCAnalysis
|
||||
#include "js/Object.h" // JS::SetPrivate
|
||||
#include "js/RootingAPI.h" // JS::{,Mutable}Handle, JS::Rooted
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "jspubtd.h" // JSProto_WritableStream
|
||||
|
||||
#include "builtin/streams/ClassSpecMacro.h" // JS_STREAMS_CLASS_SPEC
|
||||
|
@ -22,6 +21,7 @@
|
|||
#include "builtin/streams/WritableStreamOperations.h" // js::WritableStream{Abort,Close{,QueuedOrInFlight}}
|
||||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/Class.h" // JS{Function,Property}Spec, JS_{FS,PS}_END, JSCLASS_PRIVATE_IS_NSISUPPORTS, JSCLASS_HAS_PRIVATE, JS_NULL_CLASS_OPS
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RealmOptions.h" // JS::RealmCreationOptions
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted
|
||||
#include "js/Value.h" // JS::{,Object}Value
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "builtin/streams/WritableStreamDefaultControllerOperations.h" // js::WritableStreamDefaultControllerError
|
||||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/Class.h" // js::ClassSpec, JS_NULL_CLASS_OPS
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h" // JS{Function,Property}Spec, JS_{FS,PS}_END
|
||||
#include "js/Value.h" // JS::Value
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorASCII, JS_ReportErrorNumberASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
#include "builtin/streams/ClassSpecMacro.h" // JS_STREAMS_CLASS_SPEC
|
||||
#include "builtin/streams/MiscellaneousOperations.h" // js::ReturnPromiseRejectedWithPendingError
|
||||
|
@ -21,6 +20,7 @@
|
|||
#include "builtin/streams/WritableStreamWriterOperations.h" // js::WritableStreamDefaultWriter{Abort,GetDesiredSize,Release,Write}
|
||||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/Class.h" // js::ClassSpec, JS_NULL_CLASS_OPS
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h" // JS{Function,Property}Spec, JS_{FS,PS}_END, JS_{FN,PSG}
|
||||
#include "js/RootingAPI.h" // JS::Handle
|
||||
#include "js/Value.h" // JS::Value
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <stdint.h> // uint32_t
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
#include "builtin/streams/MiscellaneousOperations.h" // js::PromiseRejectedWithPendingError
|
||||
#include "builtin/streams/WritableStream.h" // js::WritableStream
|
||||
|
@ -22,6 +21,7 @@
|
|||
#include "builtin/streams/WritableStreamDefaultControllerOperations.h" // js::WritableStreamControllerErrorSteps
|
||||
#include "builtin/streams/WritableStreamWriterOperations.h" // js::WritableStreamDefaultWriterEnsureReadyPromiseRejected
|
||||
#include "js/CallArgs.h" // JS::CallArgs{,FromVp}
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Promise.h" // JS::{Reject,Resolve}Promise
|
||||
#include "js/RootingAPI.h" // JS::Handle, JS::Rooted
|
||||
#include "js/Value.h" // JS::Value, JS::ObjecValue, JS::UndefinedHandleValue
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include "mozilla/Attributes.h" // MOZ_MUST_USE
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberASCII, JS_ReportErrorASCII
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_*
|
||||
|
||||
#include "builtin/streams/MiscellaneousOperations.h" // js::PromiseRejectedWithPendingError
|
||||
#include "builtin/streams/WritableStream.h" // js::WritableStream
|
||||
|
@ -20,6 +19,7 @@
|
|||
#include "builtin/streams/WritableStreamDefaultControllerOperations.h" // js::WritableStreamDefaultController{Close,GetDesiredSize}
|
||||
#include "builtin/streams/WritableStreamDefaultWriter.h" // js::WritableStreamDefaultWriter
|
||||
#include "builtin/streams/WritableStreamOperations.h" // js::WritableStream{Abort,CloseQueuedOrInFlight}
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Promise.h" // JS::PromiseState
|
||||
#include "js/Value.h" // JS::Value, JS::{Int32,Null}Value
|
||||
#include "vm/Compartment.h" // JS::Compartment
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "js/ArrayBuffer.h" // JS::{IsArrayBufferObject,GetArrayBufferData,GetArrayBuffer{ByteLength,Data}}
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/experimental/TypedData.h" // JS_GetArrayBufferView{Type,Data}, JS_GetTypedArrayByteLength, JS_IsArrayBufferViewObject, JS_IsTypedArrayObject
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Object.h" // JS::GetPrivate, JS::GetReservedSlot, JS::SetPrivate
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/SharedArrayBuffer.h" // JS::{GetSharedArrayBuffer{ByteLength,Data},IsSharedArrayBufferObject}
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#include <utility> // for std::move
|
||||
|
||||
#include "jsapi.h" // for CallArgs, CallArgsFromVp
|
||||
#include "jsfriendapi.h" // for GetErrorMessage
|
||||
#include "jstypes.h" // for JS_PUBLIC_API
|
||||
|
||||
#include "builtin/Array.h" // for NewDenseFullyAllocatedArray
|
||||
|
@ -62,6 +61,7 @@
|
|||
#include "jit/RematerializedFrame.h" // for RematerializedFrame
|
||||
#include "js/Conversions.h" // for ToBoolean, ToUint32
|
||||
#include "js/Debug.h" // for Builder::Object, Builder
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_*
|
||||
#include "js/GCAPI.h" // for GarbageCollectionEvent
|
||||
#include "js/HeapAPI.h" // for ExposeObjectToActiveJS
|
||||
#include "js/Promise.h" // for AutoDebuggerJobQueueInterruption
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "gc/Marking.h"
|
||||
#include "js/AllocPolicy.h"
|
||||
#include "js/Debug.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/TracingAPI.h"
|
||||
#include "js/UbiNode.h"
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <utility> // for move
|
||||
|
||||
#include "jsapi.h" // for Rooted, CallArgs, MutableHandle
|
||||
#include "jsfriendapi.h" // for GetErrorMessage, GetPropertyKeys
|
||||
|
||||
#include "debugger/Debugger.h" // for Env, Debugger, ValueToIdentifier
|
||||
#include "debugger/Object.h" // for DebuggerObject
|
||||
|
@ -22,6 +21,7 @@
|
|||
#include "frontend/BytecodeCompiler.h" // for IsIdentifier
|
||||
#include "gc/Rooting.h" // for RootedDebuggerEnvironment
|
||||
#include "gc/Tracer.h" // for TraceManuallyBarrieredCrossCompartmentEdge
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_*
|
||||
#include "js/HeapAPI.h" // for IsInsideNursery
|
||||
#include "vm/Compartment.h" // for Compartment
|
||||
#include "vm/JSAtom.h" // for Atomize, PinAtom
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include <utility> // for std::move
|
||||
|
||||
#include "jsapi.h" // for CallArgs, Handle
|
||||
#include "jsfriendapi.h" // for GetErrorMessage
|
||||
#include "jsnum.h" // for Int32ToString
|
||||
|
||||
#include "builtin/Array.h" // for NewDenseCopiedArray
|
||||
|
@ -44,6 +43,7 @@
|
|||
#include "gc/ZoneAllocator.h" // for AddCellMemory
|
||||
#include "jit/JSJitFrameIter.h" // for InlineFrameIterator
|
||||
#include "jit/RematerializedFrame.h" // for RematerializedFrame
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_*
|
||||
#include "js/Object.h" // for SetReservedSlot
|
||||
#include "js/Proxy.h" // for PrivateValue
|
||||
#include "js/SourceText.h" // for SourceText, SourceOwnership
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
#include <stdio.h> // for fprintf, stdout
|
||||
|
||||
#include "jsapi.h" // for Handle
|
||||
#include "jsfriendapi.h" // for DumpBacktrace, GetErrorMessage
|
||||
|
||||
#include "debugger/Debugger.h" // for Debugger
|
||||
#include "js/friend/DumpFunctions.h" // for DumpBacktrace
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_DEBUGGEE_WOULD_RUN
|
||||
#include "js/Promise.h" // for AutoDebuggerJobQueueInterruption
|
||||
#include "vm/JSContext.h" // for ProtectedDataContextArg, JSContext
|
||||
#include "vm/JSScript.h" // for JSScript
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <utility> // for move
|
||||
|
||||
#include "jsapi.h" // for CallArgs, RootedObject, Rooted
|
||||
#include "jsfriendapi.h" // for GetErrorMessage
|
||||
|
||||
#include "builtin/Array.h" // for NewDenseCopiedArray
|
||||
#include "builtin/Promise.h" // for PromiseReactionRecordBuilder
|
||||
|
@ -31,6 +30,7 @@
|
|||
#include "gc/Tracer.h" // for TraceManuallyBarrieredCrossCompartmentEdge
|
||||
#include "js/CompilationAndEvaluation.h" // for Compile
|
||||
#include "js/Conversions.h" // for ToObject
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/WindowProxy.h" // for IsWindow, IsWindowProxy, ToWindowIfWindowProxy
|
||||
#include "js/HeapAPI.h" // for IsInsideNursery
|
||||
#include "js/Promise.h" // for PromiseState
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <stdint.h> // for uint32_t, SIZE_MAX, int32_t
|
||||
|
||||
#include "jsapi.h" // for CallArgs, Rooted, CallArgsFromVp
|
||||
#include "jsfriendapi.h" // for GetErrorMessage
|
||||
#include "jsnum.h" // for ToNumber
|
||||
#include "NamespaceImports.h" // for CallArgs, RootedValue
|
||||
|
||||
|
@ -28,6 +27,7 @@
|
|||
#include "gc/Tracer.h" // for TraceManuallyBarrieredCrossCompartmentEdge
|
||||
#include "gc/Zone.h" // for Zone
|
||||
#include "gc/ZoneAllocator.h" // for AddCellMemory
|
||||
#include "js/friend/ErrorMessages.h" // for GetErrorMessage, JSMSG_*
|
||||
#include "js/HeapAPI.h" // for GCCellPtr
|
||||
#include "js/Wrapper.h" // for UncheckedUnwrap
|
||||
#include "vm/ArrayObject.h" // for ArrayObject
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
#include "frontend/TryEmitter.h" // TryEmitter
|
||||
#include "frontend/WhileEmitter.h" // WhileEmitter
|
||||
#include "js/CompileOptions.h" // TransitiveCompileOptions, CompileOptions
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // CheckRecursionLimit
|
||||
#include "util/StringBuffer.h" // StringBuffer
|
||||
#include "vm/AsyncFunctionResolveKind.h" // AsyncFunctionResolveKind
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "frontend/BytecodeEmitter.h"
|
||||
#include "frontend/ModuleSharedContext.h"
|
||||
#include "frontend/TDZCheckCache.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "vm/GlobalObject.h"
|
||||
|
||||
using namespace js;
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "frontend/TokenStream.h" // TokenStreamAnyChars
|
||||
#include "irregexp/RegExpAPI.h" // irregexp::CheckPatternSyntax
|
||||
#include "js/CharacterEncoding.h" // JS::UTF8Chars, UTF8CharsToNewTwoByteCharsZ
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/GCAPI.h" // JS::AutoCheckCannotGC
|
||||
#include "js/HeapAPI.h" // JS::GCCellPtr
|
||||
#include "js/RegExpFlags.h" // JS::RegExpFlag, JS::RegExpFlags
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "frontend/ParseContext-inl.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
|
||||
#include "vm/EnvironmentObject-inl.h"
|
||||
|
||||
using mozilla::Maybe;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "frontend/NameCollections.h"
|
||||
#include "frontend/SharedContext.h"
|
||||
#include "frontend/UsedNameTracker.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "vm/GeneratorAndAsyncKind.h" // js::GeneratorKind, js::FunctionAsyncKind
|
||||
#include "vm/GeneratorObject.h" // js::AbstractGeneratorObject::FixedSlotLimit
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include "frontend/ParseNodeVerify.h"
|
||||
#include "frontend/TokenStream.h"
|
||||
#include "irregexp/RegExpAPI.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/RegExpFlags.h" // JS::RegExpFlags
|
||||
#include "util/StringBuffer.h" // StringBuffer
|
||||
#include "vm/BigIntType.h"
|
||||
|
|
|
@ -187,6 +187,7 @@
|
|||
#include "frontend/SharedContext.h"
|
||||
#include "frontend/SyntaxParseHandler.h"
|
||||
#include "frontend/TokenStream.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSErrNum, JSMSG_*
|
||||
#include "js/Vector.h"
|
||||
#include "vm/ErrorReporting.h"
|
||||
#include "vm/GeneratorAndAsyncKind.h" // js::GeneratorKind, js::FunctionAsyncKind
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
#include "frontend/BytecodeEmitter.h" // BytecodeEmitter
|
||||
#include "frontend/SharedContext.h" // StatementKind
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/TypeDecls.h" // jsbytecode
|
||||
#include "util/BitArray.h"
|
||||
#include "vm/BytecodeUtil.h" // SET_JUMP_OFFSET, JUMP_OFFSET_LEN, SET_RESUMEINDEX
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "frontend/ParserAtom.h"
|
||||
#include "frontend/ReservedWords.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Printf.h" // JS_smprintf
|
||||
#include "js/RegExpFlags.h" // JS::RegExpFlags
|
||||
#include "js/UniquePtr.h"
|
||||
|
|
|
@ -208,6 +208,7 @@
|
|||
#include "frontend/Token.h"
|
||||
#include "frontend/TokenKind.h"
|
||||
#include "js/CompileOptions.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/HashTable.h" // js::HashMap
|
||||
#include "js/RegExpFlags.h" // JS::RegExpFlags
|
||||
#include "js/UniquePtr.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include "irregexp/RegExpNativeMacroAssembler.h"
|
||||
#include "irregexp/RegExpShim.h"
|
||||
#include "jit/JitCommon.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::ReportOverRecursed
|
||||
#include "util/StringBuffer.h"
|
||||
#include "vm/MatchPairs.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "jit/SharedICHelpers.h"
|
||||
#include "jit/TrialInlining.h"
|
||||
#include "jit/VMFunctions.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/UniquePtr.h"
|
||||
#include "vm/AsyncFunction.h"
|
||||
#include "vm/AsyncIteration.h"
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include "jit/SharedICHelpers.h"
|
||||
#include "jit/VMFunctions.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/GCVector.h"
|
||||
#include "vm/BytecodeIterator.h"
|
||||
#include "vm/BytecodeLocation.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "jit/Lowering.h"
|
||||
#include "jit/MIRGraph.h"
|
||||
#include "js/experimental/JitInfo.h" // JSJitInfo
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/Object.h" // JS::GetReservedSlot
|
||||
#include "js/ScalarType.h" // js::Scalar::Type
|
||||
#include "util/CheckedArithmetic.h"
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "jit/JitRuntime.h"
|
||||
#include "jit/mips32/Simulator-mips32.h"
|
||||
#include "jit/mips64/Simulator-mips64.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimitWithExtra
|
||||
#include "js/friend/WindowProxy.h" // js::IsWindow
|
||||
#include "js/Printf.h"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "jit/MIRGraph.h"
|
||||
#include "jit/WarpCacheIRTranspiler.h"
|
||||
#include "jit/WarpSnapshot.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_BAD_CONST_ASSIGN
|
||||
#include "vm/Opcodes.h"
|
||||
|
||||
#include "jit/JitScript-inl.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "js/ArrayBuffer.h" // JS::{GetArrayBuffer{ByteLength,Data},IsArrayBufferObject,NewArrayBuffer{,WithContents},StealArrayBufferContents}
|
||||
#include "js/Exception.h"
|
||||
#include "js/experimental/TypedData.h" // JS_New{Int32,Uint8}ArrayWithBuffer
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/MemoryFunctions.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
#include <stdint.h>
|
||||
|
||||
#include "jsapi.h" // JS_IsExceptionPending, JS_StringEqualsLiteral
|
||||
#include "jsfriendapi.h" // JSMSG_BIGINT_INVALID_SYNTAX
|
||||
|
||||
#include "js/BigInt.h" // JS::{,Number,String,SimpleString}ToBigInt, JS::ToBig{I,Ui}nt64
|
||||
#include "js/CharacterEncoding.h" // JS::Const{Latin1,TwoByte}Chars
|
||||
#include "js/Conversions.h" // JS::ToString
|
||||
#include "js/ErrorReport.h" // JS::ErrorReportBuilder, JSEXN_SYNTAXERR
|
||||
#include "js/Exception.h" // JS::StealPendingExceptionStack
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/RootingAPI.h" // JS::Rooted
|
||||
#include "js/Value.h" // JS::FalseValue, JS::Value
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "js/CharacterEncoding.h"
|
||||
#include "js/CompilationAndEvaluation.h" // JS::Compile
|
||||
#include "js/Exception.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/SourceText.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "vm/ErrorReporting.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "js/CharacterEncoding.h"
|
||||
#include "js/CompilationAndEvaluation.h" // JS::Compile
|
||||
#include "js/Exception.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/SourceText.h"
|
||||
#include "jsapi-tests/tests.h"
|
||||
#include "vm/ErrorReporting.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "js/Array.h" // JS::IsArrayObject
|
||||
#include "js/Exception.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/JSON.h"
|
||||
#include "js/MemoryFunctions.h"
|
||||
#include "js/Printf.h"
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
#include "js/ContextOptions.h" // JS::ContextOptions{,Ref}
|
||||
#include "js/Conversions.h"
|
||||
#include "js/Date.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckSystemRecursionLimit
|
||||
#include "js/Initialization.h"
|
||||
#include "js/JSON.h"
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
#include "js/Conversions.h"
|
||||
#include "js/Date.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/LocaleSensitive.h"
|
||||
#include "js/Object.h" // JS::GetBuiltinClass
|
||||
#include "js/PropertySpec.h"
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "js/ErrorReport.h" // JS::PrintError
|
||||
#include "js/Exception.h" // JS::ExceptionStack
|
||||
#include "js/experimental/TypedData.h" // JS_IsArrayBufferViewObject
|
||||
#include "js/friend/ErrorMessages.h" // JSErrNum, js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Object.h" // JS::GetBuiltinClass
|
||||
#include "js/SavedFrameAPI.h"
|
||||
#include "js/UniquePtr.h"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "js/CharacterEncoding.h"
|
||||
#include "js/experimental/CodeCoverage.h"
|
||||
#include "js/experimental/Intl.h" // JS::Add{,Moz}DisplayNamesConstructor, JS::AddMozDateTimeFormatConstructor
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // JS_STACK_GROWTH_DIRECTION
|
||||
#include "js/friend/WindowProxy.h" // js::ToWindowIfWindowProxy
|
||||
#include "js/Object.h" // JS::GetClass
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include "js/Class.h"
|
||||
#include "js/ErrorReport.h"
|
||||
#include "js/Exception.h"
|
||||
#include "js/friend/ErrorMessages.h"
|
||||
#include "js/HeapAPI.h"
|
||||
#include "js/Object.h" // JS::GetClass
|
||||
#include "js/shadow/Function.h" // JS::shadow::Function
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "jit/InlinableNatives.h"
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#if !JS_HAS_INTL_API
|
||||
# include "js/LocaleSensitive.h"
|
||||
#endif
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "NamespaceImports.h"
|
||||
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h"
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
|
||||
#include "vm/StringType.h"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "NamespaceImports.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Proxy.h"
|
||||
#include "proxy/DeadObjectProxy.h"
|
||||
#include "vm/ProxyObject.h"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "jsapi.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "vm/JSFunction.h" // XXXefaust Bug 1064662
|
||||
#include "vm/ProxyObject.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Wrapper.h"
|
||||
|
||||
#include "vm/JSObject-inl.h"
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "jsapi.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimit, js::GetNativeStackLimit
|
||||
#include "js/friend/WindowProxy.h" // js::IsWindow, js::IsWindowProxy, js::ToWindowProxyIfWindow
|
||||
#include "js/PropertySpec.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "jsapi.h"
|
||||
|
||||
#include "js/CharacterEncoding.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertyDescriptor.h" // JS::FromPropertyDescriptor
|
||||
#include "vm/EqualityOperations.h" // js::SameValue
|
||||
#include "vm/JSFunction.h"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "jsfriendapi.h"
|
||||
#include "NamespaceImports.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // JSMSG_*
|
||||
#include "js/Wrapper.h"
|
||||
#include "vm/JSObject.h"
|
||||
#include "vm/StringType.h"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "jsexn.h"
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/WindowProxy.h" // js::IsWindowProxy
|
||||
#include "js/Object.h" // JS::GetBuiltinClass
|
||||
#include "js/Proxy.h"
|
||||
|
|
|
@ -113,6 +113,7 @@
|
|||
#include "js/experimental/SourceHook.h" // js::{Set,Forget,}SourceHook
|
||||
#include "js/experimental/TypedData.h" // JS_NewUint8Array
|
||||
#include "js/friend/DumpFunctions.h" // JS::FormatStackDump
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/friend/StackLimits.h" // js::CheckRecursionLimitConservative
|
||||
#include "js/friend/WindowProxy.h" // js::IsWindowProxy, js::SetWindowProxyClass, js::ToWindowProxyIfWindow, js::ToWindowIfWindowProxy
|
||||
#include "js/GCAPI.h" // JS::AutoCheckCannotGC
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
#include <sys/stat.h> // stat, fstat
|
||||
|
||||
#include "jsapi.h" // JS_ReportErrorNumberLatin1
|
||||
#include "jsfriendapi.h" // js::GetErrorMessage, JSMSG_CANT_OPEN
|
||||
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_CANT_OPEN
|
||||
|
||||
bool js::ReadCompleteFile(JSContext* cx, FILE* fp, FileContents& buffer) {
|
||||
/* Get the complete length of the file, if possible. */
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <algorithm>
|
||||
|
||||
#include "frontend/ParserAtom.h" // frontend::ParserAtom, frontend::ParserAtomsTable
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "vm/JSObject-inl.h"
|
||||
#include "vm/StringType-inl.h"
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include "js/ArrayBuffer.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/experimental/TypedData.h" // JS_IsArrayBufferViewObject
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/MemoryMetrics.h"
|
||||
#include "js/PropertySpec.h"
|
||||
#include "js/SharedArrayBuffer.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "builtin/Array.h"
|
||||
|
||||
#include "builtin/Promise.h" // js::AsyncFromSyncIteratorMethod, js::AsyncGeneratorEnqueue
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/PropertySpec.h"
|
||||
#include "vm/FunctionFlags.h" // js::FunctionFlags
|
||||
#include "vm/GeneratorObject.h"
|
||||
|
|
|
@ -102,6 +102,7 @@
|
|||
#include "gc/Allocator.h"
|
||||
#include "js/BigInt.h"
|
||||
#include "js/Conversions.h"
|
||||
#include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_*
|
||||
#include "js/Initialization.h"
|
||||
#include "js/StableStringChars.h"
|
||||
#include "js/Utility.h"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче