mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-04 21:52:44 +00:00
Adding ifdef to turn JS dump() on w/o the need of a pref (96924). r=cls, sr=jst, a=asa
This commit is contained in:
parent
fe799ffba7
commit
e36fd638a2
@ -1525,7 +1525,7 @@ NS_IMETHODIMP GlobalWindowImpl::GetLength(PRUint32* aLength)
|
||||
|
||||
NS_IMETHODIMP GlobalWindowImpl::Dump(const nsAReadableString& aStr)
|
||||
{
|
||||
#ifndef NS_DEBUG
|
||||
#if !(defined(NS_DEBUG) || defined(MOZ_ENABLE_JS_DUMP))
|
||||
{
|
||||
// In optimized builds we check a pref that controls if we should
|
||||
// enable output from dump() or not, in debug builds it's always
|
||||
|
Loading…
x
Reference in New Issue
Block a user