Commit Graph

597877 Commits

Author SHA1 Message Date
Tim Nguyen
e328cc3fd4 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: 6DNHHTTw7ff

--HG--
extra : rebase_source : 59be5237ccc32387029191c03a60337d55b905ee
2018-05-30 04:34:51 +02:00
Hiroyuki Ikezoe
fa97dda579 Bug 1458841 - Use waitForAnimationReadyToRestyle wherever we wait for animation.ready right after animation creation. r=birtles
Previously we used the tweakExpectedRestyleCount function (replaced by the
waitForAnimationReadyToRestyle function in the previous patch) only in cases
where we were actually expecting restyles to happen.  For cases where we don't
expect restyles, i.e. cases where we assert the restyle count is zero, we
didn't use this method meaning we didn't bother checking if there was a restyle
expected for the current frame or not.

Since we normally wait for 5 frames anyway before checking that there have been
no restyles, failing to count the number of frames and waiting only 4 frames is
not a problem.  However, if a new test were added that just copied this code and
only waited one frame, it might fail to test what it intended.  So, to avoid
possible future bugs and in order to be more consistent with tests that do
expect restyles, this patch replaces a number of uses animation.ready with
waitForAnimationReadyToRestyle.

MozReview-Commit-ID: 7qBmobTKolh

--HG--
extra : rebase_source : baa272102fed7a66cc4fc89f6d63ba0333087a2d
2018-05-30 09:48:10 +09:00
Hiroyuki Ikezoe
272b797238 Bug 1458841 - Introduce a utility function that waits for a given animation being ready to be restyle. r=birtles
And replace tweakExpectedRestyleCount with the function.

MozReview-Commit-ID: 96jC9looyZq

--HG--
extra : rebase_source : 7dae8b258b874a9b366767a6e49de83bf2caccc9
2018-05-30 09:41:47 +09:00
Hiroyuki Ikezoe
6d4ad6222a Bug 1458841 - Remove test code for the old microtask behavior. r=birtles
MozReview-Commit-ID: ACNgQ0EWrKI

--HG--
extra : rebase_source : 8b628a7e80fa3d0e8d8de53e492eb521d112d0e6
2018-05-30 09:39:18 +09:00
Mike Hommey
8b091c97fd Bug 1464522 - Count static initializers from the crash reporter symbol files. r=froydnj
The crash reporter symbol files are the easiest cross-platform way to
find static initializers. While some types of static initializers (e.g.
__attribute__(constructor) functions) don't appear there in a notable
way, the static initializers we do care the most about for tracking do
(static initializers from C++ globals). As a matter of fact, there is
only a difference of 2 compared to the currently reported count of 125
on a linux64 build, so this is a good enough approximation. And allows
us to easily track the count on Android, OSX and Windows builds, which
we currently don't do.

The tricky part is that the symbol files are in
dist/crashreporter-symbols/$lib/$fileid/$lib.sym, and $fileid is hard to
figure out. There is a `fileid` tool in testing/tools, but it is a
target binary, meaning it's not available on cross builds (OSX,
Android).

So the simplest is just to gather the data while creating the symbol
files, which unfortunately requires to go through some hoops to make it
happen for just the files we care about.

--HG--
extra : rebase_source : 458fed1ffd6f9294eefef61f10ff7a284af0d986
2018-05-29 08:48:47 +09:00
Brindusan Cristian
f3765e8d3b Backed out changeset c6bd6395abb7 (bug 1459455) for ESlint failure on browser_ext_themes_tab_separators.js. CLOSED TREE 2018-05-30 02:38:37 +03:00
Chris Manchester
82729d6f6e Bug 1464954 - Print buildstatus messages when building in the top source directory. r=gps
MozReview-Commit-ID: F28u8k2Z24f

--HG--
extra : rebase_source : bcf77bdcfb37c5a43261e773d9b444c5844ae4d8
2018-05-29 15:23:39 -07:00
Andrew Halberstadt
bdde91f155 Bug 1464327 - [docs] Fix doc uploading by removing trailing comma, r=gps
This was changing the project from "main" -> ("main",) which was causing the DocUp
task to upload to urls like:
"('main',)/62.0/_sources/..."

MozReview-Commit-ID: 1bL9nqiAEFE

--HG--
extra : rebase_source : 8f4148dd003dfcfb4c0ba513e4fa7e2ca540dce3
2018-05-28 08:44:08 -04:00
Tim Nguyen
483aabd678 Bug 1459455 - Allow changing the tab separator color. r=jaws
MozReview-Commit-ID: EZud6zCay4a

--HG--
extra : rebase_source : 245b6c992eb750cad5608d086293870bb2642be5
2018-05-30 00:51:45 +02:00
Kartikaya Gupta
4a353fa16b Bug 1465078 - Wait for MozAfterPaint on new windows before requesting fullscreen. r=xidorn
MozReview-Commit-ID: 7cgujvsCdfh

--HG--
extra : rebase_source : 1db42770fe0d155471492eb083dc5580021773a0
2018-05-29 11:33:25 -04:00
Marco Bonardo
4e62a21508 Bug 1463132 - New autofill threshold doesn't work well with redirects. r=adw
MozReview-Commit-ID: 9DqCWA2nGnz

--HG--
extra : rebase_source : 17e4cba78a34a7541d1ccc2345bff31e2d36fab5
2018-05-23 16:49:06 +02:00
Brindusan Cristian
fc99ada428 Backed out changeset 3cb69bac2eac (bug 1417577) at eoger's request. 2018-05-30 01:39:37 +03:00
David Burns
0979d39d45 Bug 1387678 - Reenable Shadow DOM tests; r=ato
MozReview-Commit-ID: HPN6A9PS2PV

--HG--
extra : rebase_source : 97df1479610c0e51d2ddefd368dde1c1b4aefbc3
2018-04-28 00:08:53 +01:00
David Burns
27aec1d009 Bug 1387678 - Check if element is passed in is actually an element; r=ato
When we traverse up a shadow DOM we pass in null as an indicator to
move upwards. We now check that it is really an element and if not
assume that it is null and move up the tree

MozReview-Commit-ID: AK9eOLFDAgB

--HG--
extra : rebase_source : c748d0fd22d29286f40b78b8790f4a339dfd4299
2018-05-09 09:19:28 +01:00
David Burns
70e11aedc2 Bug 1387678 - Correct import of pprint in Marionette listener; r=ato
MozReview-Commit-ID: Jik6n0CDYk2

--HG--
extra : rebase_source : bffb592c050f4d6309dc1070ac16aad7e4fff5bb
2018-05-09 09:16:19 +01:00
David Burns
c3e3383f9a Bug 1387678 - Update tests to not use shadow DOM like a frame; r=ato
The current element finding and interaction code expects the shadow DOM
to act like a frame when it comes to keeping references to elements found
or not found on the document. This expectation is not correct for the way
shadow DOM works in reality.

MozReview-Commit-ID: JFWvlbEylj4

--HG--
extra : rebase_source : de99b01e33cd7c54de5d7c2c0396704e78878eef
2018-05-09 09:14:21 +01:00
David Burns
63b3aa0869 Bug 1387678 - Allow Marionette sendAsync command to handle null or undefinedr?ato r=ato
When evaluating if an object can be null,  which would mean that we would
not be able to pass through IPC as, the commandId could not be added to null.
This patch makes sure that we can still send commands via IPC if the object is
evaluated to null.

MozReview-Commit-ID: Fl3Ionj08Sk

--HG--
extra : rebase_source : 33d015ac235ee74e903e13e234c55fda298f8e66
2018-05-03 11:00:26 +01:00
David Burns
dd33e2c33f Bug 1387678 - Call elementsFromPoint on the correct document node; r=ato
elementsFromPoint will return the top level element of a shadow DOM
and not the elements within. If we are on the top level document we
need to make sure to use the correct rootNode.

MozReview-Commit-ID: ATvCidAFEeM

--HG--
extra : rebase_source : c6c8e20745a64b19cc0d1784044efe4fed4af9bf
2018-04-28 00:24:58 +01:00
David Burns
7b1dbf5a3f Bug 1387678 - Remove unused reference to container variable; r=ato
MozReview-Commit-ID: IVWtmbSuXiw

--HG--
extra : rebase_source : a7d75cb615cdfbc4b4a8d55c5be9d7ca57e0e970
2018-04-28 00:18:53 +01:00
David Burns
3129272297 Bug 1387678 - Allow traversing to the parent if switchToShadowDom is given null; r=ato
MozReview-Commit-ID: KO1UwTyhf1R

--HG--
extra : rebase_source : 50d06af537ad997483b2d1cf27882f178399f8a7
2018-04-28 00:12:35 +01:00
Yusuf Sermet
ebb3ebe1db Bug 1463599 - Create a stacking context for contain:paint. r=mattwoodrow
MozReview-Commit-ID: Ln72MOlHXwi

--HG--
extra : rebase_source : ec6bd5d3de4635acd2e2d0dcd2222232524d9459
2018-05-28 23:54:01 -07:00
Michael Kaply
c7275be13d Bug 1300209 - Remove list.txt support from search service. r=adw
MozReview-Commit-ID: CH3Pya9xdIn

--HG--
extra : rebase_source : 0b3bea75ab22f263b298b12ad742574d0e9a429e
2018-05-21 15:13:16 -05:00
Noemi Erli
3d7d0ef577 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-30 00:51:43 +03:00
Noemi Erli
846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Cosmin Sabou
5dc0c9ea8e Backed out changeset c3172bfa5d63 (bug 1447952) for frequent browser chrome failures on browser_siteData.js. CLOSED TREE 2018-05-29 22:01:04 +03:00
Alex Gaynor
7905a9416b Bug 1465162 - don't crash in ContentParent::RecvDeallocateLayerTreeId if the content parent ID doesn't exist; r=jld
MozReview-Commit-ID: IyLyhVUsOow

--HG--
extra : rebase_source : 5537174ddbc12cc56a17f0b8eca44501fb35d83c
2018-05-29 13:56:12 -04:00
Chris AtLee
6954584948 Bug 1465050: Remove reference to config_file_search_path r=marco
MozReview-Commit-ID: 2w3uQ226kzs

--HG--
extra : rebase_source : df37a734ed715e9037cac192ba2f7f121a2355c2
2018-05-29 13:38:13 -04:00
Tim Nguyen
3078e13f4c Bug 1455922 - Adjust findbar style to work better on dark themes. r=dao
MozReview-Commit-ID: IGIFlJUV1V8

--HG--
extra : rebase_source : e3e7f79aac57404d8136625db9da30bbbc960158
2018-05-29 20:45:33 +02:00
Tim Nguyen
dee6470fc1 Bug 1455922 - Create shared findbar CSS across platforms. r=dao
MozReview-Commit-ID: Hv3WHysJOQX

--HG--
rename : toolkit/themes/windows/global/findBar.css => toolkit/themes/shared/findBar.inc.css
extra : rebase_source : e890a2a8704a7d143db0b63947e0d72662169d7e
2018-05-29 20:45:22 +02:00
Tim Nguyen
55008c99fa Bug 1464699 - Replace PNG places icons with SVG. r=dao
MozReview-Commit-ID: FUozHoemZAB

--HG--
extra : rebase_source : 2d3471bc1bb0dc1b2cfa85a931b17a9efcc711fe
2018-05-29 20:37:48 +02:00
Ryan Hunt
6c8f4d0b0f Bug 1454980 - Let tiled parallel skia on unaccelerated windows ride the trains. r=davidb
--HG--
extra : rebase_source : df4dc5853fe92e66ac44b164695a78ac01682577
2018-05-29 10:48:46 -05:00
Kartikaya Gupta
5021217542 Bug 1463416 - Follow-up to remove timeout expectation from some QR tests, because it's not timing out any more. r=me 2018-05-29 14:20:00 -04:00
Andrea Marchesini
de738c53ef Bug 1461426 - IPCBlobInputStreamParent should be sent as underlying stream to the content - unit test, r=rpl 2018-05-29 20:02:03 +02:00
Andrea Marchesini
044ba75ddf Bug 1461426 - IPCBlobInputStreamParent should be sent as underlying stream to the content, r=smaug 2018-05-29 20:02:03 +02:00
Andrea Marchesini
612caa865c Bug 1462662 - Wipe the container for privacy.usercontext.about_newtab_segregation.enabled on shutdown, r=johannh 2018-05-29 17:35:28 +02:00
Joel Maher
bea2e0899f Bug 1392106 - random-if many more win7 tests. r=RyanVM 2018-05-29 13:50:33 -04:00
Jason Laster
bff4a75c01 Bug 1465080 - Render breakpoints with CM.runMode (v60). r=dwalsh
MozReview-Commit-ID: HmYfF8gm2Bd
2018-05-29 13:50:08 -04:00
Boris Zbarsky
3b8785a733 Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot 2018-05-29 13:39:06 -04:00
Boris Zbarsky
16e02a5e28 Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Boris Zbarsky
69db48b9c0 Bug 1047514. Re-enable the test_getWebIDLCaller test on Android. r=kmag 2018-05-29 13:38:53 -04:00
Cosmin Sabou
63954a642e Backed out changeset 62ed84f80e37 (bug 1462662) for mochitest browser chrome failures on browser_startup.js. CLOSED TREE 2018-05-29 20:16:46 +03:00
Marco Bonardo
b0e8eeb367 Bug 1463017 - Migrate origins frecencies more efficiently. r=adw
Execute a single write transaction per chunk, rather than a larger read/write transaction.
Also removes useless statement scopers when we create a single-use statement.

MozReview-Commit-ID: 3G37d55Z1dV

--HG--
extra : rebase_source : ed9132563b06dac471ccb0b28554fe30a3d75560
2018-05-28 15:22:11 +02:00
Sylvestre Ledru
3f0e9bf7a3 Bug 1464809 - Disable -Werror on -Wclass-memaccess until the backlog is fixed r=froydnj
https://bugzilla.mozilla.org/show_bug.cgi?id=1411029#c2

MozReview-Commit-ID: 2CyoNWMUrw9

--HG--
extra : rebase_source : 758d2c9bc9e2dd3502def27a0d9bc6f9e0887e2d
2018-05-28 14:56:41 +02:00
Nick Alexander
1589faf8b2 Bug 1464381 - Fix check for NIGHTLY_BUILD. r=gps
This was simply an oversight in the implementation of Bug 1464128.
What's happening is that `set_config` in `moz.configure` is not
unconditional, and NIGHTLY_BUILD is set in local builds and in B and N
builds in automation, so there was no test of the other case, which
promptly fails.  This re-uses a pattern successful in mobile/android
for setting defines.

MozReview-Commit-ID: 4zL4hVsqE3Q

--HG--
extra : rebase_source : f6033ed9be0afde7d1a5502bf69234247c95b8ba
2018-05-25 15:37:19 -07:00
Henrik Skupin
42abd0a86f Bug 1454680 - [marionette] Skip screenshot tests for Fennec debug builds. r=jmaher
MozReview-Commit-ID: 2L3jQ4gvZKK

--HG--
extra : rebase_source : 774ac64fea4dcf11230182066ed49ee0ce864df7
2018-05-29 18:39:32 +02:00
Michael Ratcliffe
c5f7092b7c Bug 1463080 - Instrument inspection of "Edit HTML" in Inspector with event telemetry r=yulia
MozReview-Commit-ID: 156CmWuHOf1

--HG--
extra : rebase_source : d3089249628bc433d929d19ee0baa92dfee45d63
2018-05-23 14:31:16 +01:00
Michael Ratcliffe
9b4265bed3 Bug 1456984 - Instrument inspection of shortcut combination used for toolbox opening with event telemetry r=yulia
MozReview-Commit-ID: HA6Tasq2iZu

--HG--
extra : rebase_source : c5d7ef7f574148d38a75ca14dfbf5ee82821134e
2018-05-23 13:14:25 +01:00
Brindusan Cristian
206284937b Backed out changeset 695a087bd6ea (bug 1464699) for browser chrome failures on browser_parsable_css.js CLOSED TREE 2018-05-29 20:59:40 +03:00
Mark Banner
2faa59b5ca Bug 1463673 - Enable ESLint rule require-expected-throws-or-rejects for toolkit/. r=mossop
MozReview-Commit-ID: AWqIwOIZsMa

--HG--
extra : rebase_source : 8e70a0ca689989b2224b334e6d30de0acb3a27f3
2018-05-22 20:52:49 +01:00
Mark Banner
5d838d18c1 Bug 1463673 - Add the expected argument to Assert.throws/rejects for various tests in toolkit/. r=mossop
MozReview-Commit-ID: LsWlHC16145

--HG--
extra : rebase_source : d786176c8a1777e2dfb2ca71476cddf6403f2ec3
2018-05-22 19:25:34 +01:00