Граф коммитов

1636 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 089eb143c9 Bug 1521640 - Track assertion counts in reftest harness; r=jgraham
These assertion counts were removed (accidentally?) by bug 1321127, effectively
not tracking assertion count mismatches in the reftest harness and instead
relying on mozharness to fail tasks based on the logged error messages.
Restoring the counts ensures:
 - the reftest summary includes accurate assertion counts like
   REFTEST INFO | Unexpected: 12 (..., 11 unexpected asserts, ...)
   REFTEST INFO | Known problems: 64 (..., 31 known asserts, ...)
 - assertion mismatches cause the harness to exit with an error code so
   that the job fails even if the log parsing is broken (bug 1587139)
   or the tests are being run locally with mach.

Differential Revision: https://phabricator.services.mozilla.com/D48594

--HG--
extra : moz-landing-system : lando
2019-10-10 14:51:46 +00:00
Andrew Halberstadt 142851700b Bug 1587206 - [lint.flake8] Enable F811 across the tree, r=sylvestre
This prevents redefinition of unused variables.

Depends on D48610

Differential Revision: https://phabricator.services.mozilla.com/D48611

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:20 +00:00
Brendan Dahl a51ca19772 Bug 1510785 - Support disabling XBL related tests. r=gbrown
Adds a way for mochitest, reftest, and crashtests to skip XBL related
tests when XBL is disabled. Also, add an app constant so JS can
check whether XBL is enabled.

Depends on D45614

Differential Revision: https://phabricator.services.mozilla.com/D45615

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:33 +00:00
Brindusan Cristian 225180bff0 Bug 1585217 - Fix Eslint. r=me CLOSED TREE 2019-10-02 02:00:51 +03:00
Emilio Cobos Álvarez caccd3a1d9 Bug 1585217 - Make the layout debugger with -autoclose handle content process crashes. r=heycam
This means that you can use it as a very light-weight crashtest harness by
using:

MOZ_GDB_SLEEP=0 ./mach run -layoutdebug <file> -autoclose

Right now we just never exit otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D47715

--HG--
extra : moz-landing-system : lando
2019-10-01 17:09:23 +00:00
Noemi Erli 20a7022489 Backed out changeset 3f8c2c77cd63 (bug 1585217) for failing in rowser_openLayoutDebug.js CLOSED TREE 2019-10-01 19:07:26 +03:00
Emilio Cobos Álvarez 078e5fd7fa Bug 1585217 - Make the layout debugger with -autoclose handle content process crashes. r=heycam
This means that you can use it as a very light-weight crashtest harness by
using:

MOZ_GDB_SLEEP=0 ./mach run -layoutdebug <file> -autoclose

Right now we just never exit otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D47715

--HG--
extra : moz-landing-system : lando
2019-10-01 14:23:12 +00:00
Gabriele Svelto 10d41866a5 Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47678

--HG--
extra : moz-landing-system : lando
2019-09-30 22:06:47 +00:00
Ciure Andrei fa4f19c71e Backed out changeset f5716082ad9c (bug 1585217) for causing ESlint failure CLOSED TREE 2019-10-01 05:51:21 +03:00
Emilio Cobos Álvarez 2b5100f2c5 Bug 1585217 - Make the layout debugger with -autoclose handle content process crashes. r=heycam
This means that you can use it as a very light-weight crashtest harness by
using:

MOZ_GDB_SLEEP=0 ./mach run -layoutdebug <file> -autoclose

Right now we just never exit otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D47715

--HG--
extra : moz-landing-system : lando
2019-10-01 02:17:48 +00:00
Brian Grinstead 92fc475e5b Bug 1584306 - Replace <xul:textbox> with <html:input> in layout/tools/layout-debug/ui/content/layoutdebug.xul;r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D47329

--HG--
extra : moz-landing-system : lando
2019-09-27 17:23:31 +00:00
Paul Zuehlcke 97eafa8dd0 Bug 1402957 - Refactored remaining tests using nsIPermissionManager URI methods to principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47252

--HG--
extra : moz-landing-system : lando
2019-09-27 09:48:53 +00:00
Geoff Brown 7d2245678c Bug 1583695 - Adjust Android test timeouts; r=bc
Change the taskcluster max-run-time for mochitests and reftests to use the
defaults, now that android tests no longer run anywhere near 7200 seconds.
(Also noticed some unrelated tc configuration that is obsolete - tidied that.)
Also remove the special 600 second reftest timeout for android debug reftests.

Differential Revision: https://phabricator.services.mozilla.com/D47301

--HG--
extra : moz-landing-system : lando
2019-09-26 17:03:18 +00:00
Agi Sferro 731917effd Bug 1570115 - Allow Actors to implement WebBrowserChrome. r=kmag,snorp
Differential Revision: https://phabricator.services.mozilla.com/D44052

--HG--
extra : moz-landing-system : lando
2019-09-20 18:15:18 +00:00
Agi Sferro ebe6d184ab Bug 1570115 - Move LoadURIDelegate to Actor. r=kmag,snorp
Differential Revision: https://phabricator.services.mozilla.com/D44051

--HG--
extra : moz-landing-system : lando
2019-09-20 18:15:25 +00:00
Zibi Braniecki 38edf520dd Bug 1581204 - Remove unused DTDs from layout. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D45901

--HG--
extra : moz-landing-system : lando
2019-09-16 19:41:54 +00:00
Andrew Halberstadt b6461aa946 Bug 1567642 - [reftest] Fix flake8 under Python 3 lint issues r=gbrown
Depends on D45415

Differential Revision: https://phabricator.services.mozilla.com/D45416

--HG--
extra : moz-landing-system : lando
2019-09-10 19:15:30 +00:00
Bob Owen 94dc85db8f Bug 1577515: Add fuzz to some Canvas 2D reftests when remote canvas enabled. r=jrmuizel
This is required due to different backends being used for SVG images and canvas.

Differential Revision: https://phabricator.services.mozilla.com/D44154

--HG--
extra : moz-landing-system : lando
2019-09-09 06:51:03 +00:00
Cameron McCormack 2503e0f3c1 Bug 1577390 - Wait a bit before loading document in Layout Debugger when profiling. r=dbaron
That gives the profiler a chance to attach to a newly created content
process.  There's no API for waiting for the profiler to be ready in a
just-created process, unfortunately.

Differential Revision: https://phabricator.services.mozilla.com/D43898

--HG--
extra : moz-landing-system : lando
2019-08-30 23:12:58 +00:00
Geoff Brown 7ba1b41441 Bug 1575667 - Add --no-install option for android mach reftest and gtest; r=bc
Straight-forward addition of the --no-install option for reftest, just like
the existing option for mochitest. For gtest, I alos noticed the mach command
help needed some cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D43299

--HG--
extra : moz-landing-system : lando
2019-08-26 13:45:10 +00:00
Cameron McCormack 79a431d339 Bug 1569077 - Part 3: Add --capture-profile argument to the layout debugger. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39469

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:30 +00:00
Cameron McCormack 712f284101 Bug 1569077 - Part 2: Add --autoclose argument to the layout debugger. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39468

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:28 +00:00
Cameron McCormack 7ce6716163 Bug 1569077 - Part 1: Refactor layout debugger command line handling. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D39467

--HG--
extra : moz-landing-system : lando
2019-08-25 23:38:26 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Hiroyuki Ikezoe 10f4aacd62 Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel
scrollbars-in-landscape-content.html doesn't fail on environments where we don't
use overlay scrollbars because scrollbars for the visual viewport are not
rendered there.

Differential Revision: https://phabricator.services.mozilla.com/D40770

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:54 +00:00
Hiroyuki Ikezoe ccb7fd1a3f Bug 1508177 - Add reftests to make sure that expanded layout viewport areas that are initially out of the visual viewport are rendered by setting resolution. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D40767

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:50 +00:00
Kristen Wright b7b95930c5 Bug 1571544 - Convert mozilla.widget.disable-native-theme to static pref. r=njn
Converts mozilla.widget.disable-native-theme varcache pref to a static pref and updates uses of its associated global variable with the pref. This also renames the pref to widget.disable-native-theme to group with other widget prefs.

Differential Revision: https://phabricator.services.mozilla.com/D40721

--HG--
extra : moz-landing-system : lando
2019-08-07 23:05:05 +00:00
L. David Baron 85cac89c70 Bug 1561792 - Rename the pref gfx.font_ahem_antialias_none to gfx.font_rendering.ahem_antialias_none to avoid the additional pref observer added in the previous patch. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41068

--HG--
extra : moz-landing-system : lando
2019-08-07 20:46:04 +00:00
Cameron McCormack d622a3d445 Bug 1569060 - Add layout debugger command to dump process IDs. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39437

--HG--
extra : moz-landing-system : lando
2019-08-06 23:31:55 +00:00
Geoff Brown f7b0420fd4 Bug 1570051 - Minor updates to android mach commands; r=bc
Various cleanup:
 - remove extraneous calls to grant_runtime_permissions
 - remove unused legacy jimdb support code
 - remove "This may take a while" logging
 - emphasize x86/x86_64 capabilities of emulator

Differential Revision: https://phabricator.services.mozilla.com/D40302

--HG--
extra : moz-landing-system : lando
2019-08-03 01:52:39 +00:00
Kannan Vijayan 3fb6190ec6 Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39378

--HG--
extra : moz-landing-system : lando
2019-07-26 16:48:31 +00:00
Cameron McCormack 65b43505be Bug 1569084 - Update help text to use two-dash form for --layoutdebug. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D39448

--HG--
extra : moz-landing-system : lando
2019-07-26 02:25:29 +00:00
Ting-Yu Lin 47c53c2fec Bug 1567982 - Fix command name for the reload button on layout debugger's toolbar. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D38903

--HG--
extra : moz-landing-system : lando
2019-07-22 22:57:49 +00:00
Coroiu Cristina 4436573fa3 Bug 1566215 - Fix ESlint failure on a CLOSED TREE 2019-07-22 09:27:29 +03:00
Cameron McCormack db2d38ee9a Bug 1567328 - Improve the keyboard shortcuts in the Layout Debugger. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38582

--HG--
extra : moz-landing-system : lando
2019-07-19 18:38:47 +00:00
Cameron McCormack bc2763a680 Bug 1566215 - Part 5: Use a remote browser in the layout debugger. r=dbaron,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38415

--HG--
extra : moz-landing-system : lando
2019-07-22 04:48:44 +00:00
Cameron McCormack 383e501763 Bug 1566215 - Part 4: Use message manager to send layout debugger commands to content. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38414

--HG--
extra : moz-landing-system : lando
2019-07-22 04:48:37 +00:00
Cameron McCormack 3c7a36d829 Bug 1566215 - Part 3: Move debugging state management into layoutdebug.js. r=dbaron
Many of these features are non-functional these days, but I'll keep them
hooked up in case we decide to fix them.

Differential Revision: https://phabricator.services.mozilla.com/D38413

--HG--
extra : moz-landing-system : lando
2019-07-22 04:48:35 +00:00
Cameron McCormack b92599beb1 Bug 1566215 - Part 2: Merge nsILayoutDebugger functionality into nsLayoutDebuggingTools. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38412

--HG--
extra : moz-landing-system : lando
2019-07-22 04:48:33 +00:00
Cameron McCormack 75400edc99 Bug 1566215 - Part 1: Remove some unused nsLayoutDebuggingTools code. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38411

--HG--
extra : moz-landing-system : lando
2019-07-22 04:48:26 +00:00
Edwin Gao 29f92afa77 Bug 1562745 - Make OSX10.14 debug tests actually use debug builds. r=jmaher
As far as I can tell, the intermittent suite_start failures are due to
stdout/stderr output interleaving -- a known issue for reftest logging,
without a clear way forward. Let's work around it the same way we did
on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D37023

--HG--
extra : moz-landing-system : lando
2019-07-12 16:18:20 +00:00
Brendan Dahl 28dcf95b41 Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron
386947-1.xul, now has one assertion since we take a different code
path with chrome URL's and XBL files. The assertion is triggered since the
binding is invalid.

Differential Revision: https://phabricator.services.mozilla.com/D34542

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:42 +00:00
Brendan Dahl 84f1f82f3d Bug 1557371 - Part 1 - Load all XUL reftests with chrome privilege. r=dbaron
This will have two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

One test (404149-1.xul) is now disabled, since it fails when loaded as
chrome. Bug 1557383 was filed to address this.

Differential Revision: https://phabricator.services.mozilla.com/D33986

--HG--
extra : moz-landing-system : lando
2019-07-09 19:40:33 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Emilio Cobos Álvarez 6754f5f967 Bug 1563484 - Add reftest support for text-zoom. r=dbaron
Seems we had no reftests for this feature :(

Depends on D36893

Differential Revision: https://phabricator.services.mozilla.com/D36894

--HG--
extra : moz-landing-system : lando
2019-07-05 21:33:37 +00:00
Cosmin Sabou cddd4c6528 Backed out changeset f9c0c52368d6 (bug 1562745) for causing crashes on stream-safe-creation.any.serviceworker.html 2019-07-06 01:05:01 +03:00
Geoff Brown bfa723f163 Bug 1562745 - Make OSX10.14 debug tests actually use debug builds. r=jmaher
As far as I can tell, the intermittent suite_start failures are due to
stdout/stderr output interleaving -- a known issue for reftest logging,
without a clear way forward. Let's work around it the same way we did
on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D37023

--HG--
extra : moz-landing-system : lando
2019-07-05 12:56:54 +00:00
Victor Porof 6a261b9e77 Bug 1561435 - Format layout/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35927

--HG--
extra : source : b9cc96337c05dbb9a9f811c63dcc5fd63588d652
2019-07-05 10:50:41 +02:00
Kartikaya Gupta a898111144 Bug 1525314 - Auto-fuzz WR on Android with maxDifference<=2. r=jmaher
Due to the sheer number of tests that exhibit a random fuzz with maxDifference=1
and maxDifference=2 with WR on Android, it's easier to just tweak the harness
to autofuzz these away. This adds machinery to do so, and also adds a new
annotation that can be used to disable the autofuzzing on specific tests.

Depends on D36794

Differential Revision: https://phabricator.services.mozilla.com/D36796

--HG--
extra : moz-landing-system : lando
2019-07-04 21:35:04 +00:00
Kris Maglione f180f12646 Bug 1560400: Part 1 - Support remote frames in Window indexed getters. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D35471

--HG--
extra : rebase_source : b326799f8ced75068f7e7fec6edbd39455cdb9b1
extra : source : 84633034590f2d1a4c336f9653e6c542f3a09039
2019-06-20 13:52:55 -07:00