added runtime control for rick's strict dtd work, so engineers can continue to work with existing non-compliant test cases
disabled error reporting in view source, at rick's request no bug number r=rickg a=rickg git-svn-id: svn://10.0.0.236/trunk@71989 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -151,10 +151,10 @@ COtherDTD::COtherDTD() : nsIDTD(), mSharedNodes(0) {
|
||||
mTokenRecycler=0;
|
||||
mParserCommand=eViewNormal;
|
||||
|
||||
#if 0 //set this to 1 if you want strictDTD to be based on the environment setting.
|
||||
char* theEnvString = PR_GetEnv("ENABLE_STRICT");
|
||||
mEnableStrict=PRBool(theEnvString!=0);
|
||||
else
|
||||
#if 1 //set this to 1 if you want strictDTD to be based on the environment setting.
|
||||
char* theEnvString = PR_GetEnv("MOZ_DISABLE_STRICT");
|
||||
mEnableStrict=PRBool(0==theEnvString);
|
||||
#else
|
||||
mEnableStrict=PR_TRUE;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user