Closed
Bug 760747
Opened 13 years ago
Closed 13 years ago
Wrong check in Mac and Windows webapp runtimes
Categories
(Firefox Graveyard :: Webapp Runtime, defect, P2)
Firefox Graveyard
Webapp Runtime
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 16
People
(Reporter: marco, Unassigned)
Details
(Whiteboard: [qa!])
Attachments
(1 file)
|
3.13 KB,
patch
|
myk
:
review+
myk
:
checkin+
|
Details | Diff | Splinter Review |
> rv = XRE_GetFileFromPath(rtIniPath, getter_AddRefs(rtINI));
> NS_ENSURE_SUCCESS(rv, false);
>
> if (!rtINI) {
Something similar is in the Mac runtime. We'd need to change this to check if the rtINI exists.
I'll post a patch tomorrow.
Updated•13 years ago
|
Priority: -- → P2
| Reporter | ||
Comment 1•13 years ago
|
||
There was a check for Mac using Mac functions, I've changed it to use nsIFile like in Linux and Windows.
| Reporter | ||
Updated•13 years ago
|
Attachment #631633 -
Flags: review?(myk)
Comment 2•13 years ago
|
||
Comment on attachment 631633 [details] [diff] [review]
Patch
Sorry for the delay reviewing; I was having Windows build problems.
This looks correct and behaves as expected. r=myk!
https://hg.mozilla.org/integration/mozilla-inbound/rev/d7362d197229
Attachment #631633 -
Flags: review?(myk)
Attachment #631633 -
Flags: review+
Attachment #631633 -
Flags: checkin+
Comment 3•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Comment 4•13 years ago
|
||
Myk - Is this possible to verify from an end-user's perspective? If so, how?
Whiteboard: [qa?]
| Reporter | ||
Comment 5•13 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #4)
> Myk - Is this possible to verify from an end-user's perspective? If so, how?
You should see the error message "This app requires that Firefox version 15 or above is installed. Firefox 15+ has not been detected." if you delete the file webapprt/webapprt.ini in the Firefox installation directory.
Updated•13 years ago
|
Whiteboard: [qa?] → [qa+]
Updated•13 years ago
|
Flags: in-moztrap-
Comment 6•13 years ago
|
||
Works on Windows.
Comment 7•13 years ago
|
||
I'm noticing a regression on Mac when Nightly is not installed and I try to launch a web app that I no longer see the message in comment 5. Does this patch cause the bustage on Mac?
Updated•13 years ago
|
Whiteboard: [qa+] → [qa?]
Comment 8•13 years ago
|
||
Comment 5 is specific to Windows. Each platform stub has its own error messages. The Mac one is more confusing, you're right - let's track that in a separate bug about that specifically.
Comment 9•13 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #8)
> Comment 5 is specific to Windows. Each platform stub has its own error
> messages. The Mac one is more confusing, you're right - let's track that in
> a separate bug about that specifically.
Gotcha. Marking as verified then. Will open a separate bug about Mac.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Whiteboard: [qa?] → [qa!]
Updated•13 years ago
|
QA Contact: jsmith
| Assignee | ||
Updated•10 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•