Closed Bug 1219097 Opened 4 years ago Closed 4 years ago

Intermittent browser_notification_open_settings.js | Uncaught exception - at :0 - Error: operation not possible on dead CPOW


(Toolkit :: Notifications and Alerts, defect)

Not set



Tracking Status
firefox44 --- wontfix
firefox45 --- wontfix
firefox46 --- fixed
firefox47 --- fixed
firefox-esr45 --- unaffected


(Reporter: philor, Assigned: mrbkap)



(Keywords: intermittent-failure)


(3 files)

Assignee: nobody → mrbkap
Attached patch FixSplinter Review
These tests use CPOWs incorrectly, leading to races and spurious failures. We can't simply use ContentTask because we need to hold state (the notification object) across a few calls to the content process, so I stuck it on the content window.
Attachment #8722729 - Flags: review?(felipc)
Attached patch Fix newlinesSplinter Review
There were some DOS newlines in here.
Attachment #8722730 - Flags: review?(felipc)
Attachment #8722729 - Flags: review?(felipc) → review+
Attachment #8722730 - Flags: review?(felipc) → review+
sorry had to back this out, this change here caused problems merging mozilla-central to mozilla-inbound 
warning: conflicts while merging browser/base/content/test/alerts/browser_notification_close.js! (edit, then use 'hg resolve --mark')
Flags: needinfo?(mrbkap)
I have no idea how that happened. Sorry about that!
Flags: needinfo?(mrbkap)
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
has problems/conflict on beta:

grafting 330506:9460b1c1cccd "Bug 1219097 - Stop using incorrect CPOWs in these tests. r=felipe"
merging browser/base/content/test/alerts/browser_notification_close.js
merging browser/base/content/test/alerts/browser_notification_do_not_disturb.js
merging browser/base/content/test/alerts/browser_notification_open_settings.js
merging browser/base/content/test/alerts/browser_notification_remove_permission.js
merging browser/base/content/test/alerts/browser_notification_tab_switching.js
merging browser/base/content/test/alerts/head.js
warning: conflicts while merging browser/base/content/test/alerts/browser_notification_close.js! (edit, then use 'hg resolve --mark')
abort: unresolved conflicts, can't continue
(use hg resolve and hg graft --continue)
Flags: needinfo?(mrbkap)
Hi Carsten, please see the new patch for checkin to beta.
Flags: needinfo?(mrbkap) → needinfo?(cbook)
The merged patch doesn't apply cleanly to beta.
Flags: needinfo?(cbook)
Whiteboard: [checkin-needed-beta]
You need to log in before you can comment on or make changes to this bug.