Commit Graph

216 Commits

Author SHA1 Message Date
Fernando Jimenez
e9eafd162d Bug 1227908 - JavaScript error: resource://gre/modules/PushService.jsm, line 281: ReferenceError: data is not defined. r=kcambridge 2015-11-26 16:52:54 +01:00
Boris Zbarsky
9f5b1d5299 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Kit Cambridge
6f150b5aab Bug 1170115 - Use clear-origin-data to remove Push records. r=allstars.chh 2015-11-13 15:18:10 -08:00
William Chen
a0d91dd1b4 Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 21:34:00 -08:00
William Chen
98ea3b4346 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 21:33:17 -08:00
William Chen
4b484cddd3 Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 21:33:11 -08:00
Phil Ringnalda
8ebf12fec9 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
9e21f82242 Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 13:20:20 -08:00
William Chen
05608413b2 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 13:20:15 -08:00
William Chen
54d5405adb Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 13:20:09 -08:00
Kit Cambridge
a97b29a4c6 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
1649d070dd 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
814c5475cc Bug 1210896, Part 2 - Use JS errors to reject internal Push promises. r=mt 2015-11-09 13:58:50 -08:00
Kit Cambridge
9d031c661e Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt 2015-11-09 13:58:32 -08:00
Kit Cambridge
ade04d66c6 Bug 1206302 - Use DOMException for Push errors. r=mt 2015-11-05 10:38:35 -08:00
Kit Cambridge
3e51ee81e3 Bug 1219063, Part 2 - Remove obsolete "push" permission. r=mt 2015-10-30 18:16:19 -07:00
Kit Cambridge
dab07845f1 Bug 1219063, Part 1 - Use transactions for updating Push subscription permissions. r=mt 2015-10-30 18:15:48 -07:00
Kit Cambridge
374e4d3dea Bug 1159641, Part 2 - Use tasks in the Push permissions test. r=mt 2015-10-30 11:48:56 -07:00
Kit Cambridge
80de1b909d Bug 1159641, Part 1 - Skip the permission check in pushManager.getSubscription(). r=mt 2015-10-30 09:37:22 -07:00
Kit Cambridge
929fdc59bd Bug 1218591 - Reset the WebSocket retry counter when the server replies. r=dragana 2015-10-28 17:07:11 -07:00
Dragana Damjanovic
2806baa636 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
d43e51f745 merge mozilla-inbound to mozilla-central a=merge 2015-10-27 10:55:48 +01:00
Wes Kocher
f310640849 Merge m-c to fx-team, a=merge 2015-10-26 14:39:31 -07:00
Ehsan Akhgari
05dbcac81b 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
6fb5a8c7f4 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
0f2345af39 Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman 2015-10-23 10:07:05 -07:00
Nick Alexander
5b90f7e6ad 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
ddb2ef3b9d Bug 1217065 - Unconditionally ack incoming updates. r=dragana,benbangert 2015-10-22 10:32:33 -06:00
Kit Cambridge
e6b6ea7af9 Bug 1206163 - Retry failed register requests on reconnect. r=dragana 2015-10-22 10:14:43 -06:00
Kit Cambridge
3bdbcab9f3 Bug 1201128 - Don't send channel IDs in the Push handshake. r=nsm 2015-10-26 08:42:29 -07:00
Dragana Damjanovic
03f5fa55f3 Bug 1212593 - Fix PushService behavior when we are switching between push servers. r=kcambridge 2015-10-20 01:33:00 +02:00
Nathan Froyd
9c5965b035 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
593496e5ae 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
21e066bf79 Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus 2015-10-05 13:13:05 -07:00
Kit Cambridge
25c133e1db Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
Kit Cambridge
2b77cee0b6 Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert 2015-10-03 14:59:24 -07:00
Catalin Badea
46787db139 Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly 2015-10-01 01:42:18 -04:00
Catalin Badea
8e6480bd9a Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 19:11:03 -04:00
Wes Kocher
b9fbd35293 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
08bc7dd59d 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
c53c48e880 Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 10:14:33 -04:00
Carsten "Tomcat" Book
b1cd9dd952 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
abc1fda863 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
4ef0e31ba4 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
cd5fc60d9b 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
3ff60936d5 Back out bug 1205109 for Push mochitest failure. 2015-09-18 18:15:23 -07:00
Kit Cambridge
7ba89a3f5a Bug 1205109 - Make pushsubscriptionchange extendable. r=mt,nsm 2015-09-17 05:15:45 -07:00
Kit Cambridge
e28927ff89 Bug 1205112 - Make PushEvent.data nullable. r=mt,smaug 2015-09-17 05:13:04 -07:00
Kit Cambridge
803b216d1b Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug 2015-09-17 05:10:42 -07:00
Kit Cambridge
a368186f2e Bug 1185544 - Add data delivery to the WebSocket backend. r=dragana,nsm 2015-09-17 05:08:50 -07:00