Commit Graph

55 Commits

Author SHA1 Message Date
Birunthan Mohanathas
47ed3a3675 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
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Andrea Marchesini
0bacf2f160 Bug 1165270 - Use origin for BroadcastChannel, r=bholley 2015-07-06 19:28:41 +01:00
Andrea Marchesini
5434bd1088 Bug 1178261 - make BroadcastChannel CC skippable, r=smaug 2015-06-29 17:42:41 +01:00
Andrea Marchesini
949d2bb91b Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
425b4d9128 Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
CLOSED TREE
2015-06-15 13:06:23 -04:00
Andrea Marchesini
068d9fc360 Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-15 14:08:25 +01:00
Andrea Marchesini
615fe38d14 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-12 13:11:03 +01:00
Andrea Marchesini
08c931dc57 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
477215237f Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher
ad02ab5ada Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE 2015-05-11 13:17:58 -07:00
Andrea Marchesini
4aa3305857 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-11 18:50:54 +01:00
Andrea Marchesini
7e0e157266 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
64bb0dd547 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
246389cea0 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Andrea Marchesini
168bebe33b Bug 1161507 - BroadcastChannel should use origin+appId+IsInBrowserElement as key in b2g, r=sicking 2015-05-06 11:07:06 +01:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
00915561fc Bug 1148033 - BroadcastChannel API should rispect the B2G app sandboxes, r=ehsan 2015-04-02 17:05:50 +01:00
Andrea Marchesini
ff5c33c37f Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-04-01 12:41:29 +01:00
Wes Kocher
5f7c650df1 Backed out changeset 6b886fbb3e48 (bug 1148032) for mochitest-chrome orange on b2g emulators 2015-03-31 15:48:25 -07:00
Andrea Marchesini
659d9f8f1b Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 22:11:47 +01:00
Wes Kocher
7f09d808a9 Backed out changeset 976f64497fbc (bug 1148032) for static analysis bustage 2015-03-31 14:07:07 -07:00
Andrea Marchesini
aa3169190b Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 21:36:36 +01:00
Ehsan Akhgari
5cccea6f0f 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
988b8e01be 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
6dd9d47052 Bug 1141026 - BroadcastChannel should throw if it fails registering the worker feature, r=smaug 2015-03-09 13:51:47 +00:00
Andrea Marchesini
c8354a3264 Bug 1134600 - worker.terminate() should close any BroadcastChannel object in workers. r=smaug 2015-02-19 22:21:18 +01:00
Andrea Marchesini
6d3ca30633 Bug 1130678 - Fix messaging ordering issue in broadcastchannel tests, r=mchang 2015-02-09 08:33:01 +00:00
Andrea Marchesini
9fc51f4ae0 Bug 1130041 - UNIFIED_SOURCE for BroadcastChannel, r=smaug 2015-02-06 11:06:35 +00:00
Carsten "Tomcat" Book
6072603124 Backed out changeset d9c07e4cc016 (bug 1130041) for bustage on a CLOSED TREE 2015-02-06 08:43:49 +01:00
Andrea Marchesini
9177c63758 Bug 1130041 - "UNIFIED_SOURCE for BroadcastChannel" r=smaug 2015-02-05 10:33:00 +01:00
Andrea Marchesini
ba51f10b4d 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
4174cfbc4d Bug 1123890: Add MOZ_OVERRIDE annotations to overriding methods in dom/broadcastchannel. r=baku 2015-01-21 07:44:12 -08:00
Andrea Marchesini
c8e58a2bc2 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
d949bfa61b Bug 1121420 - patch 2 - Enable BroadcastChannel by default for b2g, r=ehsan 2015-01-15 16:58:42 +00:00
Andrea Marchesini
b490d43f1f 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
fc05a1bfd1 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-15 16:58:42 +00:00
Andrea Marchesini
13941ecb36 Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
6be305216c Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini
02bf5e8dd4 Bug 966439 - BroadcastChannel API - patch 5 - bfcache supported, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
31e5e8415b Bug 966439 - BroadcastChannel API - patch 4 - tests for Workers and SharedWorkers, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
83506b364b Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-15 16:58:41 +00:00
Andrea Marchesini
310b34dc2d Bug 966439 - BroadcastChannel API - patch 2 - close() method, r=smaug 2015-01-15 16:58:40 +00:00
Andrea Marchesini
bcc1fec640 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
Ryan VanderMeulen
35882877b9 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
bb2ab89b14 Bug 966439 - BroadcastChannel API - patch 10 - explicit constructors are needed, CLOSED TREE 2015-01-14 12:40:19 +00:00
Andrea Marchesini
81a3ef4473 Bug 966439 - BroadcastChannel API - patch 9 - Fix a memory leak of Files, r=bent 2015-01-14 11:52:21 +00:00
Andrea Marchesini
9fc9d93914 Bug 966439 - BroadcastChannel API - patch 8 - Async BC.close(), r=bent 2015-01-14 11:50:36 +00:00
Andrea Marchesini
58bd113b8c Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini
e71ca9a728 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-14 11:50:35 +00:00