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
This also updates the AppMenu mozscreenshots module to work with the Photon main menu.
MozReview-Commit-ID: FciQH815F95
--HG--
extra : rebase_source : 5c129b0d4aa824bbe899066f2bb197106d1c0408
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
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
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
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
Also adds new & updated test cases to browser_screenshots_cropping.js and browser_boundingbox.js
MozReview-Commit-ID: 46RSMb7DRg5
--HG--
extra : rebase_source : 43783e2c11d7b0e7f0cd2534a5b2cf18ff6780b8
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
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
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
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
--HG--
extra : rebase_source : 9b8ce0c3fc044403064676c02f810c9258e85ee4
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
--HG--
extra : rebase_source : 7cdc7c4ce62959930c55491b277923b372929bc6