diff options
Diffstat (limited to 'js/loader/ScriptLoadRequest.h')
-rw-r--r-- | js/loader/ScriptLoadRequest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/loader/ScriptLoadRequest.h b/js/loader/ScriptLoadRequest.h index 442a456b15..f255b65228 100644 --- a/js/loader/ScriptLoadRequest.h +++ b/js/loader/ScriptLoadRequest.h @@ -124,6 +124,7 @@ class ScriptLoadRequest : public nsISupports, Fetching, Compiling, LoadingImports, + CancelingImports, Ready, Canceled }; @@ -139,6 +140,7 @@ class ScriptLoadRequest : public nsISupports, bool IsFetching() const { return mState == State::Fetching; } bool IsCompiling() const { return mState == State::Compiling; } bool IsLoadingImports() const { return mState == State::LoadingImports; } + bool IsCancelingImports() const { return mState == State::CancelingImports; } bool IsCanceled() const { return mState == State::Canceled; } bool IsPendingFetchingError() const { |