зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cf7a48dd8c
Коммит
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>";
|
||||
|
|
Загрузка…
Ссылка в новой задаче