Commit Graph

637678 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
99549860f7 Bug 1529058 - Use Rust types from transform-origin / perspective-origin. r=mattwoodrow
Depends on D20381

Differential Revision: https://phabricator.services.mozilla.com/D20382

--HG--
extra : moz-landing-system : lando
2019-02-19 20:28:47 +00:00
Emilio Cobos Álvarez
c4ae51b99d Bug 1529058 - Use Rust types for perspective and z-index. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D20381

--HG--
extra : moz-landing-system : lando
2019-02-19 23:04:45 +00:00
Emilio Cobos Álvarez
a59f4ed1fb Bug 1528914 - Tidy the relationship between the doc shell and the pres context. r=qdot
Make it always forward to the document's docshell. We rely on it being setup by
the time our stuff runs, and we cannot have multiple pres contexts per document
in different docshells anymore.

This allows me to also move some state to the document (about whether it's
currently loaded in a chrome docshell (nsPresContext::mIsChrome) and whether
it's a chrome origin image (nsPresContext::mIsChromeOriginImage), which will
help for bug 1490401 / bug 1418159.

The pres context already relies on having the docshell available on `Init` and
we don't properly handle dynamic changes to it.

The reason I store some state like whether the doc URI is chrome:// and whether
we're in a chrome docshell is not (only) to avoid recomputing it over and over,
but also to allow me to read them from Stylo (main-thread blocked, but poke at
that from multiple non-main-threads).

Differential Revision: https://phabricator.services.mozilla.com/D20301

--HG--
extra : moz-landing-system : lando
2019-02-19 22:53:40 +00:00
Coroiu Cristina
695a8e0608 Backed out changeset 3762aa77369f (bug 1529089) for build bustage at build/src/js/src/vm/GeckoProfiler-inl.h 2019-02-20 00:55:15 +02:00
Luke Wagner
72d2424af4 Bug 1401675 - Baldr: remove some unneeded header dependencies (r=lth)
--HG--
extra : rebase_source : 0e3624ef80dccf41b57545f89539b451dc269dcf
2019-02-19 14:28:35 -06:00
Luke Wagner
df3ea1382b Bug 1401675 - Baldr: simplify how function bodies end (r=lth)
--HG--
extra : rebase_source : 419677654d23ba47ba7ce26472cab50826586850
2019-02-19 14:28:06 -06:00
Luke Wagner
4ad201c574 Bug 1401675 - Baldr: factor popWithType() (r=lth)
--HG--
extra : rebase_source : 7f5b76da18efe10c24bf72af697ad4dc9d8f51ec
2019-02-19 14:27:42 -06:00
Glenn Watson
9314a751d7 Bug 1491929 - Text is rasterized at the wrong resolution. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D20276

--HG--
extra : moz-landing-system : lando
2019-02-19 20:25:40 +00:00
Ehsan Akhgari
9303aacdc6 Bug 1529089 - Initialize spBefore_ even if profiler_ will be set to nullptr; r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D20405

--HG--
extra : moz-landing-system : lando
2019-02-19 21:23:04 +00:00
Glenn Watson
702c53489e Bug 1528157 - Optimize GPU time for clip mask generation. r=kvark
On integrated GPUs, we are typically completely bound by memory
bandwidth and the number of pixels that get written / blended.

On real world pages, it's often the case that we end up with
clip tasks that are long in one dimension but not the other, due
to box-shadow edges, clip mask segments etc. When this occurs,
the logic that tries to get a small 'used_rect' to clear targets
to fails, since the union of those ends up being a very large
rect that covers (most of) the surface. This can cost a lot of
GPU time on some integrated chipsets.

Instead, it appears to be much faster to issue multiple clears,
one for each clip mask region, which is typically < 10% of the
surface we were clearing previously.

However, we can also restore an old optimization we used to have
which means we can skip clears altogether in the common case. The
first mask in a clip task will write to all the pixels in the mask,
so we can draw that with blending disabled (also a significant win
on integrated GPUs) and skip the clear in these cases. With this
functionality in place, the multiplicative blend mode is only
enabled for any clips other than the first in a mask (this is
quite a rare case - most clip tasks end up with a single mask).

On low end GPUs driving a 4k screen, I've measured GPU wins of up
to 5 ms/frame on some real world pages with this change.

Differential Revision: https://phabricator.services.mozilla.com/D19893

--HG--
extra : moz-landing-system : lando
2019-02-19 20:52:27 +00:00
Lee Salzman
7f5a1fd684 Bug 1525549 - use SkTypefaceCache::FindByProcAndRef to associate typefaces with fontconfig fonts. r=rhunt 2019-02-19 15:08:03 -05:00
Jason Laster
dc10e077be Bug 1528855 - fix eslint issue. r=noone CLOSED TREE 2019-02-19 14:57:09 -05:00
Robert Strong
92fd3ff189 Bug 1528570 - Add back test only return value of NS_tremove check. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D20112

--HG--
extra : moz-landing-system : lando
2019-02-19 19:43:06 +00:00
Jason Laster
e183b62aea Bug 1528855 - Update Debugger frontend (release 126). r=dwalsh 2019-02-19 14:24:06 -05:00
Jason Laster
1f67526a39 Bug 1528855 - [release 126] tweak source consolidation work. r=dwalsh 2019-02-19 14:24:03 -05:00
Brian Hackett
db7cd8f281 Bug 1528855 - [release 126] [Sources] Consolidate sources reducer (#7977). r=dwalsh 2019-02-19 14:24:01 -05:00
harshlele
b25e5d4306 Bug 1528855 - [release 126] Improve EventListener UI (#7937). r=dwalsh 2019-02-19 14:24:00 -05:00
David Walsh
f6c3269820 Bug 1528855 - [release 126] Fix 7947 - Show context menu when right-clicking directory (#7949). r=dwalsh 2019-02-19 14:23:58 -05:00
Jason Laster
b6b50e9ad8 Bug 1528855 - [release 126] [breakpoints Remove pause points and improve breakpoint positinos (#7922). r=dwalsh 2019-02-19 14:23:56 -05:00
Jason Laster
646f63b037 Bug 1528855 - [release 126] sync commits from mc (125). r=dwalsh 2019-02-19 14:23:54 -05:00
Jason Laster
9ef95d7378 Bug 1528855 - [release 126] [sync] Bug 1527122 - Update Debugger Frontend (Release 125). r=dwalsh. r=dwalsh 2019-02-19 14:23:52 -05:00
Jason Laster
c38251fd98 Bug 1528855 - [release 126] [sync] Bug 1518661 - Part 7: Update debugger server to use new getPossibleBreakpoints APIs. r=jlast. r=dwalsh 2019-02-19 14:23:51 -05:00
renovate[bot]
875fc8f94b Bug 1528855 - [release 126] Update dependency devtools-launchpad to ^0.0.149 (#7965). r=dwalsh 2019-02-19 14:23:49 -05:00
David Walsh
76af01c0ea Bug 1528855 - [release 126] Fix Bugzilla 1108132 - Provide code wrapping pref for debugger (#7959). r=dwalsh 2019-02-19 14:23:47 -05:00
Patrick Brosset
cbf1af98d0 Bug 1528855 - [release 126] Renaming our org name to firefox-devtools (#7961). r=dwalsh 2019-02-19 14:23:45 -05:00
Nicolas Chevobbe
0ebf0bf659 Bug 1528855 - [release 126] Fix Frames Group style. (#7960). r=dwalsh 2019-02-19 14:23:43 -05:00
Florens Verschelde
0bc5d729b8 Bug 1528855 - [release 126] Use different labels for start and end PaneToggleButtons (#7741) (#7935). r=dwalsh 2019-02-19 14:23:42 -05:00
Yura Zenevich
4cbcdcf61b Bug 1528855 - [release 126] Add better keyboard support for focusable elements inside ObjectInspector and Tree components (fixes #7874)(#7874). (#7875). r=dwalsh 2019-02-19 14:23:40 -05:00
derek-li
c2a1e9f290 Bug 1528855 - [release 126] Add black box option to context menu for source tree items and source header (#7812). r=dwalsh 2019-02-19 14:23:38 -05:00
renovate[bot]
64e543f6cd Bug 1528855 - [release 126] Update dependency devtools-launchpad to ^0.0.148 (#7943). r=dwalsh 2019-02-19 14:23:36 -05:00
Florens Verschelde
fa3ac149a5 Bug 1528855 - [release 126] Change editor line-height to 15px (#7929) (#7934). r=dwalsh 2019-02-19 14:23:34 -05:00
Florens Verschelde
75888cfa9f Bug 1528855 - [release 126] Use --theme-icon-* colors for all Debugger icons (#7743, #7936) (#7939). r=dwalsh 2019-02-19 14:23:33 -05:00
Jason Laster
e832e1d664 Bug 1528855 - [release 126] [sync] Bug 1524374 - Remove breakpoint actors, r=jlast.. r=dwalsh 2019-02-19 14:23:31 -05:00
Jason Laster
5e857fb4fa Bug 1528855 - [release 126] [sync] Bug 1526247 - Rename webconsole-output-wrapper; r=bgrins.. r=dwalsh 2019-02-19 14:23:29 -05:00
Jason Laster
610914c877 Bug 1528855 - [release 126] sync commits from release 125. r=dwalsh 2019-02-19 14:23:27 -05:00
Jason Laster
a19bea027a Bug 1528855 - [release 126] [sync] Bug 1527122 - Update Debugger Frontend (Release 125). r=dwalsh. r=dwalsh 2019-02-19 14:23:26 -05:00
Jason Laster
82a5c8f75c Bug 1528855 - [release 126] sync commits from release 125. r=dwalsh 2019-02-19 14:23:24 -05:00
Robert Strong
1806cac456 Bug 1528623 - Require the channel name from the update-settings.ini file when updating. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D20099

--HG--
rename : toolkit/mozapps/update/tests/unit_base_updater/marWrongChannel.js => toolkit/mozapps/update/tests/unit_base_updater/marMissingUpdateSettings.js
rename : toolkit/mozapps/update/tests/unit_base_updater/marWrongChannelStage.js => toolkit/mozapps/update/tests/unit_base_updater/marMissingUpdateSettingsStage.js
extra : moz-landing-system : lando
2019-02-19 16:56:05 +00:00
Karl Tomlinson
97ee4cb83c Bug 1528870 - Bug 1476053 add() to 'clear' set for --ignore-existing because append() does not exist r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D20246

--HG--
extra : moz-landing-system : lando
2019-02-19 10:01:48 +00:00
Drew Willcoxon
86ca1f263d Bug 1528430 - When both a suggestion result and a one-off button are selected, search with the suggestion, not what the user typed. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D20044

--HG--
extra : moz-landing-system : lando
2019-02-19 20:34:43 +00:00
Robin Templeton
30147be5a8 Bug 1528582 - Add DataView methods for BigInt access r=wingo,jwalden
Differential Revision: https://phabricator.services.mozilla.com/D20081

--HG--
extra : moz-landing-system : lando
2019-02-19 19:45:11 +00:00
Mathieu Leplatre
6192972883 Bug 1528979 - Fix loading of empty JSON dump in Remote Settings r=glasserc
Fix loading of empty JSON dump

Storing an empty JSON dump should prevent .get() to initiate a sync.

Differential Revision: https://phabricator.services.mozilla.com/D20352

--HG--
extra : moz-landing-system : lando
2019-02-19 16:41:20 +00:00
Dana Keeler
4b13e47e2f bug 1527372 - write out and shut down DataStorage all at once so that clearing on shutdown works properly r=Ehsan
In bug 1470918, a shared thread was introduced that did the reading/writing work
for all DataStorage instances. To ensure all state was written out at shutdown,
the original patch implemented a two stage strategy that in the first stage
queued an event for each DataStorage that would write out its contents and then
in the second stage ran these events to completion. This conflicted with how
Firefox's sanitization implementation would make sure that data was cleared at
shutdown, if requested by the user. If the DataStorage objects observed the
first shutdown notification before the sanitization implementation, the existing
data would be queued for writing and any further updates would be prevented.
Thus, when the sanitizer tried to clear data held by DataStorage instances,
nothing would happen and the data would be written to disk.

This patch fixes this issue by implementing DataStorage shutdown in a single
stage that can run after sanitization. Since sDataStorages knows of the
existence of every DataStorage, we can simply iterate through its entries, queue
write events for each one, and then run those events to completion in one pass.

This patch also fixes bug 1528019 (gDataStorageSharedThread could leak if
NS_NewNamedThread failed) because the fix is trivial and not worth handling in
an entirely separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D20034

--HG--
extra : moz-landing-system : lando
2019-02-19 20:20:37 +00:00
Markus Stange
034c0e5dab Bug 1527135 - Remove unnecessary EI_OSABI and EI_ABIVERSION checks. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D20069

--HG--
extra : moz-landing-system : lando
2019-02-19 20:10:56 +00:00
Eitan Isaacson
2ba937125b Bug 1525470 - Include description in accessible hints. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D19870

--HG--
extra : moz-landing-system : lando
2019-02-19 18:56:30 +00:00
Daniel Varga
dacf4477da Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-20 00:16:17 +02:00
Dorel Luca
44f23b0508 Backed out changeset 67fac975c2f8 (bug 1517210) for devtools failures in devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js. CLOSED TREE 2019-02-19 23:59:32 +02:00
Erica Wright
1910b868dd Bug 1522919 - Add basic telemetry for startup and control panel events for cryptomining and fingerprinting. r=johannh on a CLOSED TREE
Include a boolean reporting whether these prefs are enabled on startup. inlcude extra information when user interacts with the control panel reporting if anything is being blocked.

Differential Revision: https://phabricator.services.mozilla.com/D19843

--HG--
extra : source : 8ae2da51010e64e1c0a970acb0d2182796635f82
extra : histedit_source : d18fdb19d6dc58e83b32b50e1a468f6558842627
2019-02-19 19:22:38 +00:00
Coroiu Cristina
dee1f146c8 Backed out changeset f4094fd9e1df (bug 1517528) for mochitest failures on a CLOSED TREE 2019-02-19 22:25:55 +02:00
Coroiu Cristina
33a769d893 Backed out changeset 8ae2da51010e (bug 1522919) for mochitest failures on a CLOSED TREE 2019-02-19 22:24:02 +02:00