mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Bug 1492011 change ShouldIncludeStackTrace from instance to class method r=baku
Depends on D67991 Differential Revision: https://phabricator.services.mozilla.com/D67992
This commit is contained in:
1 parent
1acef10bc1
commit
1694569abd
2 files changed
+3
-2
No files matched your search
@@ -2300,7 +2300,8 @@ JS::Value Console::CreateCounterOrResetCounterValue(
|
||||
return value;
|
||||
}
|
||||
|
||||
bool Console::ShouldIncludeStackTrace(MethodName aMethodName) const {
|
||||
/* static */
|
||||
bool Console::ShouldIncludeStackTrace(MethodName aMethodName) {
|
||||
switch (aMethodName) {
|
||||
case MethodError:
|
||||
case MethodException:
|
||||
|
||||
@@ -392,7 +392,7 @@ class Console final : public nsIObserver, public nsSupportsWeakReference {
|
||||
const nsAString& aCountLabel,
|
||||
uint32_t aCountValue) const;
|
||||
|
||||
bool ShouldIncludeStackTrace(MethodName aMethodName) const;
|
||||
static bool ShouldIncludeStackTrace(MethodName aMethodName);
|
||||
|
||||
JSObject* GetOrCreateSandbox(JSContext* aCx, nsIPrincipal* aPrincipal);
|
||||
|
||||
|
||||
Reference in new issue
Block a user