Closed Bug 939331 Opened 11 years ago Closed 11 years ago

[Datastore] onchange event is not fired for clear operations

Categories

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

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: kgrandon, Assigned: baku)

Details

Attachments

(1 file)

When working with datastore, the onchange event is fired whenever you add a record. If you have two running applications, one consuming the datastore, it will currently not know of a change and be out of date. I think we either need to fire the onchange event, or have some new event fired when data is cleared.
Hey Baku - any opinion on this issue?
Flags: needinfo?(amarchesini)
this is clearly a bug. I take it.
Assignee: nobody → amarchesini
Flags: needinfo?(amarchesini)
Attached patch event.patchSplinter Review
Attachment #8355579 - Flags: review?(ehsan)
Attachment #8355579 - Flags: review?(ehsan) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
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: