Closed
Bug 912053
Opened 11 years ago
Closed 11 years ago
ReferenceError in XHR handling
Categories
(L20n :: HTML Bindings, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mik01aj, Assigned: zbraniecki)
Details
Attachments
(1 file)
413 bytes,
patch
|
mgol
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1588.0 Safari/537.36 Steps to reproduce: I don't know. Perhaps I pressed stop in my browser. But the issue is, that there is a piece of code like this: xhr.addEventListener('abort', function(e) { callback(ex); }); Actual results: It thrown a ReferenceError Expected results: I think that there should be "ex" instead of "e". Looks like a simple bug to fix.
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•11 years ago
|
||
great catch! Thank you! Attaching a patch proposal. Michal, can you take a look?
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Attachment #799607 -
Flags: review?(m.goleb+mozilla)
Comment 2•11 years ago
|
||
(In reply to Zbigniew Braniecki [:gandalf] from comment #1) > Created attachment 799607 [details] [diff] [review] > 912053.patch > > great catch! Thank you! > > Attaching a patch proposal. Michal, can you take a look? Should be good. :)
Comment 3•11 years ago
|
||
Comment on attachment 799607 [details] [diff] [review] 912053.patch Review of attachment 799607 [details] [diff] [review]: ----------------------------------------------------------------- Seems fine for me. Thanks!
Comment 4•11 years ago
|
||
Sorry for the comment mess, I don't know how to mark an attachment as reviewed here (I haven't contributed a lot of patches/etc. on Bugzilla so far).
Updated•11 years ago
|
Attachment #799607 -
Flags: review?(m.goleb+mozilla) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://github.com/l20n/l20n.js/commit/85c29d6333a5cad4f2130dae33d37ebcebe566f7 thanks guys!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•