Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
a9e05748fc
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrew McCreight
cf96c9a98b
Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qdot
...
These were detected by the script used to generate part 2.
MozReview-Commit-ID: VMcT154f6f
2017-10-26 14:54:59 -07:00
Swapnesh Kumar Sahoo
ff1ab87268
Bug 1389057 - Inherit NotificationTelemetryService from nsIObserver r=kitcambridge
...
MozReview-Commit-ID: La4XxSWYljO
2017-08-16 01:24:31 +05:30
Swapnesh Kumar Sahoo
7d802f5c11
Bug 1351034 - Remove usages associated to WEB_NOTIFICATION_SENDERS. f=chutten; r=kitcambridge
...
MozReview-Commit-ID: Jm3ERVEW5Ww
2017-05-09 09:19:10 -07:00
Swapnesh Kumar Sahoo
1a83c57493
Bug 1351034 - Remove WEB_NOTIFICATION_PERMISSION_REMOVED. f=chutten; r=kitcambridge
...
MozReview-Commit-ID: 2X3PjxDgkPf
2017-05-09 09:24:01 -07:00
Kit Cambridge
a5173714bd
Bug 1350937 - Label web notification runnables. r=billm
...
MozReview-Commit-ID: 5mfs6ebQ9jW
2017-03-29 12:01:45 -07:00
William Chen
5e1510c25b
Bug 862395 - Part 3: Add preference for web notification requireInteraction flag. r=baku
2016-10-12 16:43:27 -07:00
William Chen
ffb414a896
Bug 862395 - Part 1: Add requireInteraction property to web notifications. r=baku
2016-10-12 17:27:40 -07:00
Andrea Marchesini
796bda032a
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
ef49710e52
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
2016-06-23 10:13:54 +02:00
Andrea Marchesini
274f4e927f
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
2016-06-22 17:24:35 +02:00
SUN Haitao
1a7aef9dd5
Bug 1264815 - Rename 'serviceWorkerRegistrationID' to 'serviceWorkerRegistrationScope'. r=kcambridge
2016-05-26 22:19:09 +08:00
Carsten "Tomcat" Book
f82bea1b58
Backed out changeset 9bcbe80a4a7a (bug 1264815)
2016-05-31 07:05:02 +02:00
SUN Haitao
95d652c463
Bug 1264815 - Rename 'serviceWorkerRegistrationID' to 'serviceWorkerRegistrationScope'. r=kcambridge
2016-05-26 22:19:09 +08:00
Kit Cambridge
2e4efff9aa
Bug 1259148 - Notify content when the notification permission pop-up is dismissed by the user. r=past,wchen
...
MozReview-Commit-ID: 8CcgQcJDeie
2016-03-30 16:54:37 -07:00
Kyle Huey
d791fedcc4
Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Boris Zbarsky
4a1f8e0199
Bug 1255298. Just pass through the JSContext when passing through the NotificationOptions in notification code. r=wchen
2016-03-10 18:07:28 -05:00
Boris Zbarsky
bef853515e
Bug 1250185 part 2. Remove some JSContext stuff that's no longer needed in Notification code. r=khuey
2016-02-23 15:02:35 -05:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Kit Cambridge
721c3da62f
Bug 1241278 - Change Notification.requestPermission() to return a promise. r=baku
2016-01-20 14:23:04 -08:00
Kit Cambridge
e4c25d3a6a
Bug 1224771 - Close all web notifications when the originating tab is closed. r=wchen
2015-12-29 15:06:28 -07:00
Nicholas Nethercote
6a634f5d75
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Kit Cambridge
ea45d8a39a
Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally
2015-11-13 21:22:59 -08:00
Kit Cambridge
2220f9071c
Bug 1212149 - e10s support for opening notification settings. r=wchen
2015-10-22 15:20:51 -06:00
Kit Cambridge
4e1d9d79be
Bug 1212129 - e10s support for disabling site notifications. r=wchen
2015-10-22 15:10:14 -06:00
Matthew Noorenberghe
0da1af4d6c
Bug 1205399 - Backend for disabling of notifications for a site from the UI. r=nsm
2015-09-25 13:18:28 -07:00
Nikhil Marathe
0adf3f9bdd
Bug 1196079 - Always try to release Notification via normal WorkerRunnable first. r=wchen
2015-08-24 15:40:57 -07:00
Nikhil Marathe
4259369027
Bug 1183954 - Fix Notification.data structured cloning on workers. r=robertbindar,mccr8
...
Rather than store a non-thread-safe refcounted nsIStructuredCloneContainer, store the base64 representation.
Caches a jsval the first time an attempt to access data is made from content script.
2015-07-30 12:44:14 -07:00
Nikhil Marathe
a4b945e481
Bug 1114554 - Patch 7 - Call BindToOwner on all threads. r=wchen
2015-06-25 18:50:25 -07:00
Nikhil Marathe
e4e69430ef
Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen
2015-06-25 18:50:25 -07:00
Nikhil Marathe
ab7be2f189
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
2015-06-25 18:50:25 -07:00
Nikhil Marathe
cd10b7c6f8
Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
...
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku
Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.
Folded:
Hide NotificationEvent behind pref
2015-06-25 18:50:25 -07:00
Nikhil Marathe
85363ecf25
Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
...
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-06-25 18:50:24 -07:00
Nikhil Marathe
48b8e5bbdf
Bug 916893 - Patch 2 - Deal with onclose. Some grammar fixes. r=wchen
2015-06-25 18:53:02 -07:00
Nikhil Marathe
cd760dad5b
Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
...
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 18:53:02 -07:00
Ryan VanderMeulen
965e1e9b30
Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
...
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)
CLOSED TREE
2015-06-25 19:52:40 -04:00
Nikhil Marathe
62718df3bb
Bug 1114554 - Patch 7 - Call BindToOwner on all threads. r=wchen
2015-05-22 14:55:40 -07:00
Nikhil Marathe
2f092bdd2a
Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen
2015-05-04 09:04:25 -04:00
Nikhil Marathe
88b7462150
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
2015-04-27 14:18:54 -07:00
Nikhil Marathe
242fe36854
Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
...
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku
Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.
Folded:
Hide NotificationEvent behind pref
2015-06-25 15:01:01 -07:00
Nikhil Marathe
1188d9bccc
Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
...
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-05-06 13:52:41 -07:00
Nikhil Marathe
deae8fef1d
Bug 916893 - Patch 2 - Deal with onclose. Some grammar fixes. r=wchen
2015-04-27 11:54:48 -07:00
Nikhil Marathe
02f8317c80
Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
...
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 11:36:53 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Robert Bindar
d4adf00299
Bug 912645 - Add notification behavior dict support. r=baku, sr=sicking
2014-09-16 17:12:00 -04:00