diff --git a/mozilla/js2/tests/cpp/js2_shell.cpp b/mozilla/js2/tests/cpp/js2_shell.cpp index f7a632d643b..a38bc2c1e1b 100644 --- a/mozilla/js2/tests/cpp/js2_shell.cpp +++ b/mozilla/js2/tests/cpp/js2_shell.cpp @@ -22,6 +22,11 @@ // JS2 shell. // +#ifdef _WIN32 + // Turn off warnings about identifiers too long in browser information + #pragma warning(disable: 4786) +#endif + #if 1 #define DEBUGGER_FOO #define INTERPRET_INPUT