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

60 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
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
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 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
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
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
David Anderson d1fdca506f Annotate crash reports during the graphics sanity test. (bug 1181375 part 2, r=mchang)
--HG--
extra : rebase_source : 28b64c900a01345ed79d52cbdfebf9aa2275a97e
2015-07-10 19:44:30 -07:00
David Anderson b30b5ce071 Add telemetry for why the graphics sanity test chooses to run. (bug 1181375 part 1, r=mchang)
--HG--
extra : rebase_source : 78cba2765a097f969a16a18fd8f58af9f446cf9b
2015-07-10 19:44:25 -07:00
Carsten "Tomcat" Book ab18aa81af Backed out changeset 9278f620c078 (bug 1181375) for bustage
--HG--
extra : rebase_source : 287922d16f08c2b9dcab3cb9724fac8acc4cac54
2015-07-10 09:28:50 +02:00