Commit Graph

631708 Commits

Author SHA1 Message Date
Martin Stransky
0e01fab619 Bug 1490344 - [Linux/Gtk] Enable hidden system titlebar by default on Gnome, r=dao
This patch implements -moz-gtk-csd-hide-titlebar-by-default media query
to check if the system titlebar should be disabled by default on Linux systems
(it's already disabled on Window/Mac).

It also removes explicit definition of browser.tabs.drawInTitlebar preference on Linux.
When browser.tabs.drawInTitlebar is missing the -moz-gtk-csd-hide-titlebar-by-default
is used to obtain the titlebar state. When browser.tabs.drawInTitlebar is set
in about:config or by Customize menu, the user peference is used instead of the default.

It also fixes a -moz-gtk-csd-available media query,
it was always true regardless the actual system setting.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 14:47:03 +00:00
ui.manish
19e7ad0b3b Bug 1514300 - Remove unused defines in toolkit/themes/osx/global/shared.inc r=dao
Differential Revision: https://phabricator.services.mozilla.com/D16627

--HG--
extra : moz-landing-system : lando
2019-01-16 09:36:54 +00:00
Tim Nguyen
60d968c434 Bug 1491607 - Get rid of --in-content-category-text variable. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D5967

--HG--
extra : moz-landing-system : lando
2019-01-15 21:56:04 +00:00
Jan de Mooij
fb6b8ae778 Bug 1520129 - Remove redundant isSelfHostedBuiltin checks in GetFunctionThis / JSOP_FUNCTIONTHIS. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D16536

--HG--
extra : moz-landing-system : lando
2019-01-16 09:14:38 +00:00
Sylvestre Ledru
47a5dd1fb8 Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
ui.manish
0ebacc9129 Bug 1497827 Do not display EV labels instead of domains in site identity header r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16508

--HG--
extra : moz-landing-system : lando
2019-01-15 10:12:50 +00:00
Jan de Mooij
7471918d94 Bug 1520189 - Remove the ToWindowProxyIfWindow call in LexicalEnvironmentObject::thisValue; handle this in js::SetWindowProxy instead. r=luke
This simplifies LexicalEnvironmentObject::thisValue so it's easier to inline in JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:33:13 +00:00
Jan de Mooij
bd0805832f Bug 1520093 - Make evalcx work with same-compartment realms. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16530

--HG--
extra : moz-landing-system : lando
2019-01-15 20:03:43 +00:00
James Teh
487948a690 Bug 1514093 part 2: Marshal the result from IAccessible::get_accSelection as IEnumVARIANT. r=MarcoZ
Our accSelection implementation always returns an IUnknown which clients QI to IEnumVARIANT.
Marshaling as IUnknown works fine in this case, but it's more efficient and correct to marshal the correct interface.
Also, without this, we'd hit an assertion.

Depends on D16662

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:13:20 +00:00
James Teh
27ee39f62b Bug 1514093 part 1: A11y HandlerProvider: Don't write any payload at all (even an empty one) if the handler isn't used for the target interface. r=aklotz
We only use the handler for specific interfaces such as IAccessible* and IAccessibleHyperlink.
For interfaces which don't use the handler, we currently write an empty payload, but this still adds bytes to the stream.
This seems to break marshaling such an interface in a VT_UNKNOWN in a VARIANT.
To fix this, just don't write any payload at all when we aren't using the handler for the target interface.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 08:08:05 +00:00
Alex Chronopoulos
db69c1ddb2 Bug 1520174 - Update build files after dav1d import and add ASM build for Linux x86_32. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16563

--HG--
extra : moz-landing-system : lando
2019-01-16 07:50:17 +00:00
Alex Chronopoulos
0e1ed98938 Bug 1520174 - Update dav1d from upstream to f813285. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16562

--HG--
extra : moz-landing-system : lando
2019-01-16 00:05:25 +00:00
Mark Banner
1619ba50da Bug 1520336 - Removed unused 'where' parameter from BrowserSearch.recordOneoffSearchInTelemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16617

--HG--
extra : moz-landing-system : lando
2019-01-16 01:21:24 +00:00
Junior Hsu
0575720a12 Bug 1514065 - resume the bp-suspension if the divsersion starts r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D14361

--HG--
extra : moz-landing-system : lando
2019-01-16 00:57:11 +00:00
Carl Corcoran
19fbaf478f Bug 1518798: Treat SysWOW64 the same as the system directory in the untrusted modules ping r=aklotz
Under WOW64, the SysWOW64 directory is the effective system directory. A flag
has been added (ModuleTrustFlags::SysWOW64Directory) representing this
directory, and we now grant this the same trustworthiness as
ModuleTrustFlags::SystemDirectory.

Depends on D16013

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

--HG--
extra : moz-landing-system : lando
2019-01-14 23:53:13 +00:00
Carl Corcoran
46cb3715b2 Bug 1518490 Part 3/3: Send XUL load duration and module load duration via untrusted modules ping r=aklotz
This patch:
- Adds two new fields to the untrusted modules ping
- Updates documentation for the untrusted modules ping:
  - Documents these 2 new fields
  - Documents the new XUL ModuleTrustFlags bitfield value
  - Adds a "version history" section
  - Corrects documentation for ModuleTrustFlags (JIT, keyboard layouts)

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:30:54 +00:00
Carl Corcoran
9315656cb2 Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz
In order to help unify DLL timings across machines with different performance
characteristics, this change collects the load duration of xul.dll.

Because xul.dll is always loaded, it can serve as a control value for DLL load
times.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:28 +00:00
Carl Corcoran
63ba2c68d7 Bug 1518490 Part 1/3: Measure DLL load timings and pass into UntrustedModulesManager r=aklotz
This patch measures the duration of module loads and passes it up to
UntrustedModulesManager where, in later patches, it will be consumed by
telemetry.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 10:49:36 +00:00
Dzmitry Malyshau
90036e2a54 Bug 1519441 - WR fix scroll frame rectangle r=gw
This is a follow-up fix to https://github.com/servo/webrender/pull/3251
Accidentally, the reference frame relative offset was applied twice.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 14:49:59 +00:00
Dão Gottwald
909a355ab2 Bug 1512650 - Allow overriding actions like Switch to tab. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16541

--HG--
extra : moz-landing-system : lando
2019-01-16 14:27:36 +00:00
Robert Helmer
bee8cf15c9 Bug 1518728 - pass key length to libprio public key export function and use long long for output r=hsivonen
Depends on D16266

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

--HG--
extra : moz-landing-system : lando
2019-01-11 08:25:42 +00:00
Robert Helmer
03b8afc312 Bug 1518728 - update vendored libprio to 1.4 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D16266

--HG--
extra : moz-landing-system : lando
2019-01-14 23:50:08 +00:00
Daniel Varga
c4bdfad8bd Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-16 06:56:15 +02:00
Daniel Varga
55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Bobby Holley
e2dbdaa253 Bug 1506449 - Arc the glyph arrays for text runs. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D16630
2019-01-15 20:38:18 -08:00
Bobby Holley
126679ec70 Bug 1506449 - Use an Option<T> instead of Item<T> in DataStore. r=gw
This does two things:
* Ensures that the T gets dropped when the item is removal, which is
  important for the TextRunKey case where it holds heap memory.
* Eliminates the epoch handling while still ensuring that we panic on
  stale lookups.

We also remove the Item usage for local_data, but don't bother with the
Option in that case.

Differential Revision: https://phabricator.services.mozilla.com/D16629
2019-01-15 20:38:18 -08:00
Glenn Watson
cd78518c1a Bug 1520384 - Fix an invalidation bug and improve display list correlation. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16648

--HG--
extra : moz-landing-system : lando
2019-01-16 04:23:29 +00:00
Cameron McCormack
cc5d047c75 Bug 1519737 - Move pluginProblemBinding.css to the UA style sheet cache. r=emilio,timdream
Differential Revision: https://phabricator.services.mozilla.com/D16430

--HG--
rename : toolkit/pluginproblem/content/pluginProblemBinding.css => layout/style/res/pluginproblem.css
extra : moz-landing-system : lando
2019-01-16 03:37:43 +00:00
Chris Martin
31a8e2ccae Bug 1508312 - Add assert to catch accidental re-enter of Slim RW lock r=ccorcoran,aklotz
WindowsDllBlocklist installs a callback function that fires whenever a DLL
is loaded. The installer function shares an SRWLock with the callback
function.

SRWLock is not re-entrant, so if the installer function accidently causes a
DLL load before releasing the lock, the callback function will deadlock.

This occured trying to solve Bug 1402282, where the installer function used
"new" to allocate memory, which called the Win32 "RtlGenRandom()" function,
which loaded bcrypt.dll, which caused the callback to fire off, which tried
to lock the mutex that was already locked by the installer function.

Hopefully this will save another developer lots of debug time in the future by
turning a difficult-to-debug deadlock into a nice, loud assertion.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 01:21:16 +00:00
Dorel Luca
de46e66fcd Backed out changeset a85699150a8b (bug 1519737) for browser chrome failure in browser/base/content/test/static/browser_parsable_css.js
--HG--
rename : layout/style/res/pluginproblem.css => toolkit/pluginproblem/content/pluginProblemBinding.css
2019-01-16 03:25:22 +02:00
Dustin J. Mitchell
2e0a18921c Bug 1513732 - upgrade index-task docker image r=bstack
Differential Revision: https://phabricator.services.mozilla.com/D16600

--HG--
extra : moz-landing-system : lando
2019-01-15 23:37:36 +00:00
Ryan Hunt
994713f905 Bug 1519541 - Clamp negative portions of relative scroll anchoring bounding rect. r=dholbert
The scroll anchoring bounding rect of a node can be influenced by absolutely
positioned descendants with very negative offsets. This can cause undesired
scroll adjustments, and has been seen on the web in Gmail. The spec needs to
be amended to say what to do here. Chrome currently will clamp the vertical
offset. This commit implements a stop-gap to clamp the negative portions to
fix this issue, while we do more research and spec-work.

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

--HG--
extra : rebase_source : 882ac29fca602ae398ffa74bf5747a8eeb4e9329
extra : amend_source : b6537c3626c5bae60285a4e55399b69ad52206b4
extra : source : ecc18f11431e2da2676962c82962932b4465fb38
2019-01-15 17:25:17 -06:00
Junior Hsu
c54c918b66 Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 23:15:38 +00:00
Jason Orendorff
a94714d9aa Bug 1515816 - Fix missing OOM check in ReadableStreamCreateReadResult. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D16361

--HG--
extra : moz-landing-system : lando
2019-01-16 00:34:24 +00:00
Aaron Klotz
59d279f51f Bug 1517636: Follow-up - fix eslint error; r=bustage 2019-01-15 17:39:18 -07:00
Aaron Klotz
15a43729b0 Bug 1517636: Add launcher process state to about:support; r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D15759

--HG--
extra : moz-landing-system : lando
2019-01-16 00:22:19 +00:00
Aaron Klotz
d94ad01215 Bug 1511080: Add launcher process pref and enable reflection to/from the registry; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15757

--HG--
extra : moz-landing-system : lando
2019-01-15 23:14:49 +00:00
Aaron Klotz
99ef8003dd Bug 1511078: Add LauncherRegistryInfo as a temporary mechanism for runtime disabling of launcher process; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15756

--HG--
rename : browser/app/winlauncher/NativeNt.h => mozglue/misc/NativeNt.h
rename : browser/app/winlauncher/test/TestNativeNt.cpp => mozglue/tests/TestNativeNt.cpp
rename : browser/app/winlauncher/LauncherResult.h => toolkit/xre/LauncherResult.h
extra : moz-landing-system : lando
2019-01-15 23:10:00 +00:00
Johann Hofmann
ff86999793 Bug 1513378 - Link to the content blocking tour from the "Learn How" link in about:preferences. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D16543

--HG--
extra : moz-landing-system : lando
2019-01-15 20:36:00 +00:00
Johann Hofmann
7d58da52ae Bug 1519415 - Don't use https://example.com in test_getUserMedia_permission to avoid timeouts on Android. r=jib
For some reason that I could not figure out, usage of any https host in these getUserMedia mochitests
on Android causes a network proxy error and will, in this particular case, lead to the iframe not
loading the test page. This causes our test to timeout.

I don't think testing https here is particularly important, and so I'd rather save some
effort for myself and just remove it.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 20:17:47 +00:00
Aaron Klotz
d56e504ec2 Bug 1517642: Make the installer and updater disable the launcher process by default on beta and release; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15758

--HG--
extra : moz-landing-system : lando
2019-01-16 00:06:39 +00:00
Mike Hommey
5215f57b1d Bug 1520108 - Move MOZ_CONFIGURE_OPTIONS to toolkit/moz.configure. r=froydnj
It is only used to fill about:buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:28:00 +00:00
Jeff Muizelaar
83096ed533 Bug 1520330. Split out NoVsync into two different scenarios. r=mattwoodrow
Currently there are two conditions where CONTENT_FRAME_TIME_REASON can
be NoVsync. Since, were getting an appreciable amount of these with
WebRender it makes sense to split out the telemetry so that we can
confirm which scenario we're hitting.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:33:25 +00:00
Mike Conley
d845c30b3b Bug 1519893 - Test the alwaysOnTop feature for Windows. r=aklotz
These tests make sure that passing alwaysOnTop as a window feature
results in a window with WS_EX_TOPMOST, and also ensures that web
content cannot request alwaysOnTop windows.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:21 +00:00
Mike Conley
7e920fe573 Bug 1519893 - Add alwaysOnTop chrome-only window feature for Windows. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D16486

--HG--
extra : moz-landing-system : lando
2019-01-15 22:29:59 +00:00
Dave Townsend
2a868a112b Bug 1520151: Fix ASAN builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16606

--HG--
extra : moz-landing-system : lando
2019-01-15 22:09:33 +00:00
Dorel Luca
e1198e6651 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : rebase_source : e6bda7efe552ef8e5c89c0395b18a73838f3f700
2019-01-16 00:22:00 +02:00
Punam
da4ee89f62 Bug 1511267 - Cloud Storage init provider test and intermittent failure fix r=jaws
Cloud Storage initialize provider test to help fix intermittent test failures

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

--HG--
extra : moz-landing-system : lando
2019-01-15 21:50:17 +00:00
Jeff Muizelaar
079ff97c76 Bug 1519499. Only use a nsRegion when needing during ComputeGeometryChange clippedBounds. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D16597

--HG--
extra : moz-landing-system : lando
2019-01-15 21:15:32 +00:00
Mark Striemer
7bf0bdbeab Bug 1519616 - Clear theme preview for themes that don't have previews r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D16594

--HG--
extra : moz-landing-system : lando
2019-01-15 21:39:04 +00:00