Closed
Bug 813772
Opened 12 years ago
Closed 12 years ago
Compatibility errors for eval() or Function() don't include source file or line
Categories
(addons.mozilla.org Graveyard :: Compatibility Tools, defect)
addons.mozilla.org Graveyard
Compatibility Tools
Tracking
(Not tracked)
VERIFIED
FIXED
2012-11-22
People
(Reporter: kmag, Assigned: basta)
References
Details
(Whiteboard: [fx17][ReviewTeam])
+++ This bug was initially created as a clone of Bug #776718 +++
These errors don't contain any reference to the file or line to which they refer, which has been causing a lot of confusion among the developers who received these errors. This is especially so since the message primarily refers to Function.toString changing, but is triggered by the use of eval() or Function()
| Assignee | ||
Comment 1•12 years ago
|
||
Assignee: nobody → mattbasta
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-11-22
| Reporter | ||
Comment 2•12 years ago
|
||
That was fast. Thanks.
Notice: `toString` for function objects has changed.
The `toString` implementation for function objects have changed. If you are using `eval` or `Function` to change the behavior of 'native' functions, it is probably not working correctly in Firefox 17 and above.
See https://bugzilla.mozilla.org/show_bug.cgi?id=761723 for details.
Tier: 5
File: resources/greadmon/data/jquery-1.7.2.min.js
Line: 2
Column: 10897
Context:
> /*! jQuery v1.7.2 jquery.com | jquery.org/license */
> ... );if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:functio ...
> a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a. ...
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•