Commit Graph

215 Commits

Author SHA1 Message Date
Boris Zbarsky
dbc94a4932 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Kit Cambridge
d48b20ae8d Bug 1170115 - Use clear-origin-data to remove Push records. r=allstars.chh 2015-11-13 15:18:10 -08:00
William Chen
695e19e23d Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 21:34:00 -08:00
William Chen
c03d0ce8c0 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 21:33:17 -08:00
William Chen
4481b2e455 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 21:33:11 -08:00
Phil Ringnalda
53ed38ad2d Back out 3 changesets (bug 1210211) for b2g build bustage
CLOSED TREE

Backed out changeset 204a1746f421 (bug 1210211)
Backed out changeset e5d16111e809 (bug 1210211)
Backed out changeset b78d00c9af42 (bug 1210211)
2015-11-16 19:34:14 -08:00
William Chen
c9b27a9be1 Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 13:20:20 -08:00
William Chen
91115f8170 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 13:20:15 -08:00
William Chen
5c41ea00c1 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 13:20:09 -08:00
Kit Cambridge
58485d0586 Bug 1223481 - Use the "potentially trustworthy origin" helper to validate Push server URLs. r=dragana 2015-11-10 10:50:46 -08:00
Kit Cambridge
6b5d4295c3 Bug 1223202 - Only send subscription change events if the Push permission is granted. r=mt 2015-11-10 14:27:47 -08:00
Kit Cambridge
357fec3abc Bug 1210896, Part 2 - Use JS errors to reject internal Push promises. r=mt 2015-11-09 13:58:50 -08:00
Kit Cambridge
e901a1c306 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt 2015-11-09 13:58:32 -08:00
Kit Cambridge
0e036d1b85 Bug 1206302 - Use DOMException for Push errors. r=mt 2015-11-05 10:38:35 -08:00
Kit Cambridge
89737f405b Bug 1219063, Part 2 - Remove obsolete "push" permission. r=mt 2015-10-30 18:16:19 -07:00
Kit Cambridge
0480735d12 Bug 1219063, Part 1 - Use transactions for updating Push subscription permissions. r=mt 2015-10-30 18:15:48 -07:00
Kit Cambridge
918855f645 Bug 1159641, Part 2 - Use tasks in the Push permissions test. r=mt 2015-10-30 11:48:56 -07:00
Kit Cambridge
7513027760 Bug 1159641, Part 1 - Skip the permission check in pushManager.getSubscription(). r=mt 2015-10-30 09:37:22 -07:00
Kit Cambridge
e3b452e30f Bug 1218591 - Reset the WebSocket retry counter when the server replies. r=dragana 2015-10-28 17:07:11 -07:00
Dragana Damjanovic
0f1fb00ee5 Bug 1216683 - For the WebSocket version unregister should return true even if we are offline. r=kitcambridge 2015-10-27 09:13:00 +01:00
Carsten "Tomcat" Book
6e2c19312a merge mozilla-inbound to mozilla-central a=merge 2015-10-27 10:55:48 +01:00
Wes Kocher
9ddb296228 Merge m-c to fx-team, a=merge 2015-10-26 14:39:31 -07:00
Ehsan Akhgari
e3652e5d9c Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
This has been removed from the spec.  See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Andrea Marchesini
c997842c3d Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal 2015-10-26 15:29:28 +00:00
Nick Alexander
86e099e294 Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman 2015-10-23 10:07:05 -07:00
Nick Alexander
38a1962881 Bug 1214366 - Part 1: Don't preprocess PushServiceWebSocket.jsm. r=kitcambridge
Just a little build system clean-up.  There's no reason for this to be
special, and it's easier to use in the debugger with correct line
numbers.
2015-10-16 14:04:37 -07:00
Kit Cambridge
9da9c34269 Bug 1217065 - Unconditionally ack incoming updates. r=dragana,benbangert 2015-10-22 10:32:33 -06:00
Kit Cambridge
b57336dac5 Bug 1206163 - Retry failed register requests on reconnect. r=dragana 2015-10-22 10:14:43 -06:00
Kit Cambridge
879e996c67 Bug 1201128 - Don't send channel IDs in the Push handshake. r=nsm 2015-10-26 08:42:29 -07:00
Dragana Damjanovic
66322c83ea Bug 1212593 - Fix PushService behavior when we are switching between push servers. r=kcambridge 2015-10-20 01:33:00 +02:00
Nathan Froyd
e4e2da55c9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Kit Cambridge
387711600b Bug 1191453 - Drop subscriptions for a site when the user revokes push permissions. r=mt,MattN 2015-10-06 08:14:25 -07:00
Nicholas Hurley
5c70c463e3 Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus 2015-10-05 13:13:05 -07:00
Kit Cambridge
f3be3ed940 Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
Kit Cambridge
987b4d4b4d Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert 2015-10-03 14:59:24 -07:00
Catalin Badea
3b71b90bb1 Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly 2015-10-01 01:42:18 -04:00
Catalin Badea
b7c0f4f391 Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 19:11:03 -04:00
Wes Kocher
711e09ec3d Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Stephanie Ouillon
f9ff75858a Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin 2015-08-26 13:12:13 +02:00
Catalin Badea
acbaa6621d Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 10:14:33 -04:00
Carsten "Tomcat" Book
e8e44d28d7 Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
86e2fcdbc0 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
675ff55f72 Backed out 1 changesets (bug 1178533) for s4 testfailures
Backed out changeset 8bbdb80f67e0 (bug 1178533)
2015-09-23 10:17:54 +02:00
Stephanie Ouillon
ff6411c2ee Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-22 11:55:00 +02:00
Kit Cambridge
f81945138a Back out bug 1205109 for Push mochitest failure. 2015-09-18 18:15:23 -07:00
Kit Cambridge
4a66df9bd2 Bug 1205109 - Make pushsubscriptionchange extendable. r=mt,nsm 2015-09-17 05:15:45 -07:00
Kit Cambridge
7be88fe195 Bug 1205112 - Make PushEvent.data nullable. r=mt,smaug 2015-09-17 05:13:04 -07:00
Kit Cambridge
2ce3628b0c Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug 2015-09-17 05:10:42 -07:00
Kit Cambridge
8b213208a0 Bug 1185544 - Add data delivery to the WebSocket backend. r=dragana,nsm 2015-09-17 05:08:50 -07:00
Nikhil Marathe
dd972da1a4 Bug 914481 - Patch 4 - Track why we fail to deliver notifications to Service Workers. r=kitcambridge 2015-09-16 10:28:17 -07:00