Commit Graph

32 Commits

Author SHA1 Message Date
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
Andrea Marchesini
117c2d6e8e Bug 1141026 - BroadcastChannel should throw if it fails registering the worker feature, r=smaug 2015-03-09 13:51:47 +00:00
Andrea Marchesini
005b0ace7d Bug 1134600 - worker.terminate() should close any BroadcastChannel object in workers. r=smaug 2015-02-19 22:21:18 +01:00
Andrea Marchesini
b0f8f14dfc Bug 1130678 - Fix messaging ordering issue in broadcastchannel tests, r=mchang 2015-02-09 08:33:01 +00:00
Andrea Marchesini
f66501af23 Bug 1130041 - UNIFIED_SOURCE for BroadcastChannel, r=smaug 2015-02-06 11:06:35 +00:00
Carsten "Tomcat" Book
2b7385c941 Backed out changeset d9c07e4cc016 (bug 1130041) for bustage on a CLOSED TREE 2015-02-06 08:43:49 +01:00
Andrea Marchesini
3bb9f45fe8 Bug 1130041 - "UNIFIED_SOURCE for BroadcastChannel" r=smaug 2015-02-05 10:33:00 +01:00
Andrea Marchesini
04d493a8bc 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
c88d8c3716 Bug 1123890: Add MOZ_OVERRIDE annotations to overriding methods in dom/broadcastchannel. r=baku 2015-01-21 07:44:12 -08:00
Andrea Marchesini
15c180d225 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
8a22ce4bd0 Bug 1121420 - patch 2 - Enable BroadcastChannel by default for b2g, r=ehsan 2015-01-15 16:58:42 +00:00
Andrea Marchesini
6e60735e02 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
607d815757 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-15 16:58:42 +00:00
Andrea Marchesini
698c8a4c6b Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
24800de279 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
d56324919f Bug 966439 - BroadcastChannel API - patch 5 - bfcache supported, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
9fd7ec93ed 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
e2ecdca8a9 Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
fd3e403cda Bug 966439 - BroadcastChannel API - patch 2 - close() method, r=smaug 2015-01-15 16:58:40 +00:00
Andrea Marchesini
f36b9e5ced Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
Ryan VanderMeulen
3a9ff448dc 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
07e6e99ea8 Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED TREE 2015-01-14 12:40:19 +00:00
Andrea Marchesini
bc4769ea94 Bug 966439 - BroadcastChannel API - patch 9 - Fix a memory leak of Files, r=bent 2015-01-14 11:52:21 +00:00
Andrea Marchesini
89c6f71e48 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-14 11:50:36 +00:00
Andrea Marchesini
8eff6c45ea Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini
b2ddfb8073 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini
3757f61175 Bug 966439 - BroadcastChannel API - patch 5 - bfcache supported, r=smaug 2015-01-14 11:50:35 +00:00
Andrea Marchesini
e86b23c1ac 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
1b2f40309e Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-14 11:50:35 +00:00
Andrea Marchesini
9a3e22bc9c Bug 966439 - BroadcastChannel API - patch 2 - close() method, r=smaug 2015-01-14 11:50:34 +00:00
Andrea Marchesini
65afdf13d8 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-14 11:50:31 +00:00