This patch removed the border and outline from focus style of tool tab and make
its style to be same as hover styles.
MozReview-Commit-ID: KD97vYiyUX2
--HG--
extra : rebase_source : 83fd2d5b743ac8488c711e98e316a39e9c8be30f
The previous implementation treated any zero coordinate as pixels,
regardless of its unit type. For example, 0% would be converted to 0px.
This changed the shape value resulting in unintentional unit mismatch
after editing a coordinate which started off as 0% or 0em or 0vh, etc.
This patch fixes that and preserves the unit type for zero coordinates.
It changes the implementation of isUnitless() to return false for values
like 0%, 0px, 0em, 0.00000%, etc.
It introduces getUnitToPixelRatio() to get the ratio by which to
multiply a pixel value to convert it to the given unit during shape
editing operations (point move, scale, translate, rotate, etc.)
The ratio is constant by unit type. Previously, this ratio was
calculated in-place for each unit value. Values which started as zero,
always resulted in a ratio equal to zero. This multiplied with a pixel
value resulted zero. So the previous code defaulted to ratio of 1 when
the ratio was zero, but this meant that a 1:1 ratio between pixels and
another unit type (%, em, vh) would result in disproportionate
shape changes (1px of mouse travel would result in 1em). This is why
isUnitless() originally discarded the original unit from a zero
coordinate and replaced it with pixels; to account for this fallback
ratio of 1.
MozReview-Commit-ID: 49tyLfYjkLO
This was done using the script at:
bc5629735d/processors/add-task-async.jsm?at=default&fileviewer=file-view-default
MozReview-Commit-ID: KxuS9Cen87
--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
The previous implementation treated any zero coordinate as pixels,
regardless of its unit type. For example, 0% would be converted to 0px.
This changed the shape value resulting in unintentional unit mismatch
after editing a coordinate which started off as 0% or 0em or 0vh, etc.
This patch fixes that and preserves the unit type for zero coordinates.
It changes the implementation of isUnitless() to return false for values
like 0%, 0px, 0em, 0.00000%, etc.
It introduces getUnitToPixelRatio() to get the ratio by which to
multiply a pixel value to convert it to the given unit during shape
editing operations (point move, scale, translate, rotate, etc.)
The ratio is constant by unit type. Previously, this ratio was
calculated in-place for each unit value. Values which started as zero,
always resulted in a ratio equal to zero. This multiplied with a pixel
value resulted zero. So the previous code defaulted to ratio of 1 when
the ratio was zero, but this meant that a 1:1 ratio between pixels and
another unit type (%, em, vh) would result in disproportionate
shape changes (1px of mouse travel would result in 1em). This is why
isUnitless() originally discarded the original unit from a zero
coordinate and replaced it with pixels; to account for this fallback
ratio of 1.
MozReview-Commit-ID: 49tyLfYjkLO
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.
MozReview-Commit-ID: Fo0jn7Cldep
--HG--
extra : rebase_source : 63195bbd49a306c2ede41db1de1a691be4eeb5f3
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.
MozReview-Commit-ID: Ccnmp3dCZpW
--HG--
extra : rebase_source : ce2f5ec4e0af884a99a91ab4bfc1048f893416a8
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.
MozReview-Commit-ID: Fo0jn7Cldep
--HG--
extra : rebase_source : 9eec21b64d5c7b7bd4372d3cf6bb561092af7c08
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.
MozReview-Commit-ID: Ccnmp3dCZpW
--HG--
extra : rebase_source : ce0e1f1c8521a37fed2702b3b350a692aab0fee5
Basic icon to display something while we wait for a better icon to replace
it.
MozReview-Commit-ID: 2BT6jqLrd95
--HG--
extra : rebase_source : a8d725f2f1bd49fdb2c2418b19baa0ac3b54afd0
Basic icon to display something while we wait for a better icon to replace
it.
MozReview-Commit-ID: 2BT6jqLrd95
--HG--
extra : rebase_source : a8d725f2f1bd49fdb2c2418b19baa0ac3b54afd0
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.
Set devtools.application.enabled to true to enable it.
MozReview-Commit-ID: L5PXZVDCRlF
--HG--
extra : rebase_source : 465dd27241e81ee2f35794ce01cf0d06939e58f6
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.
Set devtools.application.enabled to true to enable it.
MozReview-Commit-ID: L5PXZVDCRlF
--HG--
extra : rebase_source : 465dd27241e81ee2f35794ce01cf0d06939e58f6
Bug 1444301 moved the noautohide button to the meatball menu so we no longer to
worry about filtering it out in browser_toolbox_options_disable_buttons.js.
MozReview-Commit-ID: 5fp4FDxbc6o
--HG--
extra : rebase_source : bbc030bd3743e9c3fc8d8d2c32a6b89da4b87765
Otherwise when we add the frames button the arrow on the right will animate in
since we end up transitioning the background-x and background-y properties.
MozReview-Commit-ID: JcAHrDSMwFi
--HG--
extra : rebase_source : 57a69dfa2a39b4bbae334405f3dc1858cb2c591c
This feature introduced in bug 1036949 is not longer used as it was designed for XUL add-ons.
The setFormProperty method was prevently Node's form from getting correctly
serialized between processes.
MozReview-Commit-ID: AiNnHSkwsEM
--HG--
extra : rebase_source : cf12f05f1de49a37a5d8ff694ef448f452f55a06
Changes:
1. The change in telemetry.js avoids an issue with overwriting pending properties.
2. The test in telemetry.md has been updated now that we have a working test.
3. Added the actual toolbox.close telemetry event and test.
MozReview-Commit-ID: 9fOCkwCCwDx
--HG--
extra : rebase_source : 55028edf836af62c25ae603675de0b3f5189f43e
This patch makes sure the feature of filtering Unicode strings and Unicode
filenames works correctly by adding mochitests so that we don't regress for
fixing this bug.
MozReview-Commit-ID: GtWbA8ZEwQ3
--HG--
extra : rebase_source : b6271c108334b64236136c2b852d5217d6eb99ed
RDM frames with their custom message manager hadn't exposed a value for
`processMessageManager`. This was just a oversight.
By adding this value, we get a working Browser Content Toolbox for RDM tabs.
MozReview-Commit-ID: 95QskEMKgZK
--HG--
extra : rebase_source : 5259800f64afe55ee5bca29492f6f33efcfd458c
This patch adds some unit tests for the common Unicode-URL related functions
defined in Part 1.
MozReview-Commit-ID: 2juTaanghnN
--HG--
extra : rebase_source : 25449943d2091cbdb9cfaa00024577254ad2e280
The Punycode-encoded international domain names and URI-encoded filenames are
human-unreadable, so they should be displayed as human-readable Unicode text.
This commit decodes this kind of names in the Developer Toolbox's frame menu.
MozReview-Commit-ID: LGzw31z05OD
--HG--
extra : rebase_source : fba5cd9a4e78c9e6206c15fc3d858845b3d3c007
The Punycode-encoded international domain names are human-unreadable, so they
should be displayed as human-readable Unicode text. This commit decodes this
kind of names in the Storage Inspector.
MozReview-Commit-ID: Agc03rliZ8q
--HG--
extra : rebase_source : 816fbd8170b2cf14dd7a84db791b530e595a68db
The Punycode-encoded international domain names are human-unreadable, so they
should be displayed as human-readable Unicode text. This commit decodes this
kind of names in the Network Monitor.
MozReview-Commit-ID: HlGOVZi1lIm
--HG--
extra : rebase_source : a2107c5b08c9cbda1e80db2a9542af05987c0f74
The Punycode-encoded international domain names and URI-encoded filenames are
human-unreadable, so they should be displayed as human-readable Unicode text.
This commit decodes this kind of names in the Web Console.
MozReview-Commit-ID: 8AVLkdaQOh6
--HG--
extra : rebase_source : 947c126f1d0d86efc6bba71447cf54ef486e2fdc
This patch defines some common functions for getting a Unicode URL or a Unicode
URL component.
These functions are not only intended to be used by future patches for this bug,
but also intended to be the common functions for any future patches which need
to reuse such functionalities.
MozReview-Commit-ID: DZBYoKv9Fmx
--HG--
extra : rebase_source : 4dd684a5c43fa49b3f07fce8bb162ab6f277b6b6