Граф коммитов

667567 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch 847224881f Bug 1575692 - do not recreate the DB file via the directory service inside DatabaseLocker class off the mainthread, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43225

--HG--
extra : moz-landing-system : lando
2019-08-27 14:31:48 +00:00
Martin Stransky 89132239ea Bug 1574036 - [Wayland] Fix flickering during window resize, r=jhorak
Recently window resize on Wayland produces flickering/rendering artifacts because
window background is randomly cleared due to actual window size changes.
We recently query widget size and do clear/fullscreen update when the size changes.

To avoid that, get widget size once at WindowSurfaceWayland::Lock() and use it
until next WindowSurfaceWayland::Lock(). Also don't to switch wayland back buffers
until there's really fullscreen update from compositor.

This patch:

- Use mLockedScreenRect to store window size at WindowSurfaceWayland::Lock(). It's used
  to detect widget resize, when it happens throw away all cached painting and wait for
  full screen update.

- Use mBufferScreenRect to store size of wayland back buffer and pass it
  instead of actual widget size we used before this patch. This ensures all our
  drawing matches the buffer size.

- Rename aFullScreenUpdate to aCanSwitchBuffer at LockWaylandBuffer() to stress
  actual meaning - we can/can't switch back buffers for partial drawing and we need to
  wait until recent back buffer is released by compositor.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 12:33:25 +00:00
goncharov 53359e3391 Bug 1097836 - Give users on Windows the choice between POSIX and Windows escaped "Copy as cURL" commands. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D42699

--HG--
extra : moz-landing-system : lando
2019-08-27 14:46:33 +00:00
Rob Wu 9fa3da5065 Bug 1548508 - Ensure that primed event listeners are eventually unregistered r=mixedpuppy
Depends on D42670

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:06:44 +00:00
Rob Wu f1d8b687b6 Bug 1575190 - Properly unload test add-on after manager restart r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D42670

--HG--
extra : moz-landing-system : lando
2019-08-22 11:34:30 +00:00
yulia ed8443d555 Bug 1575237 - Initial implementation of search for top level documents in the inspector; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D42662

--HG--
extra : moz-landing-system : lando
2019-08-26 18:38:01 +00:00
yulia 49511b6da8 Bug 1575237 - allow access to all remote child targets' inspector fronts from the root target r=pbro,rcaliman
inspector front; r=!ochameau,!pbro"

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

--HG--
extra : moz-landing-system : lando
2019-08-27 14:42:38 +00:00
Paul Zuehlcke a154c0ec39 Bug 1573124 - Updated identity popup security view heading to include domain name. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D41546

--HG--
extra : moz-landing-system : lando
2019-08-26 15:00:13 +00:00
Gijs Kruitbosch f931d77fe5 Bug 1573485 - put developer tools button back on the right/end of the toolbar in devedition, r=pbro,jaws
Differential Revision: https://phabricator.services.mozilla.com/D43599

--HG--
extra : moz-landing-system : lando
2019-08-27 14:35:52 +00:00
Nathan Froyd 86440591dc Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 14:30:53 +00:00
Tim Huang 269db2010b Bug 1576871 - Clean up the allow list after the test 'testQuickSwitchTabAfterTogglingTPSwitch' in test browser_protections_UI.js r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D43594

--HG--
extra : moz-landing-system : lando
2019-08-27 13:22:05 +00:00
Ehsan Akhgari 7eaef3f18f Bug 1540117 - Part 3: Add unit tests for ensuring that the right set of console messages are captured during the anti-tracking test suite, and also add test coverage for BEHAVIOR_REJECT_FOREIGN; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D43272

--HG--
extra : moz-landing-system : lando
2019-08-26 09:27:06 +00:00
Ehsan Akhgari e3ed73da0e Bug 1540117 - Part 2: Add a pref to allow turning off the lazy reporting off anti-tracking warnings to the web console; r=baku
This pref will be used in tests only.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 09:26:44 +00:00
Ehsan Akhgari 184c0ca703 Bug 1540117 - Part 1: Do not generate a console warning when we reject an attempt to retrieve a cookie for a host that has none stored; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D43270

--HG--
extra : moz-landing-system : lando
2019-08-27 10:36:39 +00:00
Ted Campbell 1f82932860 Bug 1575077 - Use SharedImmutableStringCache for SharedScript urls r=jandem
Pages that use 'new Function' heavily create a lot of ScriptSource
objects and waste memory duplicating filenames. This is particularly
problematic if the filename is a data-url. Use the existing runtime
strings cache as a straightforward way to share this. The source text
already is using this cache.

For the XDR case, we expect filenames to almost always be unique so we
can eagerly allocate the owned strings without worrying.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 12:48:31 +00:00
Ted Campbell bcd4f2a178 Bug 1575077 - Cleanup ScriptSource::sourceMapURL/displayURL r=jandem
Add accessors to avoid direct access to fields so storage can be changed
later.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 12:46:05 +00:00
Ted Campbell cbdc34e90d Bug 1575077 - Cleanup handling of ScriptSource::setFilename/setIntroducerFilename r=jandem
Use accessors instead of directly accessing fields so that we can later
do automatic deduplication. Add setters that can be passed owned strings
when they are available.

Replace the XDRState::codeCString mechanism entirely. First restrict
string lengths to JSString::MAX_LENGTH as a reasonable upper bound.
Introduce XDRState::codeCharsZ to generate owned strings while decoding.
In practice we would duplicate the string anyways and this better
supports unaligned and endian-safe char16_t strings as well.

Together we do the same number of copies as before.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 12:45:58 +00:00
Martin Stransky 388e4b2d74 Bug 1576268 - [Wayland] Use MOVE as a default Drag and Drop action to match X11 behavior, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D43578

--HG--
extra : moz-landing-system : lando
2019-08-27 12:12:14 +00:00
Alphan Chen fc59938bee Bug 1482885 - Refactor nsHtml5TreeOperation's enum plus fields into mozilla::Variant r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42809

--HG--
extra : moz-landing-system : lando
2019-08-27 09:39:41 +00:00
Mirko Brodesser 252c68413f Bug 1575839: part 5) Factor out `ReplaceVisiblyTrailingNbsps` from `nsPlainTextSerializer::Write`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43419

--HG--
extra : moz-landing-system : lando
2019-08-27 10:41:44 +00:00
Mirko Brodesser ff890f861f Bug 1575839: part 4) Remove `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
Its value was at all places where it's read equal to
`outputLineBreak` which is now used instead.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:47 +00:00
Mirko Brodesser 85412ffd47 Bug 1575839: part 3) Simplify assignment to `nsPlainTextSerializer::Write::atFirstColumn`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43417

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:39 +00:00
Mirko Brodesser e2bc2108a5 Bug 1575839: part 2) Declare some methods `const` or `static`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43416

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:30 +00:00
Mirko Brodesser 86fa840e79 Bug 1575839: part 1) Add `nsPlainTextSerializer::Settings::HasFlag`. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D43415

--HG--
extra : moz-landing-system : lando
2019-08-27 10:40:16 +00:00
Andrew Halberstadt 77e2553e92 Bug 1555762 - [mach] Get SearchProvider commands to run with Python 3 r=Callek
This includes the following commands:
* dxr
* google
* mdn
* search
* searchfox

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

--HG--
extra : moz-landing-system : lando
2019-08-26 14:01:32 +00:00
Andrew Halberstadt 333ffc4bcf Bug 1473498 - [mach] Support running mach commands with python 3 r=glandium,mars
Credit: mars for making the shell POSIX compliant

This embeds a blacklist of every mach command that needs to run with Python 2
directly in the mach driver itself. Initially this is every mach command. We
then use a bit of shell to determine whether the command being run needs Python
2 or 3.

While this approach may seem a bit hacky, it has several benefits:

1. No need to add complex machinery in mach's registration code.
2. No need to spawn two separate Python interpreters in the event a different
   Python from the original interpreter is needed.
3. Perf impact is negligible.
4. New commands are Python 3 by default.

It is also only a temporary hack. Once all commands are running with Python 3,
we can revert back to the original mach driver.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:08:08 +00:00
Andrew Halberstadt ec79d89147 Bug 1473498 - [mozbuild.util] Don't use 'patch_main' hack with Python 3.4+ r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D42016

--HG--
extra : moz-landing-system : lando
2019-08-27 02:55:18 +00:00
Andrew Halberstadt 80160f742f Bug 1473498 - [configure] Fix ImportError in util.configure under Python 3, r=glandium
This import is actually unused as of bug 844509.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 02:55:18 +00:00
Andrew Halberstadt 8710cf7cfc Bug 1473498 - [mozbuild.base] Fix Python 3 incompatibilities in mozconfig error handling, r=glandium
Use of 'BaseException.message` was deprecated in Python 2.6 (and removed in
Python 3). We should rely on the exception's '__str__' instead.

We also need to ensure the mozconfig subprocess' output is text when formatting
it into the message with Py3.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:05:59 +00:00
Andrew Halberstadt 9ec9b5b7ab Bug 1473498 - [mozbuild.mozconfig] Improve error message in MozconfigLoadException r=glandium
Without the output, this exception wasn't being very helpful.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:03:49 +00:00
Vlad Baicu e533de9b0e Bug 1576170 - Relocate the localization note above the strings for consistency. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D43468

--HG--
extra : moz-landing-system : lando
2019-08-26 18:08:27 +00:00
Stephen Horlander 4a9f000aee Bug 1575440 - Add context-fill and dark mode support for horizontal-lockup.svg r=dao
Add dark mode support for horizontal-lockup.svg for Developer and Nightly about:newinstall page

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

--HG--
extra : moz-landing-system : lando
2019-08-27 11:56:54 +00:00
Florens Verschelde ef33fe249c Bug 1575827 - Remove references to outdated DevToolsColors MDN page; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43227

--HG--
extra : moz-landing-system : lando
2019-08-27 10:21:34 +00:00
James Graham 582d42ba15 Bug 1576833 - Handle tests with / in the path in metadata update, r=dheiberg
For tests with ids like foo/bar?baz/foobar we were incorrectly setting the manifest test_id
to foobar rather than bar?baz/foobar. Fix this by determining the length of the path up to
the last / and trimming that off the front of the test id. This approach avoids
reserializing the url.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 11:01:12 +00:00
harry d0b2df38dd Bug 1575360 - Add shadow effect to megabar when it's open. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D42714

--HG--
extra : moz-landing-system : lando
2019-08-27 09:46:45 +00:00
Aki Sasaki 5f909786ca Bug 1576729 - disable ship-geckoview on release to stop failure email spam r=aryx p=aki
Differential Revision: https://phabricator.services.mozilla.com/D43582

--HG--
extra : moz-landing-system : lando
2019-08-27 09:29:03 +00:00
Tim Huang f2f193298e Bug 1576832 - Fix the info and check of the ETP state to use the right browser object for the test 'browser_protections_UI.js' r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D43586

--HG--
extra : moz-landing-system : lando
2019-08-27 09:31:15 +00:00
yulia 9bbc3376d9 Bug 1574159 - implement listRemoteFrames for browsingContextTarget and listRemoteTab for content process; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42327

--HG--
extra : moz-landing-system : lando
2019-08-27 09:07:46 +00:00
yulia 7ad7d8e5c0 Bug 1574156 - implement FrameDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42305

--HG--
extra : moz-landing-system : lando
2019-08-27 09:07:45 +00:00
Julian Descottes 3cdbe7c9b8 Bug 1576653 - Use a custom toolbox window title for the omniscient browser toolbox r=nchevobbe,yulia
Depends on D43473

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

--HG--
extra : moz-landing-system : lando
2019-08-27 08:44:59 +00:00
Julian Descottes 1535cd608a Bug 1576653 - Add nightly-only option to toggle devtools.browsertoolbox.fission in Browser Toolbox r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D43473

--HG--
extra : moz-landing-system : lando
2019-08-27 08:44:42 +00:00
Jonathan Kew 96605ab146 Bug 1576553 - Add reftest. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D43411

--HG--
extra : moz-landing-system : lando
2019-08-27 08:36:04 +00:00
Jonathan Kew 1121f75128 Bug 1576553 - Partial ligatures need to be drawn if either GLYPH_FILL or GLYPH_STROKE is in effect. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D43409

--HG--
extra : moz-landing-system : lando
2019-08-27 00:49:52 +00:00
Andreas Pehrson a6e5ed4ab7 Bug 1573536 - Allow gUM with audio:{mediaSource:audioCapture} and video:true simultaneously. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42531

--HG--
extra : moz-landing-system : lando
2019-08-26 14:54:22 +00:00
Andreas Pehrson b0320d7a8a Bug 1573536 - Add crashtest. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D42530

--HG--
extra : moz-landing-system : lando
2019-08-27 07:36:40 +00:00
Paul Adenot 75f26463c7 Bug 1576168 - mach vendor rust. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D43403

--HG--
extra : moz-landing-system : lando
2019-08-27 08:00:43 +00:00
Paul Adenot c23f8dcae9 Bug 1576168 - Update audio_thread_priority to 0.19.1. r=pehrsons
This changes the hard-limit of `RLIMIT_RTTIME` to be the maximum available
(200ms on my system), and keep the soft limit to the same number.

Having different numbers allow catching SIGXCPU before getting SIGKILL.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 08:00:36 +00:00
Mark Banner 3f6c1dab90 Bug 324361 - Remove openApplication/openApplicationWithURI from the shell service as they aren't used. r=mossop
Keeps a function for opening the Mac desktop preferences.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 08:03:12 +00:00
alwu c5413ef080 Bug 1572939 - part2 : remove editable content tests. r=masayuki
As we will allow user inputs on editable content to activate document, we should remove them from black list test.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 04:46:13 +00:00
alwu 4f544e7be2 Bug 1572939 - part1 : allow user inputs on editable content to activate document. r=masayuki
As Chrome and Safari didn't block autoplay when haiving user input on editable content, it causes a compatible issue on Firefox because we only allow user inputs happening on non-editable content to activate document.

It seems that we don't really need to restrict that user inputs, which can activate document, should only occur on non-editable content.
Even if they occur on non-editable content, it might still have a chance to annoy user, it's totally depending on websites' design.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 04:45:05 +00:00