Skip to content
Permalink
Browse files
Fix #13335. Remove "use strict".
  • Loading branch information
dmethvin committed Feb 1, 2013
1 parent 1923da8 commit 7adee6c4da5c89e96b1532b6bd3faa1ee4bfdb2a
Showing 2 changed files with 6 additions and 2 deletions.
@@ -4,7 +4,6 @@
"newcap": false,
"quotmark": "double",
"regexdash": true,
"strict": true,
"trailing": true,
"undef": true,
"unused": true,
@@ -12,4 +12,9 @@
* Date: @DATE
*/
(function( window, undefined ) {
"use strict";

// Can't do this because several apps including ASP.NET trace
// the stack via arguments.caller.callee and Firefox dies if
// you try to trace through "use strict" call chains. (#13335)
// Support: Firefox 18+
//"use strict";

2 comments on commit 7adee6c

@timmywil
Copy link
Member

@timmywil timmywil commented on 7adee6c Feb 1, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, ASP needs to update.

@dmethvin
Copy link
Member Author

@dmethvin dmethvin commented on 7adee6c Feb 1, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Microsoft, the code that's doing this is inside some component that has to be pushed to each Windows system as part of a platform update. So add a few months for that. And/or convince Firefox to allow non-strict code to trace through strict stacks, which probably isn't gonna happen. Since "use strict" isn't really buying us anything, it's gonna walk the plank.

Please sign in to comment.