Ehsan Akhgari
883849ee32
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
dc24477d79
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
a817a419ab
Bug 1131882 - Associate ServiceWorkers with underlying ServiceWorkerInfo. r=baku
...
This allows controller to track state too, and provides better encapsulation.
1) Move SW setup to SWM. RuntimeService now only creates the underlying SharedWorker.
2) Require a SWInfo to create a SW. The SW holds a refptr to the info.
--HG--
extra : rebase_source : d9de8a66a45f597d1613890691d1facae51eb64e
2015-02-19 08:40:21 -08:00
Catalin Badea
39cd51ecbc
Bug 982726 - Patch 2: Add postMessage to service worker. r=baku
2015-02-09 12:42:00 -05:00
Nikhil Marathe
39a14f36e2
Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
...
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : source : 5ed6d1902cc7bafbf9ffeaf35815c56cdd8f8c0d
extra : amend_source : eab06a362baf7545b9b61e28316666c2ec76acac
2014-11-06 07:57:57 -08:00
Wes Kocher
9a6d8ea64e
Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE
...
--HG--
rename : dom/webidl/ExtendableEvent.webidl => dom/webidl/InstallPhaseEvent.webidl
2015-01-23 19:49:51 -08:00
Nikhil Marathe
bb20c13405
Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
...
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : rebase_source : c9d314c6cffd577ab7309eb9e39e7d80f2f294f7
2014-11-06 07:57:57 -08:00
Nikhil Marathe
fbe18cf922
Bug 1043701 - Fire statechange event on ServiceWorker instances. r=baku
...
Folded:
Various registration related UpdateState() calls and abort on failure to create a service worker.
Set ServiceWorker instances state based on corresponding ServiceWorkerInfo state.
--HG--
extra : rebase_source : 43e519457c640b07f4358484b435aa1de581a668
2014-12-19 03:25:56 -08:00
Nikhil Marathe
3f0206f630
Bug 1113515 - Update ServiceWorker webidl. r=baku
...
--HG--
extra : rebase_source : a6143c9d741d87b79ccf3686f868b0856a32cd4b
2014-10-17 11:43:14 -07:00
Nikhil Marathe
38e0d68766
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
4b8339eede
Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts.
2014-05-29 15:02:41 -04:00
Nikhil Marathe
fc4217adba
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Nikhil Marathe
9785376d60
Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
...
--HG--
extra : rebase_source : ac9bc321c679cbf7045c9d32d1001c5d87d68c69
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
82d24eb10c
Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
...
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
b7f44d85a7
Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
...
--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1
2013-11-19 15:14:07 -08:00