Closed Bug 469023 Opened 16 years ago Closed 15 years ago

network.protocol-handler.warn-external-default does not work with hildon platform

Categories

(Core :: DOM: Navigation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: romaxa, Assigned: romaxa)

References

()

Details

Attachments

(1 file)

set
pref("network.protocol-handler.warn-external-default", false);
in preferences.

open URL

EXPECTED:
Email application is opened

ACTUAL:
nsContentDispatcher dialog opened and asking to choose application.
Attachment #352428 - Flags: review?(cbiesinger)
Fix URL, and assign to myself
Attachment #352428 - Flags: review?(bugmail)
Attachment #352428 - Flags: review?(bugmail) → review+
Attachment #352428 - Flags: review?(cbiesinger) → review?(doug.turner)
Comment on attachment 352428 [details] [diff] [review]
Add missing default action check

does the compiler actually complain if you mark nsMIMEInfoUnix::HandlerExists static both in the cpp file and in the header as static?  Mostly curious.

does hildon_uri_action_unref accept NULL as input?  (should the unref be also under the if(action) branch?

If we don't crash when action is NULL, r=me.
Attachment #352428 - Flags: review?(doug.turner) → review+
Component: General → File Handling
Product: Fennec → Core
QA Contact: general → file-handling
Component: File Handling → Document Navigation
QA Contact: file-handling → docshell
(In reply to comment #2)
> (From update of attachment 352428 [details] [diff] [review])
> does the compiler actually complain if you mark nsMIMEInfoUnix::HandlerExists
> static both in the cpp file and in the header as static?  Mostly curious.
I'll remove static from cpp

> 
> does hildon_uri_action_unref accept NULL as input?
g_set_error will not do anything in this case.
>  (should the unref be also
> under the if(action) branch?

That is good idea.

> 
> If we don't crash when action is NULL, r=me.
No it does not crash
Oh, static in cpp is commented /* static */
Fixed in:
http://hg.mozilla.org/mozilla-central/rev/6c47449be33d
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: