Commit Graph

24 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
bce6c64a90 Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm 2015-06-26 11:18:18 -07:00
Catalin Badea
62c1d7dc08 Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan 2015-05-14 12:41:42 -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
Nikhil Marathe
51e0c370ac Bug 1130688 - Implement additional scope checking in service worker registration. r=bkelly,ehsan 2015-03-09 18:57:06 -07:00
Ehsan Akhgari
bd3075f783 Bug 1140120 - Remove a couple of unused test functions on ServiceWorkerContainer; r=baku 2015-03-06 08:19:32 -05:00
Catalin Badea
d0014dbb24 Bug 1136467 - ServiceWorker: client.postMessage should land in navigator.serviceWorker.onmessage. r=baku 2015-02-25 21:38:37 +02:00
Ehsan Akhgari
abf3fd05c4 Bug 1118428 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/workers; r=baku 2015-01-06 16:35:26 -05:00
Andrea Marchesini
71d33e3cf3 Bug 1025077 - patch 2 - ServiceWorkerContainer should unregister its promise on dtor, r=nsm 2014-08-28 17:04:51 +01:00
Andrea Marchesini
75d11e9f51 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Andrea Marchesini
f58a0cc498 Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Nikhil Marathe
91c337a7c2 Bug 1002570 - Return valid ServiceWorker instances for .installing, .waiting, .active and .controller. r=ehsan 2014-07-23 14:05:08 -07:00
Boris Zbarsky
a14ed73f88 Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley. 2014-07-18 21:31:11 -04:00
Nikhil Marathe
2452e85f23 Bug 983497 - Patch 1: Infrastructure to fire events on ServiceWorkerContainers. r=ehsan,smaug 2014-07-14 14:15:23 -07:00
Nikhil Marathe
ba4423ecda Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey
Added r=khuey via IRC to validate webidl DOM peer check.
2014-07-11 11:52:19 -07:00
Nikhil Marathe
f232e45ba5 Bug 1025082 - ServiceWorker related WebIDL changes. r=ehsan,jst 2014-06-17 11:01:28 -07:00
Nikhil Marathe
e89098ced8 Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
7d6956db11 Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts. 2014-05-29 15:02:41 -04:00
Nikhil Marathe
aa961d511f Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan 2013-11-19 15:15:02 -08:00
Nikhil Marathe
6c25fb8680 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent 2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
6026213560 Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
1d4eea6336 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent 2013-11-19 15:14:07 -08:00