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

152 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 7b7264f453 Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
MozReview-Commit-ID: 9APGewiDDYB

--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Gabriel Luong e18a43e435 Bug 1192642 - Add a left host type for the toolbox. r=pbro 2018-06-07 12:45:53 -04:00
Mark Banner 7b90b63d69 Bug 1465385 - Enable ESLint rule require-expected-throws-or-rejects for browser/. r=MattN
MozReview-Commit-ID: GoVFNM7CFDu

--HG--
extra : rebase_source : f1e9bfdaa1396b2ce27ee499fc547f239ca132a9
2018-05-30 11:50:45 +01:00
Kris Maglione 1e03e83e35 Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq

--HG--
extra : rebase_source : 7766537d472ae8d6a25c4c824a50c0bb6bc49865
2018-05-12 16:49:35 -07:00
Kris Maglione 877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Michael Kohler 4c381de5f6 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD

--HG--
extra : rebase_source : 0ba78e764ea2c77ecaafcd35a502940ea1a37ac2
2018-04-09 20:46:45 +02:00
Paolo Amadini 0209c5b614 Bug 1444392 - Part 3 - Simplify the PanelUI.show method. r=Gijs
In addition to removing the unnecessary return value and the logic that may anchor the panel to anything other than the main menu button, this also fixes the asynchronous error handling.

MozReview-Commit-ID: KaUKYUhrUoc

--HG--
extra : rebase_source : 25dd26a850654c9c6762dc41dc0ac7ae3f0199eb
extra : amend_source : 74c9a5dd5fed72e7afd8e4028eef9e8cea00a17a
extra : source : 3ee2aed561555aecd1349412e9ccc228b7c91f3b
2018-04-04 11:34:49 +01:00
Dão Gottwald e71fb1aa39 Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 7oQrfiK0FRa

--HG--
extra : rebase_source : dcaeae1f53682531709bd8333cdf38a0a7e21298
2018-03-27 23:34:23 +02:00
Tooru Fujisawa 1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Mark Banner 0722fe3ee3 Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
MozReview-Commit-ID: IVMeZHGdVBk

--HG--
extra : rebase_source : 0705e96256baf6dc82811297058aa1d820b2f119
2018-03-06 12:01:59 +00:00
Mark Banner 6afe18b30a Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
MozReview-Commit-ID: HmliR8iNRDq

--HG--
extra : rebase_source : 483ae0b54b9e781cceac2accdfb2255d725ace6a
2018-02-22 16:55:36 +00:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Johann Hofmann f2c5d2f4ff Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm

--HG--
extra : rebase_source : 7046240e28ac035f839d80d88e50d7522d2cef5b
2018-02-19 23:02:33 +01:00
Paolo Amadini 7a2372af52 Bug 1439358 - Part 7 - Close the main view synchronously before opening it in a different panel. r=Gijs
This also updates the AppMenu mozscreenshots module to work with the Photon main menu.

MozReview-Commit-ID: FciQH815F95

--HG--
extra : rebase_source : 5c129b0d4aa824bbe899066f2bb197106d1c0408
2018-02-22 11:25:10 +00:00
Timothy Guan-tin Chien a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08:00
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
Matthew Noorenberghe 7e4ebd508a Bug 1431394 - Follow-up lint fix and comment re-order. r=bustage
--HG--
extra : histedit_source : 28f212b9c8c4411a6d03faddc8be8af5a4bdf18c
2018-01-22 18:13:27 -08:00
Edan Reynolds e8281edb09 Bug 1431394 - requestCompleteLog so mozprocess knows we're still alive for the long session. r=MattN 2018-01-23 15:30:17 +11:00
grenewode cc1dd65f18 Bug 1420733 - Adds support for skipping a configuration and correctly handling other exceptions. r=jaws.
MozReview-Commit-ID: FlvEw5I4bFn

--HG--
extra : rebase_source : 6176970fb654f07015a418f4b1f16324448e820a
2018-01-16 12:35:27 -08:00
Matthew Noorenberghe 65b717e2b0 Bug 1425394 - requestCompleteLog for browser_primaryUI.js to see if it fixes timeouts. r=intermittent
--HG--
extra : rebase_source : fffe257fc6eb5d2dd31f930dbac1059059909bff
2018-01-16 09:36:21 -08:00
Fischer.json 7455cf7705 Bug 1427973 - Should track the origins of `openPreferences` from mozscreenshots and urlbarBindings.xml, r=jaws
MozReview-Commit-ID: KH0secI5Ab2

--HG--
extra : rebase_source : d25ba76f368952a010bb2460e78aa17ff4079d59
2018-01-04 17:24:40 +08:00
Cameron McCormack afa1299635 Bug 1427419 - Part 24: Move pseudo-class lock methods from inIDOMUtils to InspectorUtils. r=bz
MozReview-Commit-ID: ItruGMmf5Ih
2018-01-11 12:38:01 +08:00
Johann Hofmann 84c3bfe4ba Bug 1414741 - Hide identity popup shadow using a class name instead of setting inline styles. r=MattN
I'm not sure why, but the -moz-window-shadow property seems to be restricted
to chrome style sheets (it may be related to the work done in bug 1069192, but
I decided to stop going down that rabbit hole at some point and just go for a
simple fix).

MozReview-Commit-ID: Ho4xGLTcFN7

--HG--
extra : rebase_source : e8a6707abd621928752211adaf08b880e54eefb4
2017-12-21 09:36:28 +01:00
arthur.iakab 373adc6f0d Merge Inbound to mozilla-central r=merge a=merge 2017-12-22 00:19:24 +02:00
Matthew Noorenberghe 6a581383c3 Bug 1425502 - Disable macOS notification center UI before starting mozscreenshots. r=jmaher,johannh
MozReview-Commit-ID: GfvhQISwLZN

--HG--
extra : rebase_source : 67ee636cc9366ea096eb22aa27e4fcd564f84243
2017-12-21 00:13:16 -05:00
Johann Hofmann 85062d9171 Bug 1381817 - Scroll tabstrip to the beginning in mozscreenshots twoPinnedWithOverflow config. r=MattN
MozReview-Commit-ID: 9NCRXVkcU6s

--HG--
extra : rebase_source : 635e14106ea9f633319079ecf89ba4fe1b8ce8c3
2017-12-16 16:29:06 -05:00
Matthew Noorenberghe 4469f2c068 Bug 1417603 - Use GECKO_HEAD_REPOSITORY to determine if mozscreenshots should be uploaded. r=me
MOZ_SOURCE_REPO only works on Linux
2017-12-21 00:55:53 -05:00
Matthew Noorenberghe 5df92b93f9 Bug 1417603 - Don't upload mozscreenshots on integration branches. r=johannh
MozReview-Commit-ID: Cx8n68j22nL

--HG--
extra : rebase_source : 9171db7136bea7789b9e102045bc9392cbb549f0
2017-12-15 13:38:39 -06:00
Jared Wein a279f98090 Bug 1425358 - Wait for all tab titles to be displayed in Tabs.jsm before taking screenshots. r=MattN
MozReview-Commit-ID: G4gDBezgdEd

--HG--
extra : rebase_source : f81a7b99ff27c34eb69855a15872669c928fd118
2017-12-14 16:59:46 -06:00
Cosmin Sabou a96447bf57 Backed out changeset fd98493f58fa (bug 1425358) screenshot failures at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js r=backout on a CLOSED TREE 2017-12-15 21:26:46 +02:00
Jared Wein 883db571f5 Bug 1425294 - Use a hardcoded background color for mozscreenshots so the APNG will not have transparency. r=MattN
MozReview-Commit-ID: CUwTQdXPBg6

--HG--
extra : rebase_source : ad8fccd68da35132e93052148cf289a83ca13d1c
2017-12-14 13:42:56 -06:00
Jared Wein 204b5d9ef6 Bug 1425358 - Wait for all tab titles to be displayed in Tabs.jsm before taking screenshots. r=MattN
MozReview-Commit-ID: G4gDBezgdEd

--HG--
extra : rebase_source : 8a918cc7581a8b0a7d74719c9d0546d3d07f7a0f
2017-12-14 16:59:46 -06:00
Matthew Noorenberghe 50ea6297fb Bug 1425349 - Fix mozscreenshots logging where multiple log arguments were used. r=johannh
MozReview-Commit-ID: LW8vNkBYTGx

--HG--
extra : rebase_source : 201508c48d2d5fc5816d776d89e9f7fe4eee386e
2017-12-14 16:34:39 -06:00
Margareta Eliza Balazs 31d6374e80 Backed out changeset 950963c8a8e1 (bug 1425294) for failing ss in browser/tools/mozscreenshots/browser_screenshots_cropping.js r=backout on a CLOSED TREE 2017-12-15 09:35:16 +02:00
Jared Wein 5d284a763f Bug 1425370 - Fix DPI scaling for mozscreenshots. r=MattN
MozReview-Commit-ID: LjmcLImLx0d

--HG--
extra : rebase_source : 8233c260892c77456f9d6e1e8f0786b2984aaa05
2017-12-14 17:44:37 -06:00
Johann Hofmann 97644c30a1 Bug 1414741 - Disable control center shadow in mozscreenshots. r=MattN
MozReview-Commit-ID: FLyfMIaMloT

--HG--
extra : rebase_source : 1a2755b66f95ec8f1a6a000d22ed52a2103c3419
2017-12-14 10:40:38 -06:00
Jared Wein eaae914ec1 Bug 1425294 - Use a hardcoded background color for mozscreenshots so the APNG will not have transparency. r=MattN
MozReview-Commit-ID: CUwTQdXPBg6

--HG--
extra : rebase_source : 72434545e8136e93072a9a24fad6c7101289c6c2
2017-12-14 13:42:56 -06:00
Masatoshi Kimura 295faed3f9 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1

--HG--
rename : browser/modules/E10SUtils.jsm => toolkit/modules/E10SUtils.jsm
extra : rebase_source : 0920ce818773af797a0daf3cf4ae90af41d71d2a
2017-12-12 21:35:16 +09:00
grenewode 77b0fc82d9 Bug 1419840 - Draws rectangles for elements rather than the union of the selected regions. r=jaws.
Also adds new & updated test cases to browser_screenshots_cropping.js and browser_boundingbox.js

MozReview-Commit-ID: 46RSMb7DRg5

--HG--
extra : rebase_source : 43783e2c11d7b0e7f0cd2534a5b2cf18ff6780b8
2017-11-26 12:39:55 -05:00
grenewode 39d077ca3c Bug 1412357 - Added mochitest asserts + logging to TestRunner.jsm. r=mconley
Moved the call to TestRunner.initTest to head.js so that it only needs to be called once.
Also, TestRunner._findBoundingbox now throws exceptions instead of returning null, which makes debugging and testing easier.

MozReview-Commit-ID: LpJmEL3CfKd

--HG--
extra : rebase_source : f54f5aa295062cf41ce901cfdaa4e26dd52cf982
2017-11-11 18:55:53 -05:00
Robin Miller 189e35c016 Bug 1403686 - Crops screenshots to a region based on a selector. Initial Impl of cropping with Chris Cho. r=jaws
Can now crop screenshots to a given list of XUL elements, which is specified by CSS selectors or custom functions.
Also changed behavior so that if different window types are given, the application exits.

MozReview-Commit-ID: CqmIJFufONw

--HG--
extra : rebase_source : ede33b1c25a8507cdc6abcc6f4bc697e3acd9f0d
2017-10-14 17:00:37 -04:00
Brindusan Cristian 9a077dca00 Backed out changeset da9706e0d3c2 (bug 1403686) for ESlint failures on browser_screenshots_cropping.js r=backout on a CLOSED TREE 2017-11-20 21:19:56 +02:00
Robin Miller 4682a8d278 Bug 1403686 - Crops screenshots to a region based on a selector. Initial Impl of cropping with Chris Cho. r=jaws
Can now crop screenshots to a given list of XUL elements, which is specified by CSS selectors or custom functions.
Also changed behavior so that if different window types are given, the application exits.

MozReview-Commit-ID: CqmIJFufONw

--HG--
extra : rebase_source : ae0f9c3b2ba8d179d9cbccbc43043655247841b6
2017-10-14 17:00:37 -04:00
Tom Ritter d38adaf1d5 Bug 1411742 Remove all references to media.getusermedia.screensharing.allowed_domains as we have removed all uses of it in the code r=jib
MozReview-Commit-ID: 7lziGDZZ3E4

--HG--
extra : rebase_source : 16e48a6f57fe4c8a05f386db68de01e42ae1e0bb
2017-10-26 11:46:37 -05:00
Joel Maher eb7c7c286f Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00