mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Backing out because of bogus checkin comment
This commit is contained in:
parent
7eee3537f3
commit
76b192e1f0
@ -131,7 +131,7 @@ nsJSContext::nsJSContext(JSRuntime *aRuntime)
|
||||
|
||||
// Check for the JS strict option, which enables extra error checks
|
||||
nsresult rv;
|
||||
PRBool strict;
|
||||
PRBool strict, werror;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &rv);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
uint32 options = 0;
|
||||
@ -143,7 +143,6 @@ nsJSContext::nsJSContext(JSRuntime *aRuntime)
|
||||
}
|
||||
#endif
|
||||
#ifdef JSOPTION_WERROR
|
||||
nsresult werror;
|
||||
if (NS_SUCCEEDED(prefs->GetBoolPref("javascript.options.werror",
|
||||
&werror)) &&
|
||||
werror) {
|
||||
|
Loading…
Reference in New Issue
Block a user