Wes Kocher
cba1a7bd55
Backed out 2 changesets (bug 1252565) for windows build bustage CLOSED TREE
...
Backed out changeset 9de2c10a1cc3 (bug 1252565)
Backed out changeset fc5c4cb02d24 (bug 1252565)
MozReview-Commit-ID: GCQedQwqslg
--HG--
extra : amend_source : 5fb6bd99e2ac56c01c06e1004262dfeb2ea56410
2016-03-02 10:44:11 -08:00
Boris Zbarsky
3bad87c74a
Bug 1252565 part 2. Make dom::WarningOnlyErrorReporter handle workers. r=bholley
2016-03-01 16:53:22 -05:00
Boris Zbarsky
c0ea0c742b
Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey
2016-03-01 16:52:26 -05:00
Wes Kocher
af73c13ee2
Backed out 6 changesets (bug 1072144) for test_recursion.html failures
...
Backed out changeset ac15fe0e71fd (bug 1072144 )
Backed out changeset b666d48a267d (bug 1072144 )
Backed out changeset 0f0464ef08ed (bug 1072144 )
Backed out changeset 7ba5f3b95022 (bug 1072144 )
Backed out changeset 1912f838fcaa (bug 1072144 )
Backed out changeset 145c9bb59b97 (bug 1072144 )
MozReview-Commit-ID: 7cl4RtpHSfl
2016-03-01 15:41:24 -08:00
Wes Kocher
01574acd0a
Backed out changeset 96580db9b356 (bug 1252565) for test_recursion.html failures
...
MozReview-Commit-ID: 1ycmM8vfG3d
2016-03-01 15:40:46 -08:00
Boris Zbarsky
68dc8de0a0
Bug 1252565. Make dom::WarningOnlyErrorReporter handle workers. r=bholley
2016-03-01 16:53:22 -05:00
Boris Zbarsky
f83c2eb672
Bug 1072144 part 2. When UnregisterWorker tries to ScheduleWorker and that throws, just suppress the exception: there is no good place to report it anyway. r=khuey
2016-03-01 16:52:26 -05:00
Andrea Marchesini
9e960ae549
Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug
2016-03-01 15:21:11 +01:00
Boris Zbarsky
7413f2bf46
Bug 1251369. Use an AutoJSAPI that reports its own exceptions around the main runloop in workers. r=khuey
...
The silly leading ": " on the error messages is due to bug 1251518 .
2016-02-26 15:23:13 -05:00
Boris Zbarsky
87574e4920
Bug 1251311. JS::DescribeScriptedCaller can't throw JS exceptions. Adjust some callers accordingly. r=khuey
2016-02-26 15:23:13 -05:00
Boris Zbarsky
94e6475a9c
Bug 1251045 part 7. Remove the JSContext argument from some worker methods that no longer need it. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
886e3a27d5
Bug 1251045 part 5. Remove the JSContext argument from WorkerPrivateParent::Freeze/Thaw. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
7345c5edb1
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
Boris Zbarsky
878fd26e89
Bug 1251045 part 3. Remove the JSContext argument of WorkerRunnable::PostDispatch and its overrides. r=khuey
2016-02-26 15:23:12 -05:00
Eddy Bruel
350b7f0b05
Bug 1241841 - Clear the worker's debugger event queue before destroying its context;r=khuey
2016-02-26 17:32:28 +01:00
Boris Zbarsky
cc6606ed0d
Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey
2016-02-25 16:05:39 -05:00
Boris Zbarsky
239833a69f
Bug 1250963 part 1. Change NotifyRunnable::Dispatch to not require a JSContext. r=khuey
...
The only reason NotifyRunnable::Dispatch needs a JSContext is so that it can call
ModifyBusyCount in Pre/PostDispatch. The only reason that needs a JSContext is
to call Cancel(), which only needs it to call Notify(), which only needs it to
call NotifyPrivate, which only needs it to dispatch a NotifyRunnable.
2016-02-25 16:05:39 -05:00
Wes Kocher
56ccaea947
Backed out 2 changesets (bug 1250963) for build bustage CLOSED TREE
...
Backed out changeset 257324c2ae17 (bug 1250963)
Backed out changeset 0e868ee89abc (bug 1250963)
--HG--
extra : commitid : HglxXI0Tb1b
2016-02-25 13:41:42 -08:00
Wes Kocher
d66f0ad3fc
Backed out changeset bb404647f14c (bug 1250975) for build bustage CLOSED TREE
...
--HG--
extra : commitid : KyFNIQ1ugVq
2016-02-25 13:41:09 -08:00
Boris Zbarsky
683b099eb9
Bug 1250975. Stop passing a JSContext argument to WorkerRunnable::PreDispatch and its overrides. r=khuey
2016-02-25 16:05:39 -05:00
Boris Zbarsky
51c7f27d3a
Bug 1250963 part 1. Change NotifyRunnable::Dispatch to not require a JSContext. r=khuey
...
The only reason NotifyRunnable::Dispatch needs a JSContext is so that it can call
ModifyBusyCount in Pre/PostDispatch. The only reason that needs a JSContext is
to call Cancel(), which only needs it to call Notify(), which only needs it to
call NotifyPrivate, which only needs it to dispatch a NotifyRunnable.
2016-02-25 16:05:39 -05:00
Joel Maher
f907e8c107
Bug 1250630 - remove PBackgroundTest and ifdef ENABLE_TEST blocks. r=khuey
...
MozReview-Commit-ID: 8LKHyjKWrkd
2016-02-23 11:55:50 -08:00
Daniel Holbert
a192831f74
backout c42ff6847631 (bug 1250572) for causing aborts during startup
2016-02-24 11:54:35 -08:00
Andrea Marchesini
53c0f726fe
Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug
2016-02-24 20:04:37 +01:00
Boris Zbarsky
3dba4c9b72
Bug 1248719. Fix things so that taking ownership of error reporting on an AutoJSAPI on a worker is OK even if that AutoJSAPI was initialized without an explicit global. r=bholley
2016-02-17 22:56:36 -05:00
Kyle Huey
31dabb4558
Bug 1247117: De-namespace much of IndexedDB. r=baku
2016-02-16 13:46:08 -08:00
Andrea Marchesini
4bf350a0ba
Bug 1247122 - Propagate the NS_ERROR_OUT_OF_MEMORY from CycleCollectedJSRuntime CTOR, r=khuey
2016-02-14 13:30:25 +00:00
Eddy Bruel
001f5b604e
Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey
2016-02-10 10:45:02 +01:00
Carsten "Tomcat" Book
940ea6bf9d
Backed out changeset a6bc2efcdf26 (bug 1212333) for bustage
2016-02-05 16:09:28 +01:00
Eddy Bruel
d24491b6d8
Bug 1212333 - WorkerDebuggerManager should live on the main thread;r=khuey
2016-02-04 22:04:25 +01:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Luke Wagner
72ea23c63e
Bug 1239601 - improve the UniquePtr situation (r=jandem)
...
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Lars T Hansen
68ea3c1b16
Bug 1231333 - part 2, DOM: only allow futexWait in workers. r=khuey
...
--HG--
extra : rebase_source : d5019bc4ec839427bc9d86f58542f107adc97988
2015-12-23 13:44:00 +01:00
Jeff Walden
5be7be38a1
Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
...
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Nicholas Nethercote
d31ac5d1e9
No bug. Remove a stray debugging printf of mine. r=me.
...
DONTBUILD because trivial.
--HG--
extra : rebase_source : 3542e20aaea1d1b6388056d7b781416399df1a8c
2015-11-09 17:25:33 -08:00
Nicholas Nethercote
e847fcd5ec
Bug 1186810 (part 8) - Replace nsBaseHashtable::Enumerate() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 622ce00f8ecfca3c1b6710bf77a0639a47c7bb3a
2015-10-26 17:09:44 -07:00
Nicholas Nethercote
ce3c57710f
Bug 1186810 (part 7) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : c114f64e23fd08830e53ddec54503f9bb40bc328
2015-10-26 16:41:55 -07:00
Nicholas Nethercote
6efee4944c
Bug 1186810 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 37b230d344a69ee997f77581ffe4c7f62dabaea9
2015-10-26 16:07:45 -07:00
Ehsan Akhgari
c43ad45f05
Bug 1218119 - Simplify defining worker prefs; r=baku
2015-10-26 14:06:28 -04:00
Olli Pettay
a062f00aab
Bug 1218190 - Add a pref to enable Clients.openWindow, r=catalinb
2015-10-25 22:36:27 +02:00
Ehsan Akhgari
383397be38
Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky
2015-10-23 15:38:47 -04:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Morris Tseng
d1d37e3f9b
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
...
--HG--
extra : rebase_source : 55ae1e1fc1f88bffd43800eefaed4506789e608c
2015-10-12 11:21:04 +08:00
Eddy Bruel
41c0e5355c
Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey
2015-10-07 12:20:59 +02:00
Wes Kocher
c1750b75c7
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
f5a52e7dea
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
...
--HG--
extra : rebase_source : 07b470b9a8865b7d833932c5425e796b852ab466
2015-10-05 10:50:17 +08:00
Catalin Badea
294f7838e4
Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm
2015-09-30 19:11:03 -04:00