Closed Bug 1006786 Opened 12 years ago Closed 12 years ago

[B2G][OpenC][Settings] Notification.get() returns notifications for cleared notifications

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 affected)

RESOLVED DUPLICATE of bug 930794
Tracking Status
b2g-v1.4 --- affected

People

(Reporter: jmitchell, Unassigned)

Details

(Whiteboard: OpenCrun1.4-3)

Attachments

(1 file)

Attached file logcat.txt —
Description: The Notification API can be used to show prior notifications in the Logcat by using the Get Notification function. This function should only retrieve notifications from the last time the browser was run and the show notifications tool was used(closing the browser app and restarting it should clear the old notification data). The Get Notification function is retrieving notification data from prior instances / usages of the webpage. Notes: +++ This bug was initially created as a clone of Bug #930794 +++ (this bug was closed as fixed so I am creating a new one that is specific to the Open C device) This is related to the work done in bug 899574: "If a notification is generated, and either the user clicks on the notification or clears the notification from the notification tray,the notification should be removed from the list of notifications tracked for Notification.get() calls." Repro Steps: (with the device plugged in and logcat running) 1) Update a Open C to BuildID: 20140505000201 2) Go to http://mozilla.github.io/qa-testcase-data/webapi/notifications/ 3) Show a notification 4) Kill & restart the browser process 5) Go to http://mozilla.github.io/qa-testcase-data/webapi/notifications/ 6) Select "Get" under get notification Actual: The logcat indicates that 1 notification (from step 3) is shown. Expected: The logact should indicate that 0 notifications were shown. 1.4 Environmental Variables: Device: Open C 1.4 MOZ BuildID: 20140505000201 Gaia: fccb15d6940db51615545574877a62d69406b1c2 Gecko: bf937fbec8c1 Version: 30.0 Firmware Version: P821A10-Eng_20140429 Repro frequency: 100% Link to failed test case: https://moztrap.mozilla.org/runtests/run/3963/env/347/?&pagenumber=1&pagesize=100&sortfield=order&sortdirection=asc&filter-id=11277&filter-id=11278&filter-id=11279&filter-id=11280&filter-id=11281&filter-id=11282&filter-id=11283&filter-id=11284&filter-id=11285&filter-suite=427 See attached: logcat.txt
This DOES occur on the 1.4 Buri 1.4 Environmental Variables: Device: Buri 1.4 MOZ BuildID: 20140506040204 Gaia: 4af716f09747edfbea637f5b60f7fd7d0183f19b Gecko: 81651ad5e43c Version: 32.0a1 Firmware Version: V1.2-device.cfg
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: