Commit Graph
225 Commits
Author SHA1 Message Date
Kit Cambridge 311c0d4b85 Bug 1205137 - Add a PushSubscription serializer. r=mt,smaug 2015-12-14 16:28:19 -08:00
Kit Cambridge 2f25570827 Bug 1189998, Part 4 - Add authentication secret to Push data test. r=dragana 2015-12-11 11:16:46 -05:00
Kit Cambridge 3e1f8326a9 Bug 1189998, Part 3 - Update consolidated Push tests. r=mt 2015-12-08 15:41:57 -05:00
Kit Cambridge 4bb109e9c0 Bug 1189998, Part 2 - Migrate Push service callers. r=mt 2015-12-08 15:41:48 -05:00
Kit Cambridge 1942c86774 Bug 1189998, Part 1 - Consolidate Push client interfaces. r=mt,dragana 2015-12-08 15:41:41 -05:00
Martin Thomson 99269f09cc Bug 1225968 - Adding more messages to the push message tests, r=kitcambridge 2015-12-05 21:51:59 +11:00
Martin Thomson a09ccb0c69 Bug 1225968 - Refactoring to move some of the push crypto logic, r=kitcambridge 2015-12-04 08:24:47 +11:00
Martin Thomson 4f5db239c5 Bug 1225968 - Refactor data delivery tests to support addition of new tests, r=kitcambridge 2015-11-20 14:21:24 -08:00
Martin Thomson 134a387481 Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug 2015-12-09 07:26:42 +11:00
Fernando Jimenez 086ca0b69e 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 4e9d369b63 Bug 1225603. Codegen ToJSValue overloads for Web IDL enums. r=smaug,jib 2015-11-21 12:15:11 -05:00
Kit Cambridge f1946858fc Bug 1170115 - Use clear-origin-data to remove Push records. r=allstars.chh 2015-11-13 15:18:10 -08:00
William Chen 9d0405a0db Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 21:34:00 -08:00
William Chen 27f0d73735 Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 21:33:17 -08:00
William Chen 848887dd7a Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 21:33:11 -08:00
Phil Ringnalda 5ab61ded08 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 ab930aba5d Bug 1210211 - Part 3: Test for push notification quota with web notifications. r=kitcambridge 2015-11-16 13:20:20 -08:00
William Chen afe803fd6f Bug 1210211 - Part 2: Notify Push service of visible notifications. r=baku 2015-11-16 13:20:15 -08:00
William Chen fd9886a8ad Bug 1210211 - Part 1: Delay updating push quota. r=kitcambridge 2015-11-16 13:20:09 -08:00
Kit Cambridge 52a24dd1f4 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 6368d817bb 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 a428ee0075 Bug 1210896, Part 2 - Use JS errors to reject internal Push promises. r=mt 2015-11-09 13:58:50 -08:00
Kit Cambridge 19d116d2b0 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt 2015-11-09 13:58:32 -08:00
Kit Cambridge 3019e8045b Bug 1206302 - Use DOMException for Push errors. r=mt 2015-11-05 10:38:35 -08:00
Kit Cambridge df20ba2967 Bug 1219063, Part 2 - Remove obsolete "push" permission. r=mt 2015-10-30 18:16:19 -07:00
Kit Cambridge 061730b251 Bug 1219063, Part 1 - Use transactions for updating Push subscription permissions. r=mt 2015-10-30 18:15:48 -07:00
Kit Cambridge 9c72d3978a Bug 1159641, Part 2 - Use tasks in the Push permissions test. r=mt 2015-10-30 11:48:56 -07:00
Kit Cambridge b0160496ff Bug 1159641, Part 1 - Skip the permission check in pushManager.getSubscription(). r=mt 2015-10-30 09:37:22 -07:00
Kit Cambridge ac4beeb963 Bug 1218591 - Reset the WebSocket retry counter when the server replies. r=dragana 2015-10-28 17:07:11 -07:00
Dragana Damjanovic 33d38d513f 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 81b26af41d merge mozilla-inbound to mozilla-central a=merge 2015-10-27 10:55:48 +01:00
Wes Kocher fc6847a56a Merge m-c to fx-team, a=merge 2015-10-26 14:39:31 -07:00
Ehsan Akhgari ef9851d81e 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 dd33dac0cc 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 796fd86763 Bug 1214366 - Part 3: Use getLastVisited equivalent in PushService.jsm. r=kitcambridge,rnewman 2015-10-23 10:07:05 -07:00
Nick Alexander a996e1237e 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 6330593718 Bug 1217065 - Unconditionally ack incoming updates. r=dragana,benbangert 2015-10-22 10:32:33 -06:00
Kit Cambridge c591806f40 Bug 1206163 - Retry failed register requests on reconnect. r=dragana 2015-10-22 10:14:43 -06:00
Kit Cambridge 60f5f87261 Bug 1201128 - Don't send channel IDs in the Push handshake. r=nsm 2015-10-26 08:42:29 -07:00
Dragana Damjanovic 61d77a2b67 Bug 1212593 - Fix PushService behavior when we are switching between push servers. r=kcambridge 2015-10-20 01:33:00 +02:00
Nathan Froyd 4e6d8f6705 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 8dfacf105e 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 d98fedcb8f Bug 1197847 - make debugging h2 and spdy test servers easier. r=mcmanus 2015-10-05 13:13:05 -07:00
Kit Cambridge f87c3cbd23 Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
Kit Cambridge a9859331cb Bug 1210943 - Drop subscriptions unconditionally if the UAID changes. r=benbangert 2015-10-03 14:59:24 -07:00
Catalin Badea 4ef37106c8 Bug 1188545 - Fixup for test_serviceworker_lifetime.html a=testonly 2015-10-01 01:42:18 -04:00
Catalin Badea 6a124b1efb Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 19:11:03 -04:00
Wes Kocher 4731d2ad0a 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 f75df23f8f 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 a27530f216 Bug 1188545 - Add tests for service workers' lifetime management. r=nsm 2015-09-30 10:14:33 -04:00