Closed Bug 500251 Opened 15 years ago Closed 15 years ago

Cannot set set Minefield as default browser on Windows CE

Categories

(Firefox :: Shell Integration, defect, P2)

ARM
Windows CE
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: zpao, Assigned: robert.strong.bugs)

Details

(Whiteboard: [nv])

Attachments

(2 files, 3 obsolete files)

When setting Minefield as the default browser an error is thrown & subsequent runs of Minefield ask again. Error is transcribed (since copy & paste doesn't work)

uncaught exception: [Exception... "Component returned failure code: 0x8004005 (NS_ERROR_FAILURE) [nsIShellService.setDefaultBrowser]"  ...... location: "JS frame :: chrome://browser.content/browser.js :: delayedStartup :: line 1133" data: no]
Summary: Cannot set set Minefield as default browser → Cannot set set Minefield as default browser on Windows CE
Whiteboard: [nv]
Component: General → Shell Integration
QA Contact: general → shell.integration
taking
Assignee: nobody → robert.bugzilla
Attached patch patch in progress (obsolete) — Splinter Review
Still needs some cleanup. If someone with a device wants to try this out I'd appreciate it.
I'm not getting the error, but Minefield still doesn't think it's set as the default browser. Opening a link from Windows Media Player opens IE so it would appear to not be set (though WMP might be hard coded to use IE).
Attached patch in progress 2 (obsolete) — Splinter Review
This should work for the most part.

We need to decide what protocols / files we want to handle. Here is a listing of what ie handles with Microsoft Windows CE .NET 4.2
http://msdn.microsoft.com/en-us/library/ms924682.aspx
Attachment #385337 - Attachment is obsolete: true
Confirming that the new patch works & we're taking over default browser for links from WMP & local .html files. We're opening everything in a new window instead of opening a new tab in the existing window. Filed bug 500770 for that.
Handlers I suggest we take
htmlfile (in the current patch)
gifimage
jpegimage
bmpimage
pngimage
http (in the current patch)
https (in the current patch)
ftp (in the current patch)

I am planning on adding xml for Firefox so probable xmlfile as well
Attached patch patch rev1 (obsolete) — Splinter Review
Attachment #385431 - Attachment is obsolete: true
Comment on attachment 386351 [details] [diff] [review]
patch rev1

While testing this it was found that the icons aren't properly associating and the registry values aren't saved if the system is hard booted.
I have a fix for saving the registry values when the system is hard booted. I'll need to borrow a system to figure out what is going on with the icons.
Attached patch patch rev2Splinter Review
I believe this will fix the remaining issues
Attachment #386351 - Attachment is obsolete: true
Attachment #387265 - Flags: review?(vladimir)
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/89283ae6dccd
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: