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
Hiroyuki Ikezoe
b61dee95d7
Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap
2015-07-02 14:54:00 +02:00
Jan de Mooij
8bd603a950
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Nikhil Marathe
1852b841ac
Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan
2015-06-12 16:28:13 -07:00
Ben Turner
487105475c
Bug 1173139 - Reorder global creation on workers, r=khuey.
2015-06-10 14:12:55 -07:00
Andrea Marchesini
19fd4301a8
Bug 1131352 - Part 3: ServiceWorkerManager::SetSkipWaitingFlag() updated CLOSED TREE
2015-06-03 15:20:52 +01:00
Jose Antonio Olivera Ortega
32e71ba20a
Bug 1131352 - Part 2: Add ServiceWorkerGlobalScope skipWaiting(). r=nsm, r=baku
2015-06-02 07:12:00 -04:00
Andrea Marchesini
c21e1cf196
Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley
2015-05-07 08:05:43 +01:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Nikhil Marathe
64c863f55d
Bug 1131327 - Patch 7 - Fire updatefound on worker registration. r=baku
2015-04-08 15:22:36 -07:00
Nikhil Marathe
b228d41df7
Bug 1131327 - Patch 4 - Implement ServiceWorkerRegistration.update() on worker. r=baku
...
ServiceWorkerGlobalScope::Registration() now returns initialized registration.
2015-04-07 11:50:08 -07:00
Nikhil Marathe
eb6364731b
Bug 1131327 - Patch 2 - Expose to workers. r=baku
...
This patch exposes ServiceWorkerRegistration (and ServiceWorker to satisfy constraints) to workers.
For now, a null registration is returned in the worker.
2015-04-03 22:46:07 -07:00
Nikhil Marathe
a1cc668925
Bug 1131350 - Move update() to ServiceWorkerRegistration. r=baku
2015-03-19 18:09:10 -07:00
Jan de Mooij
960e7c935d
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Daniel Holbert
fc04c294d3
Bug 1092102, followup 2: Add missing 'override' annotation to WorkerDebuggerSandboxPrivate::GetGlobalJSObject() (and 'virtual', for consistency). rs=ehsan
2015-03-31 10:41:20 -07:00
Eddy Bruël
52320c8f3f
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 12:22:40 +02:00
Carsten "Tomcat" Book
87caf9c566
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
2015-03-31 11:14:46 +02:00
Eddy Bruël
407399aad3
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Eddy Bruël
a451e9adc0
Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey
2015-03-30 13:54:38 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Eddy Bruël
24e3859449
Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey
2015-03-27 07:17:16 +01:00
Eddy Bruël
760afe0c37
Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey
2015-03-26 20:09:45 +01: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
Eddy Bruël
ad4f7357f7
Bug 1092102 - Implement WorkerDebugger.postMessage;r=khuey
2015-03-20 12:15:59 +01: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
Ehsan Akhgari
e43e181eab
Bug 1131353 - Make ServiceWorkerGlobalScope.close() throw InvalidAccessError; r=baku
2015-03-06 08:19:33 -05:00
Eddy Bruël
ee4da668fb
Bug 1092102 - Implement a WorkerDebuggerGlobalScope;r=khuey
2015-03-04 00:51:53 +01:00
Ben Kelly
16b0bf56ca
Bug 940273 - Part 6 - Expose Service Worker Cache on workers as self.caches. r=ehsan
2015-03-02 14:23:00 +01:00
Jan de Mooij
b3f1ff13a2
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Andrea Marchesini
de5e712eda
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
5e3f1e809b
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
81ac08e913
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Phil Ringnalda
b2db6abba6
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
838bcc28bc
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Nikhil Marathe
057ae33f12
Bug 1113577 - Fixes in ServiceWorkerGlobalScope.unregister implementation to prevent Promise release on wrong thread.
2014-10-27 16:37:03 -07:00
Ehsan Akhgari
8ebb6ade8b
Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
...
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references. It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Nikhil Marathe
7ab9e80138
Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
...
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
2014-12-19 02:00:29 -08:00
Peter Van der Beken
a3f5de9681
Bug 1096328 - Remove nativeOwnership from Bindings.conf, make rooting analysis happy. r=bz.
2015-01-08 22:56:42 +01:00
Andrea Marchesini
2a3999d9e4
Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
2014-10-06 16:45:14 +01:00
Ben Turner
c8ed07d8be
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Andrea Marchesini
3e02a8c926
Bug 1104064 - setInterval(,0) in workers must be scheduled correctly, r=khuey
2014-12-03 10:57:39 -08:00
Andrea Marchesini
b5a05079a9
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
2014-11-20 12:58:00 +01:00
Ehsan Akhgari
683c362ac3
Bug 982726 - Part 1.2: Break the cyclic dependency between WorkerScope.h and ServiceWorkerClients.h, and introduce a ToSupports overload for WorkerGlobalScope in order to fix the b2g builds. r=baku
2014-10-27 12:03:00 +01:00
Catalin Badea
9219811fbb
Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
2014-10-27 12:03:00 +01:00
Nikhil Marathe
056d2e760a
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
2014-10-06 11:01:20 -07:00
Peter Van der Beken
3467274091
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
2014-10-07 11:44:49 +02:00
Nikhil Marathe
f85ee5a4d9
Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku
2014-07-24 18:30:07 -07:00
Andrea Marchesini
01d4322083
Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm
2014-09-10 11:21:32 -04:00
Ryan VanderMeulen
3b3a3d874b
Backed out 4 changesets (bug 982726) for the same serviceworker perma-fails it hit last time it landed.
...
Backed out changeset 9674f68df2e5 (bug 982726)
Backed out changeset 9d397edb8e9a (bug 982726)
Backed out changeset ebe7add5dd11 (bug 982726)
Backed out changeset 2771520aa1b9 (bug 982726)
2014-09-03 21:45:30 -04:00
Catalin Badea
e703766515
Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
2014-08-27 10:24:09 -07:00