Commit Graph

18885 Commits

Author SHA1 Message Date
Ted Mielczarek
2c59757b3c bug 1407368 - rename Breakpad's src/common/memory.h. r=gsvelto
memory.h conflicts with a system header, so we have workarounds to
change include paths to work around this.

This is mostly a cherry-pick of this upstream commit:
8bb3d55af7

..but the patch was applied separately to toolkit/crashreporter/google-breakpad
and toolkit/crashreporter/breakpad-client since we've forked the latter,
and there's also one other fixup of a source file included.

MozReview-Commit-ID: HH92HZG7y9n

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/memory.h => toolkit/crashreporter/google-breakpad/src/common/memory_allocator.h
rename : toolkit/crashreporter/google-breakpad/src/common/memory_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/memory_allocator_unittest.cc
extra : rebase_source : d321475099f000482689d6a6fb8629274ee19a65
extra : histedit_source : d526c27d952dbe73aee87e24701e2a862e1ca3d2
2017-10-17 19:44:36 -04:00
Sebastian Hengst
bf793df477 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
Jessica Jong
0d1588d9f7 Bug 1408341 - Implement assignedSlot on Element and Text. r=smaug 2017-10-19 14:31:36 +08:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Geoff Brown
b778b0197c Bug 1409875 - Make Android apk installation less chatty; r=me,test-only 2017-10-18 15:30:52 -06:00
Geoff Brown
c4c7c9357a Bug 1390606 - Check <sdk>/emulator for emulator exe; r=nalexander 2017-10-18 15:30:48 -06:00
Geoff Brown
baf21d699f Bug 1409055 - Improve devicemanager error handling when launching fennec; r=bc 2017-10-18 15:30:38 -06:00
Kim Moir
fa05b759e8 Bug 1407330 - Configure buildbot-config and mozharness to use the staging build/tools repo r=mtabara 2017-10-18 16:50:16 -04:00
Blake Kaplan
3fa965430b Bug 1406212 - Remove references to extensions.e10sBlocksEnabling. r=Felipe
MozReview-Commit-ID: 11q3Go0IkPh

--HG--
extra : rebase_source : fdcf714d18effc964191665eb8422305bda92b65
2017-10-16 13:52:48 -07:00
Blake Kaplan
448808fee2 Bug 1406212 - Remove browser.tabs.remote.autostart.N. r=Felipe
These are no longer needed.

MozReview-Commit-ID: C49R7GsWPDg

--HG--
extra : rebase_source : 3711365017bf48c1f53315ce48fa419ac2a89b3e
2017-10-10 16:12:20 -07:00
Ryan VanderMeulen
9c3824dc0c Merge m-c to autoland. a=merge 2017-10-18 21:02:15 -04:00
Alexandre Poirot
1acbe72b21 Bug 1401207 - Implement ./mach talos --subtests to allow filtering DAMP tests. r=jmaher
MozReview-Commit-ID: BAaVYjOofJE

--HG--
extra : rebase_source : d672192ae2e23e9f7edc2fe55c829402363a2c6b
2017-10-17 09:00:00 -07:00
Alexandre Poirot
9107b9f013 Bug 1401207 - Refactor DAMP to more easily filter subtests. r=bgrins
MozReview-Commit-ID: GXpujntQ5F2

--HG--
extra : rebase_source : 04e178326d62f9cecf416829a1246968592b98e9
2017-10-17 08:59:17 -07:00
Sebastian Hengst
f29266bc8b Backed out changeset 3219e7712baa (bug 1401207) for eslint failures in testing/talos/talos/tests/devtools/addon/content/damp.js. r=backout
--HG--
extra : amend_source : e45689b157898a7147026ee891b01dc7736ee79b
2017-10-19 00:06:26 +02:00
Sebastian Hengst
8191501d4d Backed out changeset f42923db714b (bug 1401207) 2017-10-19 00:06:20 +02:00
Alexandre Poirot
5995a00478 Bug 1401207 - Implement ./mach talos --subtests to allow filtering DAMP tests. r=jmaher
MozReview-Commit-ID: BAaVYjOofJE

--HG--
extra : rebase_source : 4ed15e50ceb1f2dddbdf89bc711712f3e80b3f0e
2017-10-17 09:00:00 -07:00
Alexandre Poirot
39b0a55bf6 Bug 1401207 - Refactor DAMP to more easily filter subtests. r=bgrins
MozReview-Commit-ID: GXpujntQ5F2

--HG--
extra : rebase_source : 04e178326d62f9cecf416829a1246968592b98e9
2017-10-17 08:59:17 -07:00
Mark Banner
77fa87faaa Bug 1409769 - Properly disable idle-daily for mochitests, to avoid background interactions. r=jmaher
MozReview-Commit-ID: 6yS6zwFjphd

--HG--
extra : rebase_source : a3652de9807376a24f576cce6b627f10d014e337
2017-10-18 16:29:37 +01:00
Blake Kaplan
ec2bd7a65e Bug 1406212 - Remove the e10srollout extension. r=Felipe
MozReview-Commit-ID: 1y141p0MalB

--HG--
extra : rebase_source : 151f67eaf17afd2f01726221842b28410905d385
2017-09-28 15:54:36 -07:00
Andreas Tolfsen
ac39cffaab Bug 1408508 - Move Context to browser module. r=maja_zf
To avoid circular dependencies, where file A depends on B depending
on A, we should strive towards fewer inter-dependencies and more
autonomy between modules.

For example, if testing/marionette/browser.js needs access to
the Context enum it can currently only attain it by importing
testing/marionette/driver.js.  Because driver.js imports browser.js,
we create a circular dependency and Cu.import enters an infinite
import recursion.

MozReview-Commit-ID: LGiA9sy9xrd

--HG--
extra : rebase_source : f1748894c4309a5bc34b72acd4931d7937e8810e
2017-10-16 17:47:35 +01:00
Sebastian Hengst
164fef69ff Backed out changeset 286a5ba56cec (bug 1408508) for eslint failure at testing/marionette/driver.js:881:50 | 'resp' is defined but never used. r=backout
--HG--
extra : amend_source : becc15136f2e7113ab248154be37dfa2bf923dc9
2017-10-18 20:28:15 +02:00
Andreas Tolfsen
a03f21ac1c Bug 1409040 - Add element.isElement shorthand. r=maja_zf
Introduces new element.isElement shorthand API for identifying DOM-,
SVG-, and XUL elements.

It is the equivalent of this:

	if (element.isDOMElement(el) ||
	    element.isSVGElement(el) ||
	    element.isXULElement(el)) {
	  // ...
	}

MozReview-Commit-ID: H8MDkP5bQmW

--HG--
extra : rebase_source : 6bef09999e47b178614e4bd307266b4449f39901
2017-10-17 14:53:42 +01:00
Andreas Tolfsen
b23b5f643a Bug 1409040 - Add element.isSVGElement. r=maja_zf
MozReview-Commit-ID: 4VCjHCnO3QB

--HG--
extra : rebase_source : f74e6a2ab48dfc59bc53b12f24e8a21131d8712c
2017-10-16 14:25:53 +01:00
Andreas Tolfsen
ded7e79114 Bug 1409040 - Add element.isDOMWindow. r=maja_zf
In addition to tell DOM- and XUL elements apart we will in the
future need to identify WindowProxies because WebDriver expects
there to be a separate "web window" serialisation for these.

Telling if an abritrary object is a WindowProxy is tricky but we
check if its node.toString is callable, that it returns "[object
Window"], and finally that its "self" attribute is itself.  This is
not perfect, but good enough for now.

MozReview-Commit-ID: 6FLOa3qYLPP

--HG--
extra : rebase_source : 27d25d97facf73761a1600e88d938eb76b3bc005
2017-10-13 19:22:01 +01:00
Andreas Tolfsen
8d4160ddc0 Bug 1409040 - Add element.isDOMElement. r=maja_zf
Introduces a new element.isDOMElement function, similar to isXULElement,
for checking whether an element is a DOM element.

It follows the same formula as isXULElement by first testing if the
element is an object so we know we can accesss node.namespaceURI
and node.nodeType without causing a JS error.

MozReview-Commit-ID: 6Mlo33vu5LG

--HG--
extra : rebase_source : 547a2fc5bc0051e3bb51e14add4f57d1ff7972b9
2017-10-13 19:20:26 +01:00
Andreas Tolfsen
6332833688 Bug 1409040 - Make element.isXULElement more resiliant. r=maja_zf
Fixes isXULElement to recognise XBL elements, such as <xbl:framebox>.

Also tightens up the input checks so that arbitrary objects can be
tested, as checking node.namespaceURI directly could cause a JS error
if node is not an object.  Before checking the namespace we also ensure
it's an element node so that text- and comment nodes are not picked up.

This patch also introduces tests, which were sorely missing.

MozReview-Commit-ID: 8LNF1z3X1gP

--HG--
extra : rebase_source : ffacc5b1336b35624aaf0534101ce5c3fbdeaa95
2017-09-16 14:37:21 +01:00
Andreas Tolfsen
fe6ba66d6c Bug 1409438 - Make references to mutable variables immutable. r=whimboo
References to mutable variables do not need mutable themselves.
This fixes a series of mutable variable warnings emitted by the
Rust compiler.

MozReview-Commit-ID: EosL5XNRRX4

--HG--
extra : rebase_source : 62aa86b2c6c87a5f39ee228dcad6b5e4162779d8
2017-10-17 17:04:11 +01:00
Andreas Tolfsen
4092fd5b34 Bug 1408508 - Move Context to browser module. r=maja_zf
To avoid circular dependencies, where file A depends on B depending
on A, we should strive towards fewer inter-dependencies and more
autonomy between modules.

For example, if testing/marionette/browser.js needs access to
the Context enum it can currently only attain it by importing
testing/marionette/driver.js.  Because driver.js imports browser.js,
we create a circular dependency and Cu.import enters an infinite
import recursion.

MozReview-Commit-ID: LGiA9sy9xrd

--HG--
extra : rebase_source : e4b69c91b9cf78705c902f1e5038d815b88114d0
2017-10-16 17:47:35 +01:00
Henrik Skupin
616e9c78ff Bug 1396880 - Skip not relevant checks in test_accessibility for webdriver click. r=ato
The test currently performs checks which will no longer raise the expected
accessibility exceptions if the webdriver conforming click is enabled. In
such a condition those specific situations are already covered in
test_click.py.

As long as the legacy click has not been fully removed keep running the
checks but only if the webdriver click is not in use.

MozReview-Commit-ID: 1DbKfJYADp

--HG--
extra : rebase_source : 2f56caf977f88768b1df2ad507587091af8708ba
2017-10-18 14:22:19 +02:00
Ben Hearsum
3e0f630784 No bug: Use rule ids instead of alias' for update publishing rules in staging release configs. r=jlorenzo
--HG--
extra : amend_source : dfdaae6e5bb4bb222c19efecc5a5128bcc46450a
2017-10-18 10:13:22 -04:00
Sebastian Hengst
f9b5b9b40c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 790IXj5MZ4f
2017-10-18 11:48:34 +02:00
Andreas Tolfsen
c9ec6362dc Bug 1409379 - Move WindowState to new wm module. r=maja_zf
The upcoming window tracking refactoring to Marionette will introduce
a new testing/marionette/wm.js module.  It was originally the plan
to move WindowState there after it had landed, but it actually makes
sense to land any dependencies before to reduce churn in the window
tracking patches.

MozReview-Commit-ID: EpqnTYYGcmg

--HG--
extra : rebase_source : d6760feefa49c522738fd3930b339bc0af70e6a5
2017-10-17 14:20:52 +01:00
Nick Alexander
af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Geoff Brown
0f14d33483 Bug 1409562 - Avoid intermittent UnboundLocalError in Android test-verify; r=me,test-only 2017-10-17 16:19:52 -06:00
Sebastian Hengst
f3f32c7851 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 98d9275bf6065bc701881aed6c4635f1da9ea642
2017-10-18 00:05:25 +02:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Geoff Brown
3f04ade908 Bug 1409062 - Update mochitest and reftest harnesses for --verify on Android; r=jmaher 2017-10-17 08:00:52 -06:00
Geoff Brown
f4608a4143 Bug 1409057 - Use new tooltool download for android sdk in emulator unit tests; r=jmaher
This version of the sdk download is based on the previous one but includes
a new version - 1.0.39 - of adb and eliminates some files not used by the
emulator (smaller, faster download). By including adb in the sdk download used
for the emulator, the tools sdk download can be eliminated.
2017-10-17 08:00:49 -06:00
Geoff Brown
4978bd8219 Bug 1404525 - Add test-verify support to Android mozharness script; r=jmaher 2017-10-17 14:45:07 -06:00
Ben Kelly
5b11baa60d Bug 1204254 P13 Add a WPT test that verifies data streams through respondWith(). r=asuth 2017-10-17 13:38:56 -07:00
Ben Kelly
bc5da12c52 Bug 1204254 P10 Expect to pass fetch-event-respond-with-response-body-with-invalid-chunk.https.html. r=asuth 2017-10-17 13:38:55 -07:00
Andrew McCreight
031371eca5 Bug 1409075 - Reduce the tab process leak threshold to reflect the current state. r=erahm 2017-10-17 10:11:00 -04:00
Rob Wood
8351214bcd Bug 1407398 - Run talos tp6 and ts_paint in duplication but with a heavy user-profile; r=jmaher
MozReview-Commit-ID: 5AL1DIz6Raq

--HG--
extra : rebase_source : 35fe3c57ab2ff5a727cb3599d3b56ad9ff8ec3e9
2017-10-12 11:29:07 -04:00
Sebastian Hengst
0fde5cb6b5 merge mozilla-central to autoland. r=merge a=merge 2017-10-17 11:46:52 +02:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Brendan Dahl
0946e8c036 Bug 1399956 - Add headless mochitests to taskcluster. r=jmaher
MozReview-Commit-ID: IGnl6WroOOV
2017-10-16 16:15:45 -07:00
Brendan Dahl
95fd4f75d9 Bug 1399956 - Add headless flag for mochitests. r=jmaher
MozReview-Commit-ID: Kqk0sw4ykEm
2017-10-16 16:15:45 -07:00
James Graham
1174074efa Bug 1408977 - Allow running wpt test with chos mode using --chaos[=flag], r=gbrown
MozReview-Commit-ID: E1jrL9EMt5Y

--HG--
extra : rebase_source : a440b055625513c9404957cef35c74184586db1e
2017-10-16 12:01:24 +01:00
Cameron McCormack
64d0481dfd Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Nick Thomas
e5c55921c4 Bug 1387622 - revert firefox-sha1 alias change, r=rail a=release DONTBUILD
MozReview-Commit-ID: 7BgcdEWCNfn

--HG--
extra : rebase_source : 38ac134fcb1db7863b45206364ca00b05fe10ebf
extra : source : 31949068fe2c9cf147f00df0b8ccda57d74a337f
2017-10-06 09:44:12 +13:00