Closed
Bug 934850
Opened 12 years ago
Closed 12 years ago
[MMS] Received messages are all empty, no attachment or text content.
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 930882
People
(Reporter: echu, Assigned: steveck)
References
Details
Attachments
(1 file)
299.24 KB,
text/plain
|
Details |
Found on master build. After receiving MMS and open it, it's all empty. Buri base image (v1.1) and v1.2 pvt build have no such problem.
Buri
Gaia: 1aee772a384f1ed1148f08c6c7df45d2fe35506e
Gecko: http://hg.mozilla.org/mozilla-central/rev/b4143e04bea1
BuildID 20131104044747
Version 28.0a1
blocking-b2g: --- → 1.3?
Keywords: regression
Updated•12 years ago
|
Keywords: regressionwindow-wanted
Assignee | ||
Comment 1•12 years ago
|
||
Looks like a regression in bug 930882, using 'let' in smil module will cause error and all mms related functionality will be failed. Root cause might be some limitation for Javascript v1.7(https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators?redirectlocale=en-US&redirectslug=JavaScript%2FGuide%2FIterators_and_Generators). Here is a note in the page:
"The yield keyword is only available to code blocks in HTML wrapped in a <script type="application/javascript;version=1.7"> block (or higher version). XUL script tags have access to these features without needing this special block."
I think 'let' keyword is also the same here and the solution did work. Hi Julien, we have at least 2 solution for this issue:
- Replace 'let' with 'var'
- Add script type "application/javascript;version=1.7" for loading js file in lazyload
Which on do you prefer? :)
Assignee: nobody → schung
Flags: needinfo?(felash)
Assignee | ||
Comment 2•12 years ago
|
||
Another thought: maybe we should replace 'let' with 'var' in this patch and create another bug for lazyloader version support feature?
Comment 3•12 years ago
|
||
Agreed with using "var" only in content code (for now).
Closing this as Borja backed out the offending patch :)
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(felash)
Resolution: --- → DUPLICATE
Updated•12 years ago
|
Keywords: regression,
regressionwindow-wanted
Updated•12 years ago
|
blocking-b2g: 1.3? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•