Closed Bug 779793 Opened 12 years ago Closed 12 years ago

Properly send a NO_PROVIDER error when there is no options to handle a WebActivity

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: etienne, Assigned: etienne)

References

Details

Attachments

(1 file)

Attached patch Patch proposalSplinter Review
Looks like |ActivitiesDb.find| will always call the success callback with a result where |result.options| is an empty array if no provider was found.

Updating the "no matching activity registered" condition accordingly.
Attachment #648292 - Flags: review?(21)
Keywords: checkin-needed
Flags: in-testsuite-
Backed out as part of the mass tree revert due to bustage caused by other landings:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c801b99d726f

Once the tree is open again, this can reland :-)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/91e49679104c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Blocks: 715814
QA Contact: jsmith
Whiteboard: [qa+]
Keywords: verifyme
Whiteboard: [qa+]
Keywords: verifyme
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: