Closed
Bug 1111294
Opened 10 years ago
Closed 10 years ago
Error message with [JavaScript Application] after simulator download failure
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 38
People
(Reporter: sean.ian.linsley, Assigned: beracochea, Mentored)
Details
(Whiteboard: [good first bug][lang=js])
Attachments
(2 files)
244.71 KB,
image/png
|
Details | |
1.03 KB,
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20141212030201
Steps to reproduce:
When attempting to download a Firefox OS runtime for Web IDE, it understandably failed because of my internet connection at the time.
Actual results:
However, the error message was titled with "[JavaScript Application]". Also, the menu bar's color changed slightly while the JS alert was open.
Reporter | ||
Updated•10 years ago
|
Component: Untriaged → Developer Tools: WebIDE
Reporter | ||
Comment 1•10 years ago
|
||
I'm not sure whether my Firefox version is "37 branch" or trunk, but I'm running Firefox Nightly.
Summary: WebIDE error message titled with [JavaScript Application] → Error message with [JavaScript Application] after simulator download failure
Reporter | ||
Comment 2•10 years ago
|
||
I'd be happy to submit a patch for this, but I have no idea where the related code exists. Can someone point me in the right direction?
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to sean.ian.linsley from comment #2)
> I'd be happy to submit a patch for this, but I have no idea where the
> related code exists. Can someone point me in the right direction?
Great! To get started with the code base, check out the DevTools hacking page[1].
The alert[2] could be replaced with a call to WebIDE's |reportError| function[3], so that it's displayed the way other errors are.
In this case, you'd likely do something like |window.parent.UI.reportError(...)|.
[1]: https://wiki.mozilla.org/DevTools/Hacking
[2]: http://hg.mozilla.org/mozilla-central/annotate/a4a5d4fb5e2e/browser/devtools/webide/content/addons.js#l51
[3]: http://hg.mozilla.org/mozilla-central/annotate/a4a5d4fb5e2e/browser/devtools/webide/content/webide.js#l308
Mentor: jryans
Whiteboard: [good first bug][lang=js]
Assignee | ||
Comment 4•10 years ago
|
||
Patch proposal, could someone review it. Thanks
Comment on attachment 8547261 [details] [diff] [review]
fix1111294.patch
Review of attachment 8547261 [details] [diff] [review]:
-----------------------------------------------------------------
Great, this looks good to me!
For future patches, be sure to set someone in the "review?" or "feedback?" flag, or else your patch might get lost. Don't worry too much about who you pick, they will reassign the review if needed.
I have pushed this to our testing environment, and we'll land it assuming that looks good.
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=562bf004c307
Attachment #8547261 -
Flags: review+
Assignee | ||
Comment 6•10 years ago
|
||
Excellent! :). I'll mark the review or feedback flag next time.
Thanks!
Tests look good. A sheriff will land this patch soon.
Thanks for your contribution! Feel free to look around for more patches to try. :)
Keywords: checkin-needed
![]() |
||
Comment 8•10 years ago
|
||
Assignee: nobody → beracochea
Keywords: checkin-needed
Whiteboard: [good first bug][lang=js] → [good first bug][lang=js][fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=js][fixed-in-fx-team] → [good first bug][lang=js]
Target Milestone: --- → Firefox 38
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•