Commit Graph

283956 Commits

Author SHA1 Message Date
Armen Zambrano Gasparnian
6db565bf65 Bug 1244720 - Enable more green TaskCluster tier-2 jobs. r=dustin
MozReview-Commit-ID: KUtz8LbWrDE

Enable the following jobs on try and trunk trees:
* Crashtest e10s
* Jetpack
* JsReftests e10s
* Mochitest devtools-chrome
* Reftests
* Reftests e10s
* Web platform reftests e10s
* Xpcshell
2016-02-01 16:45:37 -05:00
Nathan Froyd
aa9749d602 Bug 1247359 - micro-optimize the common case of String{Begins,End}With; r=erahm
StringBeginsWith (resp. StringEndsWith) takes a defaulted
nsStringComparator object for doing comparisons.  The flexibility this
affords is great, but the cost is not: nsStringComparator has virtual
methods, so initializing that defaulted object (at every callsite)
requires a temporary object whose vtable must be initialized.

Since the overwhemingly common case is to use the default comparator
anyway, we should not use defaulted arguments and instead provide the
default comparator/user-provided comparator cases as separate overloads.
This change eliminates the virtual call for the majority of callsites
and reduces codesize as well.
2016-02-10 14:31:06 -05:00
Nathan Froyd
2885760ae1 Bug 1247338 - really make Atomic's constructor constexpr; r=Waldo
Atomic's constructor is marked as constexpr, but it calls a
non-constexpr function, ToStorageTypeArgument::convert.  For compilers
which require constexpr-ness on constructors to inline away the actual
constructor call, the call to ToStorageTypeArgument::convert completely
disables the constexpr-ness of the constructor.  Let's fix this by
marking all relevant instances of ToStorageTypeArgument::convert as
MOZ_CONSTEXPR, thus satisfying the compiler once again.
2016-02-10 11:28:36 -05:00
Andrew Halberstadt
d81269b083 Bug 1231784 - Fix toolkit/mozapps/extensions/test/browser/browser_select_confirm.js, r=Mossop
MozReview-Commit-ID: Gr0CCQ3iHTl
2016-01-22 14:34:55 -05:00
Andrew Halberstadt
dc80535fa1 Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
MozReview-Commit-ID: GdkkHzxrjAh
2016-01-27 11:36:16 -05:00
Andrew Halberstadt
8fa1fe045f Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Ben Kelly
295f1ca3e7 Bug 1247436 Ensure service worker registration is persisted if its resurrected from a pending uninstall. r=baku 2016-02-11 06:23:11 -08:00
Armen Zambrano Gasparnian
bfabeca697 Bug 1247382 - Improve naming of TaskCluster Linux64 debug jobs. DONTBUILD. r=jmaher
MozReview-Commit-ID: 3QLSUofHvi5
2016-02-10 15:19:39 -05:00
Andreas Tolfsen
ab4418f438 Bug 1245153 - Use EventUtils.js from mochikit; r=pbrosset
testing/marionette/EventUtils.js has been converted to a JS module in
testing/marionette/event.js and its API has changed.  It was originally
a copy of testing/mochitest/tests/SimpleTest/EventUtils.js, and it should
be fine to use the original instead.

MozReview-Commit-ID: Exi9d5rEeOz
2016-02-05 14:14:15 +00:00
Andreas Tolfsen
a71035026a Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej
2016-02-08 13:59:40 +00:00
Andreas Tolfsen
308098741f Bug 1245153 - Lint testing/marionette/frame.js; r=automatedtester
There should be no functional changes here.

MozReview-Commit-ID: 360y6vHYuC3
2016-02-03 19:41:03 +00:00
Andreas Tolfsen
73ee3f8d9d Bug 1245153 - Rename frame-manager.js to frame.js; r=automatedtester
MozReview-Commit-ID: 3s6s2LccFac
2016-02-03 19:28:02 +00:00
Andreas Tolfsen
dbfee71802 Bug 1245153 - Rename actions.js to action.js; r=automatedtester
MozReview-Commit-ID: 58v7aMH2deS
2016-02-03 19:25:28 +00:00
Andreas Tolfsen
cfed1321e6 Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester
This does not appear to be in use.

MozReview-Commit-ID: B4M335Lb1UM
2016-02-03 19:18:30 +00:00
Andreas Tolfsen
68f2b5133c Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
MozReview-Commit-ID: F51ENbkcoR2
2016-02-03 19:15:54 +00:00
Andreas Tolfsen
ef3803b9b2 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
MozReview-Commit-ID: KAGGXOHMvyM
2016-02-03 19:14:10 +00:00
Andreas Tolfsen
02dea22eb2 Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
MozReview-Commit-ID: 1aeRNnvqmcS
2016-02-03 19:00:46 +00:00
Andreas Tolfsen
65f61ab2a3 Bug 1245153 - Add event.js module and remove EventUtils.js and sendkeys.js from manifest; r=automatedtester
MozReview-Commit-ID: 9KqUpfp6KHG
2016-02-03 18:56:45 +00:00
Andreas Tolfsen
ee96a9bc80 Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

MozReview-Commit-ID: 96h0yLElauq
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
892f383cb0 Bug 1245153 - Convert interactions.js and elements.js to modules; r=automatedtester
To simplify the dependency chain and reduce the number of duplicate
functions in Marionette, a number of functions have been removed from
interactions.js and added to elements.js.  This makes them more easily
re-usable and works around a circular dependency issue.

MozReview-Commit-ID: TZc3VZzHqM
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
bd58f14efd Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
MozReview-Commit-ID: HNCvHitE3Fh
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
b200390cdf Bug 1245153 - Convert atoms.js to a module; r=automatedtester
Through some very clever hacking of the arguments to each of the atoms,
we are able to contain this in a JS module: Atoms normally extract their
arguments directly from the function scoped `arguments' variable, but
by explicitly naming `window' as the last argument in the functions'
prototype we are able to set the `window' variable used inside.

This is obviously a big hack, but it encapsulates the atoms and we are
moving away from atoms in the long term.

MozReview-Commit-ID: KGO77fjRN2d
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
ff63613475 Bug 1245153 - Convert EventUtils.js to a module; r=automatedtester
testing/marionette/sendkeys.js has been merged into the
new testing/marionette/event.js module, together with
testing/marionette/EventUtils.js.

There is a lot of functionality still left in this module that we can
probably remove, as it is not in use by Marionette.

MozReview-Commit-ID: GrjNuK9VPjp
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
8db2daad10 Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester
error.wrap acts as a no-op if it is passed a prototype which is already
of the WebDriverError prototypal chain.

MozReview-Commit-ID: Gd9kUEvsgNv
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
76045c0faf Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester
Generally, Error prototypes that are not based on WebDriverError must
be wrapped so that they can be serialised across the AsyncMessageChannel.

MozReview-Commit-ID: EtkpEOBhrST
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
8825708b0c Bug 1245153 - error.isError must recognise built-in Error prototypes; r=automatedtester
Due to a previous programming error, error.isError only recognised
the base Error prototype.  It must also test for the other built-in
prototypes, such as TypeError et al.

MozReview-Commit-ID: HLkiOAg0Jl1
2016-02-03 18:41:37 +00:00
Alexander Surkov
e9f6da0b5c Bug 1247364 - use AllChildrenIterator::Seek by a11y tree walker, r=davidb 2016-02-11 08:24:38 -05:00
Alexander Surkov
64ca196ec5 Bug 1247364 - add AllChildrenIterator::Seek, r=bz 2016-02-11 08:22:39 -05:00
Kartikaya Gupta
e7ddbfc7cb Bug 1245925 - Revert cset 2ae6e19e2caf now that a proper fix has landed. r=me 2016-02-11 08:14:17 -05:00
Dan Minor
9ade408f90 Bug 1244143 - Record whether or not an artifact build was used in build telemetry data r=gps
This adds a substs field and cherrypicks the MOZ_ARTIFACT_BUILDS field so
we can determine whether or not an artifact build occurred.

MozReview-Commit-ID: 8aio8mP8pmR
2016-02-01 14:41:13 -05:00
Gijs Kruitbosch
2309c92888 Bug 1239744 - no longer automatically show an on-screen keyboard for programmatic focus changes, tidy up osk logic in IMEHandler, r=masayuki 2016-02-09 19:39:55 +00:00
Matt Woodrow
3d68f0bf29 Bug 1216832 - Add crashtest. r=roc 2016-02-12 00:19:19 +13:00
Matt Woodrow
73e1084a34 Bug 1216832 - Handle preserve-3d visible regions during display list building by always transforming from the preserve-3d root each time. r=roc 2016-02-12 00:18:55 +13:00
Joel Maher
de19c25978 Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r=parkouss
MozReview-Commit-ID: 3MP9ugObja4
2016-02-10 18:32:16 -08:00
Carsten "Tomcat" Book
6b185089c6 Merge mozilla-central to mozilla-inbound 2016-02-11 11:56:20 +01:00
Carsten "Tomcat" Book
d80c849001 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
7f96779651 merge fx-team to mozilla-central a=merge 2016-02-11 11:47:12 +01:00
Carsten "Tomcat" Book
5aaf7f18ae Backed out changeset b9aecc2e6334 (bug 1234813) for test failures in connect-src-beacon-blocked.sub.html 2016-02-11 11:33:06 +01:00
Carsten "Tomcat" Book
dfef659a8c Backed out changeset 84b8eef80b22 (bug 1234813) 2016-02-11 11:32:32 +01:00
J. Ryan Stinnett
63f767ee13 Bug 1244226 - Fix promise error in simulator test. r=ochameau
MozReview-Commit-ID: B6UpRTlJYDM
2016-02-11 00:43:59 -06:00
Carsten "Tomcat" Book
fc5accc431 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
67a51393f3 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Edgar Chen
15b18cf517 Bug 1245398 - Use in-tree script for all mulet tests; r=ahal
MozReview-Commit-ID: AntB37HzGXa
2016-02-10 18:12:02 +08:00
Gian-Carlo Pascutto
511bc685e9 Bug 1230768. r=jesup 2016-02-10 17:15:28 +01:00
Brian Grinstead
21ba65f010 Bug 1246843 - Add a default page for mozscreenshots mochitest;r=MattN
MozReview-Commit-ID: Cv74fVKrUkQ
2016-02-09 19:57:34 -08:00
Nicholas Nethercote
c1d7c00a37 Bug 1246855 (part 2) - Measure CompartmentPrivates during memory reporting. r=terrence.
This also expands the coverage to include the hash table elements in the
mWrappedJSMap.
2016-02-10 08:41:38 +11:00
Nicholas Nethercote
b1264afac3 Bug 1246855 (part 1) - Remove the in-advance measurement of CompartmentPrivates. r=terrence.
Measuring in advance confuses DMD. It's better to measure during reporting.
The next patch will reinstate the measurement, but during reporting.
2016-02-10 08:36:35 +11:00
Phil Ringnalda
dd7f173d2c Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Trevor Saunders
800eab2f05 bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test.  It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value.  Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Jim Chen
5451975ff8 Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00