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

63 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 5ee13ebe8a Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4CJDJBAcVPL
2017-09-08 13:41:21 -07:00
David Anderson b4357df64f Rename the Advanced Layers pref to indicate that it's stable. (bug 1385051 part 1, r=milan) 2017-09-08 10:21:18 -07:00
Jean-Yves Avenard fb3bef4acd Bug 1392143 - P6. Use constants in coordinate calculations. r=mattwoodrow
This shows how the coordinates were actually calculated. and will make it easier should the video size needs to ever be changed again.

MozReview-Commit-ID: KkQNqz00Aw0

--HG--
extra : rebase_source : c9c7a60d813f7a7a10d2776ffe8fe2f56530268a
2017-09-07 19:36:20 +02:00
Jean-Yves Avenard a3fda0c220 Bug 1392143 - P5. Improve rendering test. r=mattwoodrow
We now check that the canvas is properly scaled by checking if the color immediately on the right of the canvas is correct.

If the rendering failed, we do not bother testing the H264 video decoder.

MozReview-Commit-ID: IwBwKnceLBg

--HG--
extra : rebase_source : 35c5a6b0ed784ffce844a1aa5e502a3bf99de914
2017-09-07 19:19:35 +02:00
Jean-Yves Avenard 96806505f2 Bug 1392143 - P3. Resize window after moving it. r=mattwoodrow
This ensure that the window still has the intended size if it had been resized due to different DPI setup.

MozReview-Commit-ID: 9oeXbTKQqhe

--HG--
extra : rebase_source : b0266bcb46c82d5cee18157a3d66712c5744bf0c
2017-09-07 17:49:05 +02:00
Jean-Yves Avenard 4de97bd6f6 Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : dcfb26420f2aa2b3b8972f2a9ad35a141b37e74a
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard 7a8e70ec4e Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 841fe4eff706d78ac4267679a21902c9b9c1b07a
2017-09-06 15:42:46 +02:00
Wes Kocher 4d3b3a806c Backed out 6 changesets (bug 1392143) for lint failures in SanityTest.js a=backout
Backed out changeset 5e167360b1f9 (bug 1392143)
Backed out changeset c1fcfceeefae (bug 1392143)
Backed out changeset 5220b19f1fc0 (bug 1392143)
Backed out changeset ff3a335e7111 (bug 1392143)
Backed out changeset b1627a3a5d77 (bug 1392143)
Backed out changeset 40e16e34df00 (bug 1392143)

MozReview-Commit-ID: KWifvOL8d9s
2017-09-07 16:17:11 -07:00
Jean-Yves Avenard 30d3f01b85 Bug 1392143 - P6. Use constants in coordinate calculations. r=mattwoodrow
This shows how the coordinates were actually calculated. and will make it easier should the video size needs to ever be changed again.

MozReview-Commit-ID: KkQNqz00Aw0

--HG--
extra : rebase_source : fb1074a28f2045c3889acc43fbe9c01dadc34a70
2017-09-07 19:36:20 +02:00
Jean-Yves Avenard 0c1d650052 Bug 1392143 - P5. Improve rendering test. r=mattwoodrow
We now check that the canvas is properly scaled by checking if the color immediately on the right of the canvas is correct.

If the rendering failed, we do not bother testing the H264 video decoder.

MozReview-Commit-ID: IwBwKnceLBg

--HG--
extra : rebase_source : bf0b881a23c2225dcebb13d79d5034c89a0a31e1
2017-09-07 19:19:35 +02:00
Jean-Yves Avenard 0809599a4b Bug 1392143 - P3. Resize window after moving it. r=mattwoodrow
This ensure that the window still has the intended size if it had been resized due to different DPI setup.

MozReview-Commit-ID: 9oeXbTKQqhe

--HG--
extra : rebase_source : cfe3a9d5faa4a4dadd766cf1d3751b61bde929f1
2017-09-07 17:49:05 +02:00
Jean-Yves Avenard 4c2d89a946 Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : da34be08b67716ebb84f249ead571cc171d8d2f7
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard 567ce65f4e Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 2dce7281c45a942918e86fcaae98530e6b24275f
2017-09-06 15:42:46 +02:00
Sebastian Hengst 6d4148599c Backed out changeset 6c13864a1bee (bug 1392143) for unexpectedly passing gl suite's dom/canvas/test/webgl-mochitest/test_video_fastpath_mp4.html, at least on Windows 7 debug. r=backout 2017-09-07 14:51:59 +02:00
Sebastian Hengst 544909dd55 Backed out changeset acf2ccf34d75 (bug 1392143) 2017-09-07 14:51:01 +02:00
Jean-Yves Avenard f7197c027f Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : 20cf3ae8bf62709711ac0e76e348c6e28d678025
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard 22fbc8d804 Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 3cdffbc30334e2704375d8da878fd79124fe2a05
2017-09-06 15:42:46 +02:00
Marco Castelluccio 8e32927dd9 Bug 1357517 - Remove Preferences.jsm usage from graphics sanity test. r=mchang
--HG--
extra : rebase_source : 7a689805662eeea05c85b315e6687c4292a14992
2017-07-31 19:36:32 +02:00
David Anderson dd94534a4f Disable Advanced Layers when the sanity test fails. (bug 1377866 part 3, r=mchang) 2017-07-10 19:30:52 -07:00
Florian Quèze e2330580ff Bug 1373387 - Places should not be initialized by the SanityTest window, r=mak. 2017-06-16 09:58:06 +02:00
Joel Maher bc070be3c8 Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Mark Banner a656cedb11 Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
MozReview-Commit-ID: Ed9FfkskDos

--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Mark Banner 733f0b7c97 Bug 1338195 - Define a `frame-script` environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2

--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Florian Quèze 735050d760 Bug 1339432 - Ship GfxSanityTest only on Windows, r=Mossop. 2017-02-16 00:13:09 +01:00
Jared Wein 43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein ecab54a7c9 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje

--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein 7255df4e9a Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR

--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dave Townsend c5bb304fd9 Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm

--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend 0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mark Banner 7d81bfea9f Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
MozReview-Commit-ID: 8svkCKZHxsq

--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Jared Wein c9627dfdcd Backout patch for bug 1211647 to allow more time for investigating startup hang/crash on debug builds. r=me
MozReview-Commit-ID: CuG6yjUFQIt
2016-05-25 00:15:49 -04:00
Jared Wein 9753833148 Bug 1211647 - Runtime graphics testing window should not be visible after update. r=mchang
MozReview-Commit-ID: 46Bi2eW5NB5
2016-05-24 10:35:44 -04:00
Mason Chang 3ac624c914 Backed out bug 1211647 changeset 3c11b1d79787 due to potential crashes. r=me 2016-04-28 19:34:27 -04:00
Jared Wein 8be77d1f4f Bug 1211647 - Runtime graphics testing visible during session restore. r=mchang
MozReview-Commit-ID: 46Bi2eW5NB5

--HG--
extra : amend_source : 33fa624f98cac2a888ab7dca3207beb2f35c99d0
extra : transplant_source : %FE%E24%EAm%BC%22%F97%7B%3B%F6%BA%E7%F7%04%07x%BF%86
2016-04-28 13:14:22 -04:00
Ben Kelly b2bac70eb2 Bug 1268065 Clean up various references to avoid leaking gfxsanity.html window. r=mchang 2016-04-28 01:47:47 -07:00
Chris Pearce 6c673ed850 Bug 1254942 - Redo sanity check whenever buildId changes. r=mchang
MozReview-Commit-ID: 826Mt89OuPp
2016-03-10 15:01:58 +13:00
Dave Townsend 0a6414b898 Bug 1245649: Turn on no-trailing-spaces. r=Gijs
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Carsten "Tomcat" Book 08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
David Anderson 5e18aa3879 Fix exception on timeout in SanityTest.js, and increase the timeout time. (bug 1205819, r=mchang) 2015-09-18 18:37:57 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
David Anderson ad844728eb Add a timeout to the graphics sanity test. (bug 1195623, r=mchang)
--HG--
extra : rebase_source : f4fe8945cf0269389ca9a9cfbe75aea72eb6f3fb
2015-09-03 20:58:48 -07:00
David Anderson f0988d185f Backout changeset 3b7d72e5e850 (bug 1196128, r=vladan)
--HG--
extra : rebase_source : 5a7190e6298ae49dc6f6afe12767a6f66c42556f
2015-08-24 23:20:30 -04:00
David Anderson b0b3d88c1e When the sanity test fails, report its snapshot via Telemetry. (bug 1194505, r=mattwoodrow,vladan) 2015-08-13 17:51:31 -07:00
David Anderson 400d31d791 Fix a typo in SanityTest.js causing skewed Telemetry data. (bug 1191613, r=mchang) 2015-08-06 13:07:36 -07:00