gecko-dev/parser/htmlparser/nsParserBase.h
Sean Feng aa9228e6a7 Bug 1840191 - Fix a crash where nsContentSink::DidBuildModelImpl gets called with incorrect state r=hsivonen,dom-core
The autofocus algorithm made this noticeable because we now can run
scripts at an earlier time.

Differential Revision: https://phabricator.services.mozilla.com/D182734
2023-08-17 18:22:57 +00:00

17 lines
472 B
C++

/* This Source Code Form is subject to the terms of the Mozilla Public
* 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/. */
#ifndef nsParserBase_h_
#define nsParserBase_h_
#include "nsIChannel.h"
class nsParserBase : public nsISupports {
public:
NS_IMETHOD_(bool) IsParserEnabled() { return true; }
NS_IMETHOD_(bool) IsParserClosed() { return false; }
};
#endif // nsParserBase_h_