Commit Graph

463384 Commits

Author SHA1 Message Date
Nathan Froyd
da33676fbb 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
29b29c72bd Bug 1251697 part 3. Remove the JSContext argument of StopSyncLoopRunnable::MaybeSetException. r=khuey 2016-02-26 21:15:57 -05:00
Boris Zbarsky
2df9965c0e 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
3a49fc3ea3 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
0f5040d0b3 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
e24a128e22 Bug 1251380. Change things so that WorkerPrivate::NotifyInternal (hopefully) never throws. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
35d98f4893 Bug 1251276 part 2. Remove the JSContext argument of WorkerPrivate::CancelAllTimeouts. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
7dc5bbf023 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
d71c9dd868 Bug 1250961 - Remove one-off rule to re-name master xpcshell manifest and update mozharness consumers. r=gps
MozReview-Commit-ID: B41G5burv9A

--HG--
extra : rebase_source : 6aa95d32bfad361016d1bb60b25357f4b0b50db4
2016-02-26 13:20:31 -08:00
Chris Manchester
5adf169610 Bug 1250961 - Move testing/xpcshell/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: 8J9RzA0RZ0i

--HG--
extra : rebase_source : f202d8fb0b79be8c665bed5af54592292802ad0d
2016-02-26 13:20:31 -08:00
Chris Manchester
8b7ef38ae6 Bug 1250961 - Move testing/mochitest/Makefile.in to moz.build. r=gps
MozReview-Commit-ID: LwQH49FLfY2

--HG--
extra : rebase_source : c8c1007e05bfd9ff18d6199018c121473b576220
2016-02-26 13:20:31 -08:00
William Chen
c90a166599 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
72d9604d91 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
d2d269f00a Bug 1250341 - simplify overcomplex browser-element mochitest manifest skip-if rules; r=fabrice 2016-02-26 15:46:32 -08:00
Eric Rahm
d47c3674cc Bug 1251494 - Remove remaining references to MOZILLA_XPCOMRT_API from dom. r=jesup 2016-02-26 15:31:21 -08:00
Eric Rahm
ae72b68e62 Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 15:31:19 -08:00
Eric Rahm
fbd8497467 Bug 1251473 - Remove libxpcomrt library. r=froydnj 2016-02-25 16:31:17 -08:00
Eric Rahm
6968bce012 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
6c7be83907 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
dc59103e98 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
c93c9b8dbe 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
a90c690c9a 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
d885673df5 Bug 1249576. Add crashtest. 2016-02-26 17:14:32 -06:00
Timothy Nikkel
91dcacc8f5 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
59f526351b 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
7d879da1e3 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
8d9b91b313 Bug 1237550 - Add Taskcluster tasks for Firefox UI functional tests. r=ahal
MozReview-Commit-ID: HKhppWpxemj

--HG--
extra : rebase_source : bb6d1ecf5b7671da0808ee1a2477f0e44bac4d38
2016-02-23 18:36:05 +01:00
Mike Taylor
64df1dacf7 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
de9f8d8859 Bug 1251373 - Remove moz payment API support. r=Margaret
MozReview-Commit-ID: IW63XQDyB16

--HG--
extra : rebase_source : 2038809a37a265843e6033392cbe08641dfb3a50
2016-02-25 13:08:50 -08:00
Kyle Huey
ef22731cc4 Bug 1251498: Implement IDBKeyRange.includes(). r=baku 2016-02-26 13:58:47 -08:00
Wes Kocher
a0271adb8d 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
53efc9997d Bug 1212116, dispatch wheel events on disabled form controls, r=bz
--HG--
extra : rebase_source : 9575bef16cca8d178ca43d5052584acaf3a857fa
2016-02-26 23:04:34 +02:00
Ehsan Akhgari
2218f47481 Bug 1251587 - Add Windows support to the clang plugin; r=jrmuizel 2016-02-26 16:14:12 -05:00
Geoff Brown
dc70770730 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
e9ffb61914 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
6dc481a362 Bug 1146693 - Enable some layout/reftests/bugs tests on Android 4.3; r=me 2016-02-26 14:01:11 -07:00
Geoff Brown
8eb29268ad 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
d05b32db6c Bug 1248817 - Make test_domwindowutils.html more forgiving of coordinate rounding; r=ochameau 2016-02-26 14:01:11 -07:00
Andrew Halberstadt
bd06ada1f3 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

--HG--
extra : rebase_source : 1d4369809f777906de87f29df4069ad8161fa060
extra : amend_source : ba781964f4677a54b18342206aa971386aa97c8a
2016-02-24 14:07:58 -05:00
James Willcox
915320dbd0 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
1895ec8892 Bug 1251357 - fix regression where last MediaStreamTrack.stop did not turn off the camera light. r=jesup
MozReview-Commit-ID: DvDBKscIjnp

--HG--
extra : rebase_source : 9527e372e48442257f0237d38b38f430c3faed14
2016-02-26 12:26:47 -05:00
Steve Fink
92359c87a2 Bug 1243231 - Enable linux64-mulet-haz on main trees to take over from linux64-b2g-haz, r=garndt
--HG--
extra : rebase_source : 789d6e0de8ce22413b2126676cc3d61217382417
2016-02-25 14:15:51 -08:00
Wes Kocher
d0b32f7434 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aab5zU7Kd3X
2016-02-26 12:38:33 -08:00
Wes Kocher
8cffbc095f Backed out changeset b88648a41ed2 (bug 1245891) for talos timeouts
MozReview-Commit-ID: BxDPXC2rA4m
2016-02-26 12:29:03 -08: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
d3cc781844 Bug 1251275. Switch to using an AutoEntryScript in WorkerPrivate::RunExpiredTimeouts. r=khuey 2016-02-26 15:23:13 -05:00
Boris Zbarsky
7d27e1dd3d Bug 1251272. Remove the dead code in ReportErrorRunnable::ReportError that could fail, and make it infallible. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
72ba4a690b Bug 1251045 part 8. Remove the JSContext argument from some nsINotificationStorageCallback methods. r=khuey 2016-02-26 15:23:12 -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