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)

defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 16

People

(Reporter: marco, Unassigned)

Details

(Whiteboard: [qa!])

Attachments

(1 file)

> 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.
Priority: -- → P2
Attached patch PatchSplinter Review
There was a check for Mac using Mac functions, I've changed it to use nsIFile like in Linux and Windows.
Attachment #631633 - Flags: review?(myk)
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+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Myk - Is this possible to verify from an end-user's perspective? If so, how?
Whiteboard: [qa?]
(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.
Whiteboard: [qa?] → [qa+]
Flags: in-moztrap-
Works on Windows.
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?
Whiteboard: [qa+] → [qa?]
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.
(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
Whiteboard: [qa?] → [qa!]
QA Contact: jsmith
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: