Closed
Bug 875229
Opened 11 years ago
Closed 11 years ago
DocumentLocalized not rising in Chrome
Categories
(L20n :: HTML Bindings, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
1.0
People
(Reporter: thesilentimp, Assigned: zbraniecki)
Details
Attachments
(1 file)
730 bytes,
patch
|
stas
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36 Steps to reproduce: document.addEventListener('DocumentLocalized', function(){alert('l20n is ready');}); Actual results: it work fine in FF, but don't work in Chrome Expected results: L20n must work in any browser
Updated•11 years ago
|
Component: General → HTML Bindings
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gandalf
Target Milestone: --- → 1.0
Assignee | ||
Comment 1•11 years ago
|
||
The only bug I found in Chrome is that we use "const" in strict mode. I switched it to var, since const is not part of ECMA. With this change I get an alert window.
Attachment #758734 -
Flags: review?(stas)
Comment 2•11 years ago
|
||
Comment on attachment 758734 [details] [diff] [review] patch Review of attachment 758734 [details] [diff] [review]: ----------------------------------------------------------------- Good catch. r=me.
Attachment #758734 -
Flags: review?(stas) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://github.com/l20n/l20n.js/commit/b0cce61641a4d88ee94bb65c2221a4bbbb872ede
Assignee | ||
Comment 4•11 years ago
|
||
Reporter, can you confirm that the code in question works in Chrome for you now?
Flags: needinfo?(thesilentimp)
Assignee | ||
Comment 5•11 years ago
|
||
closing for now. If the bug still exists, please, reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•