Commit Graph

31 Commits

Author SHA1 Message Date
Boris Zbarsky
54c64f20a9 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
Andrea Marchesini
ab05554f75 Bug 1141026 - BroadcastChannel should throw if it fails registering the worker feature, r=smaug 2015-03-09 13:51:47 +00:00
Andrea Marchesini
dd97b5bfee Bug 1134600 - worker.terminate() should close any BroadcastChannel object in workers. r=smaug 2015-02-19 22:21:18 +01:00
Andrea Marchesini
9563da72b3 Bug 1130678 - Fix messaging ordering issue in broadcastchannel tests, r=mchang 2015-02-09 08:33:01 +00:00
Andrea Marchesini
80d96f5117 Bug 1130041 - UNIFIED_SOURCE for BroadcastChannel, r=smaug 2015-02-06 11:06:35 +00:00
Carsten "Tomcat" Book
5c96002b6e Backed out changeset d9c07e4cc016 (bug 1130041) for bustage on a CLOSED TREE 2015-02-06 08:43:49 +01:00
Andrea Marchesini
6207693761 Bug 1130041 - "UNIFIED_SOURCE for BroadcastChannel" r=smaug 2015-02-05 10:33:00 +01:00
Andrea Marchesini
48987a328b Bug 1124386 - BroadcastChannel should use the nsIPrincipal::URI in case the origin is null, r=smaug 2015-01-23 17:32:23 +00:00
Daniel Holbert
332cfeb305 Bug 1123890: Add MOZ_OVERRIDE annotations to overriding methods in dom/broadcastchannel. r=baku 2015-01-21 07:44:12 -08:00
Andrea Marchesini
f6d9fe809a Bug 1122553 - BroadcastChannel should keep FileImpl alive when sent to the PBackground actors, r=bent 2015-01-17 07:29:15 +00:00
Andrea Marchesini
c3b03b22a1 Bug 1121420 - patch 2 - Enable BroadcastChannel by default for b2g, r=ehsan 2015-01-15 16:58:42 +00:00
Andrea Marchesini
64622babb6 Bug 966439 - BroadcastChannel API - patch 9 - Fix a memory leak of Files, r=bent
* * *
Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED_TREE
2015-01-15 16:58:42 +00:00
Andrea Marchesini
11e0a4cab1 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-15 16:58:42 +00:00
Andrea Marchesini
f2a06f382f Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
72a61dae8e Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
d358897d78 Bug 966439 - BroadcastChannel API - patch 5 - bfcache supported, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
9dc7e00134 Bug 966439 - BroadcastChannel API - patch 4 - tests for Workers and SharedWorkers, r=smaug
--HG--
rename : dom/broadcastchannel/tests/broadcastchannel_worker.js => dom/broadcastchannel/tests/broadcastchannel_worker_alive.js
2015-01-15 16:58:41 +00:00
Andrea Marchesini
d425c07981 Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
ad2c5dff3c Bug 966439 - BroadcastChannel API - patch 2 - close() method, r=smaug 2015-01-15 16:58:40 +00:00
Andrea Marchesini
d7220fb10d Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
Ryan VanderMeulen
050f1df69c Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
2914807a74 Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED TREE 2015-01-14 12:40:19 +00:00
Andrea Marchesini
6c01544120 Bug 966439 - BroadcastChannel API - patch 9 - Fix a memory leak of Files, r=bent 2015-01-14 11:52:21 +00:00
Andrea Marchesini
00420b0296 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-14 11:50:36 +00:00
Andrea Marchesini
e39a6d0ee3 Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini
02bd738939 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini
1f47b88f42 Bug 966439 - BroadcastChannel API - patch 5 - bfcache supported, r=smaug 2015-01-14 11:50:35 +00:00
Andrea Marchesini
039c838ed8 Bug 966439 - BroadcastChannel API - patch 4 - tests for Workers and SharedWorkers, r=smaug
--HG--
rename : dom/broadcastchannel/tests/broadcastchannel_worker.js => dom/broadcastchannel/tests/broadcastchannel_worker_alive.js
2015-01-14 11:50:35 +00:00
Andrea Marchesini
4af9097f62 Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-14 11:50:35 +00:00
Andrea Marchesini
453fe5f734 Bug 966439 - BroadcastChannel API - patch 2 - close() method, r=smaug 2015-01-14 11:50:34 +00:00
Andrea Marchesini
79782d59ce Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-14 11:50:31 +00:00