Commit Graph

147 Commits

Author SHA1 Message Date
Michael Kohler
9124ea03a3 Bug 1428306 - Remove browser.storageManager.enabled pref r=baku,johannh
MozReview-Commit-ID: GodyYuGxVD
2018-04-09 20:46:45 +02:00
Paolo Amadini
959218fdcb 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
2018-04-04 11:34:49 +01:00
Dão Gottwald
dcc8113e58 Bug 1448482 - Remove <title> element from about:privatebrowsing since tabbrowser already sets the title. r=Gijs
MozReview-Commit-ID: 7oQrfiK0FRa
2018-03-27 23:34:23 +02:00
Tooru Fujisawa
f415c74b57 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
29e56bce9b 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
2018-03-06 12:01:59 +00:00
Mark Banner
910da570a0 Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
MozReview-Commit-ID: HmliR8iNRDq
2018-02-22 16:55:36 +00:00
Florian Quèze
f1a55f73f8 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
09a13cb7f5 Bug 1436568 - Make "clear your recent history" a button instead of a link. r=nhnt11
MozReview-Commit-ID: 1KDXu9OtmHm
2018-02-19 23:02:33 +01:00
Paolo Amadini
3480d5905c 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
2018-02-22 11:25:10 +00:00
Timothy Guan-tin Chien
f08391ee76 Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu
2018-01-27 15:57:42 +08:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Matthew Noorenberghe
b41a1febf3 Bug 1431394 - Follow-up lint fix and comment re-order. r=bustage 2018-01-22 18:13:27 -08:00
Edan Reynolds
750aeecbe8 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
614316b58c Bug 1420733 - Adds support for skipping a configuration and correctly handling other exceptions. r=jaws.
MozReview-Commit-ID: FlvEw5I4bFn
2018-01-16 12:35:27 -08:00
Matthew Noorenberghe
1e5ca48a43 Bug 1425394 - requestCompleteLog for browser_primaryUI.js to see if it fixes timeouts. r=intermittent 2018-01-16 09:36:21 -08:00
Fischer.json
88d1298e2b Bug 1427973 - Should track the origins of openPreferences from mozscreenshots and urlbarBindings.xml, r=jaws
MozReview-Commit-ID: KH0secI5Ab2
2018-01-04 17:24:40 +08:00
Cameron McCormack
5bbb806236 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
1c790dccd2 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
2017-12-21 09:36:28 +01:00
arthur.iakab
08f57423e3 Merge Inbound to mozilla-central r=merge a=merge 2017-12-22 00:19:24 +02:00
Matthew Noorenberghe
cbc4120e45 Bug 1425502 - Disable macOS notification center UI before starting mozscreenshots. r=jmaher,johannh
MozReview-Commit-ID: GfvhQISwLZN
2017-12-21 00:13:16 -05:00
Johann Hofmann
1ca5bd725f Bug 1381817 - Scroll tabstrip to the beginning in mozscreenshots twoPinnedWithOverflow config. r=MattN
MozReview-Commit-ID: 9NCRXVkcU6s
2017-12-16 16:29:06 -05:00
Matthew Noorenberghe
1fa7a20eac 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
c4bcfe4277 Bug 1417603 - Don't upload mozscreenshots on integration branches. r=johannh
MozReview-Commit-ID: Cx8n68j22nL
2017-12-15 13:38:39 -06:00
Jared Wein
2503eb872b Bug 1425358 - Wait for all tab titles to be displayed in Tabs.jsm before taking screenshots. r=MattN
MozReview-Commit-ID: G4gDBezgdEd
2017-12-14 16:59:46 -06:00
Cosmin Sabou
eb60a42521 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
ddd1b7b796 Bug 1425294 - Use a hardcoded background color for mozscreenshots so the APNG will not have transparency. r=MattN
MozReview-Commit-ID: CUwTQdXPBg6
2017-12-14 13:42:56 -06:00
Jared Wein
9a87c7f082 Bug 1425358 - Wait for all tab titles to be displayed in Tabs.jsm before taking screenshots. r=MattN
MozReview-Commit-ID: G4gDBezgdEd
2017-12-14 16:59:46 -06:00
Matthew Noorenberghe
aec86b3a34 Bug 1425349 - Fix mozscreenshots logging where multiple log arguments were used. r=johannh
MozReview-Commit-ID: LW8vNkBYTGx
2017-12-14 16:34:39 -06:00
Margareta Eliza Balazs
a78b8cfd9b 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
172cfe777f Bug 1425370 - Fix DPI scaling for mozscreenshots. r=MattN
MozReview-Commit-ID: LjmcLImLx0d
2017-12-14 17:44:37 -06:00
Johann Hofmann
61262341ed Bug 1414741 - Disable control center shadow in mozscreenshots. r=MattN
MozReview-Commit-ID: FLyfMIaMloT
2017-12-14 10:40:38 -06:00
Jared Wein
dfe6dd752b Bug 1425294 - Use a hardcoded background color for mozscreenshots so the APNG will not have transparency. r=MattN
MozReview-Commit-ID: CUwTQdXPBg6
2017-12-14 13:42:56 -06:00
Masatoshi Kimura
1dfecd5932 Bug 1418914 - Move E10SUtils.jsm into toolkit/. r=mossop
MozReview-Commit-ID: EgDzEEKAeh1
2017-12-12 21:35:16 +09:00
grenewode
40adfc9c2e 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
2017-11-26 12:39:55 -05:00
grenewode
0a0e9f22f6 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
2017-11-11 18:55:53 -05:00
Robin Miller
aeb43416e3 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
2017-10-14 17:00:37 -04:00
Brindusan Cristian
6627b2d6ae 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
0688a3780c 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
2017-10-14 17:00:37 -04:00
Tom Ritter
66676d1e2e 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
2017-10-26 11:46:37 -05:00
Joel Maher
8889824005 Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00
Rand Mustafa
826a1c3279 Bug 1416796 - Add UI densities configuration to a default set r=mconley.
MozReview-Commit-ID: 9LQ8DdzNodN
2017-11-13 13:33:58 -05:00
Brian Grinstead
64106e8f4e Bug 1403977 - Show taller toolbox for tool-specific screenshots;r=MattN
MozReview-Commit-ID: 27O0YDdFbzr
2017-11-10 15:12:53 -08:00
Margareta Eliza Balazs
a7871bc057 Backed out changeset fd1ee37cb15c (bug 1403686) for failing ss in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js r=backout on a CLOSED TREE 2017-11-07 21:07:11 +02:00
Robin Miller
36ab69e242 Bug 1403686 - Crops screenshots to a region based on a selector. r=jaws
Can now crop screenshots properly, for basic cases.
Also changed behavior so that if different window types are given, the application exits.

MozReview-Commit-ID: CqmIJFufONw
2017-10-14 17:00:37 -04:00
Coroiu Cristina
6e957adc76 Backed out changeset d3ed36f4fb7a (bug 1403686) for failing xpcshell on browser/tools/mozscreenshots/tests/xpcshell/test_testConfigurations.js r=backout on a CLOSED TREE 2017-11-06 20:59:15 +02:00