Commit Graph

285864 Commits

Author SHA1 Message Date
David Rajchenbach-Teller
16d1a5f419 Bug 1251347 - Making sure that SessionFile.write initializes its workers;r=mconley
Bug 1243549 fixed a race condition during SessionFile startup which
could cause calls to SessionFile.write to send messages to the worker
before it was initialized. The fix consisted in waiting until
initialization was complete before proceeding.

As it turns out, there are cases in which we send messages to the
worker without ever attempting to initialize it, so this wait ends up
causing a hang/shutdown.

This patch fixes the issue by making sure that any message sent to the
worker first initializes the worker if it hasn't been initialized
yet. Since initializing the worker requires us reading the session
store files to find out which one is valid, well, we do exactly that.

MozReview-Commit-ID: 1bOgCaF6ahM
2016-02-26 12:02:43 +01:00
David Rajchenbach-Teller
96e2ee46c4 Bug 1251347 - Refining SessionFile Shutdown hang details;r=me
MozReview-Commit-ID: Jag5oFwKTqr
2016-02-26 11:11:47 +01:00
Seth Fowler
1d2d68c90a Bug 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me 2016-02-26 21:25:08 -08:00
Seth Fowler
bd7203ae49 Bug 1251808 - Construct the SourceSurfaceImage with the correct size in RasterImage::GetCurrentImage(). r=seth 2016-02-26 21:01:50 -08:00
Seth Fowler
e6abe34d99 Bug 1250666 - Forward Variant's move constructor argument correctly to the underlying variant type. r=waldo 2016-02-26 21:01:49 -08:00
Seth Fowler
1276556d86 Bug 1250648 - Clean up the style of for loops in TestStreamingLexer. r=njn 2016-02-26 21:01:49 -08:00
Nathan Froyd
eed0aac0a0 Bug 1251716 - use UniquePtr instead of ScopedDeletePtr in DrawTargetCairo; r=jrmuizel
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
2016-02-26 13:34:11 -05:00
Boris Zbarsky
92c8dbd778 Bug 1251697 part 3. Remove the JSContext argument of StopSyncLoopRunnable::MaybeSetException. r=khuey 2016-02-26 21:15:57 -05:00
Boris Zbarsky
dbcec56138 Bug 1251697 part 2. Have WorkerThreadProxySyncRunnable hand the ErrorResult reference it holds to its ResponseRunnable so it can report exceptions on there instead of on a JSContext. r=khuey
We make WorkerThreadProxySyncRunnable::Dispatch a void method to catch all the
callers who were checking its return value and throwing on the ErrorResult.  Now
the WorkerThreadProxySyncRunnable (or its ResponseRunnable) is responsible for
doing that throwing and callers should check the ErrorResult to see whether
there was an exception.
2016-02-26 21:15:57 -05:00
Boris Zbarsky
af520eeb59 Bug 1251697 part 1. Thread an ErrorResult reference through the worker XHR WorkerThreadProxySyncRunnable implementations. r=khuey 2016-02-26 21:15:57 -05:00
Boris Zbarsky
b4e56dc60b Bug 1251627. Fix XMLHttpRequest.send() to follow the spec better in terms of the exceptions it throws. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
b9f5b858bf Bug 1251380. Change things so that WorkerPrivate::NotifyInternal (hopefully) never throws. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
04947d22d0 Bug 1251276 part 2. Remove the JSContext argument of WorkerPrivate::CancelAllTimeouts. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
943ae9797f Bug 1251276 part 1. Change WorkerPrivate::CancelAllTimeouts to no longer call RunExpiredTimeouts. r=khuey
If you walk through what RunExpiredTimeouts used to when called from here do
carefully, it used to do the following:

1)  If mRunningExpiredTimeouts, no-op.
2)  Not run anything, because everything is canceled.
3)  Remove everything from mTimeouts, since everything is canceled.
4)  Since mTimeouts is now empty, modify the busy count and set mTimerRunning to false.

None of this could report a JS exception, so the JS_ReportPendingException call
in CancelAllTimouts was dead code.  Note that the return value of
RunExpiredTimeouts only affected whether JS_ReportPendingException is called, so
we don't even need to worry about ModifyBusyCountFromWorker failing: that
failure used to be silently swallowed.
2016-02-26 21:15:56 -05:00
Chris Manchester
f03e3f70d7 Bug 1250961 - Remove one-off rule to re-name master xpcshell manifest and update mozharness consumers. r=gps
MozReview-Commit-ID: B41G5burv9A
2016-02-26 13:20:31 -08:00
Chris Manchester
77c91e9f64 Bug 1250961 - Move testing/xpcshell/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: 8J9RzA0RZ0i
2016-02-26 13:20:31 -08:00
Chris Manchester
a7485341ef Bug 1250961 - Move testing/mochitest/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: LwQH49FLfY2
2016-02-26 13:20:31 -08:00
William Chen
9c5dd6e780 Bug 1247483 - Only replace nodes in nsHTMLEditor::ReplaceOrphanedStructure if all nodes in node list are descendants of replacement node. r=ehsan 2016-02-26 17:34:40 -08:00
Wes Kocher
94c4427375 Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)

MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Myk Melez
66b59c904d Bug 1250341 - simplify overcomplex browser-element mochitest manifest skip-if rules; r=fabrice 2016-02-26 15:46:32 -08:00
Eric Rahm
12f23ad089 Bug 1251494 - Remove remaining references to MOZILLA_XPCOMRT_API from dom. r=jesup 2016-02-26 15:31:21 -08:00
Eric Rahm
e9b94fd605 Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 15:31:19 -08:00
Eric Rahm
c274bc8aaa Bug 1251473 - Remove libxpcomrt library. r=froydnj 2016-02-25 16:31:17 -08:00
Eric Rahm
790cd2e39e Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Eric Rahm
e4c33bbb4a Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm
fff7952fd7 Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm
1f7af3d0d5 Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm
6adaa6c0a3 Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -08:00
Timothy Nikkel
07274faf88 Bug 1249576. Add crashtest. 2016-02-26 17:14:32 -06:00
Timothy Nikkel
4932973dce Bug 1251742. Avoid overflow in computing area of surface sizes in SurfaceCache. r=dholbert
http://hg.mozilla.org/mozilla-central/rev/9727cdebb2ee (bug 1228314) fixed the first instance of this, but missed the next two for some reason.
2016-02-26 17:13:59 -06:00
Timothy Nikkel
33ee000842 Bug 1251082. Restore comments in PageTransitionEvent.webidl that got lost when nsIDOMPageTransitionEvent.idl was migrated to webidl. r=bz
The mentioned migration happened in http://hg.mozilla.org/mozilla-central/rev/e6377ca32f3d from bug 1031051.

This the only documentation of the aPersisted parameter of nsIDocument::OnPageShow.
2016-02-26 17:13:59 -06:00
Kyle Huey
895ac68292 Bug 1251498: Remove a test that mach automagically added without consulting me on this CLOSED TREE. 2016-02-26 14:52:54 -08:00
Henrik Skupin
05140212aa Bug 1237550 - Add Taskcluster tasks for Firefox UI functional tests. r=ahal
MozReview-Commit-ID: HKhppWpxemj
2016-02-23 18:36:05 +01:00
Mike Taylor
9b51c584b1 Bug 1247796. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword. r=mstange
This matches what Safari and Chrome do on Mac.
2016-02-26 16:30:52 -06:00
Joel Maher
2adb999198 Bug 1251373 - Remove moz payment API support. r=Margaret
MozReview-Commit-ID: IW63XQDyB16
2016-02-25 13:08:50 -08:00
Kyle Huey
895e73cb89 Bug 1251498: Implement IDBKeyRange.includes(). r=baku 2016-02-26 13:58:47 -08:00
Wes Kocher
e9e5273f22 Backed out 2 changesets (bug 1248459) for test_imestate.html failures in mochitest-chrome-3 runs
Backed out changeset 62d7f81e434a (bug 1248459)
Backed out changeset 6aeedf17f577 (bug 1248459)

MozReview-Commit-ID: 10008f0KqYP
2016-02-26 13:51:56 -08:00
Olli Pettay
69605a3f4f Bug 1212116, dispatch wheel events on disabled form controls, r=bz 2016-02-26 23:04:34 +02:00
Ehsan Akhgari
17746eca90 Bug 1251587 - Add Windows support to the clang plugin; r=jrmuizel 2016-02-26 16:14:12 -05:00
Geoff Brown
a0e002f1a8 Bug 1246797 - Use new AVD for Android 4.3 (increase screen width to 800); r=me 2016-02-26 14:01:12 -07:00
Geoff Brown
3766e67fb8 Bug 1246797 - Avoid some new reftest failures on Android 4.3 with new AVD; r=kats 2016-02-26 14:01:12 -07:00
Geoff Brown
3e76179484 Bug 1146693 - Enable some layout/reftests/bugs tests on Android 4.3; r=me 2016-02-26 14:01:11 -07:00
Geoff Brown
cd03d85725 Bug 1146690 - Enable layout/reftests/margin-collapsing/block-float-1b.html on Android 4.3; r=me 2016-02-26 14:01:11 -07:00
Geoff Brown
3ffdeaa91b Bug 1248817 - Make test_domwindowutils.html more forgiving of coordinate rounding; r=ochameau 2016-02-26 14:01:11 -07:00
Andrew Halberstadt
12720e7ec2 Bug 1250616 - Sign mozscreenshots extension for mochitest, r=MattN
For details on extensions in automation and signing, see
https://wiki.mozilla.org/EngineeringProductivity/HowTo/SignExtensions

MozReview-Commit-ID: HNJq2VlY9KX
2016-02-24 14:07:58 -05:00
James Willcox
971791b2bb Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
Jan-Ivar Bruaroey
7026e4ab88 Bug 1251357 - fix regression where last MediaStreamTrack.stop did not turn off the camera light. r=jesup
MozReview-Commit-ID: DvDBKscIjnp
2016-02-26 12:26:47 -05:00
Steve Fink
83953aa278 Bug 1243231 - Enable linux64-mulet-haz on main trees to take over from linux64-b2g-haz, r=garndt 2016-02-25 14:15:51 -08:00
Wes Kocher
a7eef63c32 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Wes Kocher
dfb02515b1 Backed out changeset b88648a41ed2 (bug 1245891) for talos timeouts
MozReview-Commit-ID: BxDPXC2rA4m
2016-02-26 12:29:03 -08:00