mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Change GLOBAL string to be calculated from global this.toString() to eliminate erroneous errors in debug builds, no bug, not part of the build
This commit is contained in:
parent
cf7a48dd8c
commit
85cb04ad3b
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
var GLOBAL = "[object Window]";
|
||||
var GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
var GLOBAL = "[object Window]";
|
||||
var GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
var GLOBAL = "[object Window]";
|
||||
var GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
GLOBAL = "[object Window]";
|
||||
GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
var GLOBAL = "[object Window]";
|
||||
var GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
GLOBAL = "[object Window]";
|
||||
GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
GLOBAL = "[object Window]";
|
||||
GLOBAL = this + '';
|
||||
|
||||
function writeLineToLog( string ) {
|
||||
document.write( string + "<br>\n");
|
||||
|
@ -50,7 +50,7 @@
|
||||
* <script src="./mytest.js"></script>
|
||||
*/
|
||||
|
||||
GLOBAL = "[object Window]";
|
||||
GLOBAL = this + '';
|
||||
|
||||
var TT = "<tt>";
|
||||
var TT_ = "</tt>";
|
||||
|
Loading…
Reference in New Issue
Block a user