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

627289 Коммитов

Автор SHA1 Сообщение Дата
WR Updater Bot 45164d338c Bug 1512730 - Update webrender to commit 41c12cabc42228dda6a2d2628c9b24df9aca66b4 (WR PR #3398). r=kats
https://github.com/servo/webrender/pull/3398

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

--HG--
extra : moz-landing-system : lando
2018-12-11 01:57:22 +00:00
Makoto Kato e1efe6db2a Bug 1508252 - Set temporary range when replacement range is available. r=masayuki
This issue is e10s only.

Even if calling SetSelection, it doesn't reset selection cache in
TextInputHandler.  Since selection cache is updated by OnSelectionChange
asynchronous, we should set temporary range when having replacement range.

Also, even if marking dirty doesn't fix this issue. Content cache may return
other range such as caret position instead of replacement range by SetSelection.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 03:17:15 +00:00
Mike Hommey 3dec5bb706 Bug 1512918 - Emit a warning instead of a hard error when an unknown option is used with configure --help. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D14114

--HG--
extra : moz-landing-system : lando
2018-12-11 01:12:41 +00:00
Emilio Cobos Álvarez 1288b871bf Bug 1510485 - Properly handle errors in nsFind when returning a range. r=bzbarsky
Bug 1505887 changed the behavior here from content calling into nsFind via
window.find(), by making the SetStart and SetEnd calls here fail instead of
succeed for NAC (like the text in textareas).

This patch makes us handle that error gracefully moving on to the next match,
instead of trying to preserve the previous behavior.

This means that we'll fail to highlight textarea content and such from
window.find, which Chromium does, looks like. Though Chromium doesn't expose
the ranges as selection either. In any case I don't think that this is a very
common thing given bugs like bug 1442466, which this bug fixes.

I haven't found anything close to a spec for what window.find() should do... If
we decide to go with this patch then I'll add a crashtest for this and a test
for bug 1442466 as well. Otherwise I'll add a way to skip the security check in
nsFind somehow for NAC, or relax the security restrictions in SetStart /
SetEnd, I guess.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 01:06:32 +00:00
Emilio Cobos Álvarez 1bc5b6ea92 Bug 1513058 - Deduplicate a bit the malloc_size_of code for hashmaps / hashsets. r=heycam
This allows to experiment with other hash maps easily rather than
depending on what hashglobe::fake::HashMap dereferences to.

In particular I wrote it while trying to get a build working with hashbrown.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 00:11:18 +00:00
Brindusan Cristian 34343d1067 Backed out changeset d7b73b7ab1a5 (bug 1507947) for mochitest failures on test_expanding_selection_per_page.html. 2018-12-11 02:00:55 +02:00
Logan Smyth df4ad60746 Bug 1512434 - Remove pretty-printing from the debugger server and related tooling. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D13915

--HG--
extra : moz-landing-system : lando
2018-12-10 17:02:02 +00:00
Dave Townsend 8d8d2560ad Bug 1513106: Remove obsolete servo inclusion in .hgignore. r=gps
Differential Revision: https://phabricator.services.mozilla.com/D14112

--HG--
extra : moz-landing-system : lando
2018-12-10 23:52:30 +00:00
Mike Hommey 106d32bce6 Bug 1512706 - Update minidump_stackwalk used for tests. r=RyanVM
The minidump_stackwalk used for tests ifs picked up from tooltool, and
it looks like the tooltool manifests haven't been updated in 2 years.

As it turns out, this old version is not capable of, at least, stack
walk over crashes originated in LTOed rust code on Windows, while
breakpad trunk, as well as the slightly oldest version we have in-tree
do.

While ideally, we'd go with building minidump_stackwalk as a taskcluster
toolchain artifact, or during the build, but that involves significantly
more work, while we should fix the stack traces of crashes that  people
_do_ get as early as possible.

The tooltool artifacts linked in the updated manifests were generated
the following way:
- Revert the last two changes that happened to minidump_stackwalk.cc
  between 2016 and now (they don't matter for functionality and get in
  the way of the rest below).
- Apply the changes betwen the version of minidump_stackwalk.cc from
  2016 and
https://hg.mozilla.org/users/tmielczarek_mozilla.com/stackwalk-http/raw-file/51e4725ffad4/stackwalk.cc
- Pick the http_symbol_supplier.cc and http_symbol_supplier.h files from
  the same repo as stackwalk.cc above.
- Add the necessary build system bits to build it off the Gecko tree,
  along with the in-tree breakpad code.
- Build it for linux, linux64, macosx64, win32-mingw.

The patch doing all the above is:
https://hg.mozilla.org/try/rev/64491336dc7fca7a1c00ae8c66619b01563bbe4e
The push to build it on the aforementioned platforms:
https://hg.mozilla.org/try/rev/4b621a67ca0bd6cf8954566e180d23e1ba8a9f83

A win64-mingw variant was also built, but is not being used, keeping
things in line with what we currently are using.  We may want to follow
up with an update to use that win64 variant on 64-bits testers.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 22:51:50 +00:00
Tim Nguyen 26a8d2fdb7 Bug 1486204 - Make nsLookAndFeel.mm return transparent selection colors. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D8210

--HG--
extra : moz-landing-system : lando
2018-12-10 22:41:46 +00:00
Wes Kocher b8d78dba9c Bug 1512320 - Fix import from serve.serve for local fennec wpt runs r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D13884

--HG--
extra : moz-landing-system : lando
2018-12-10 21:21:22 +00:00
Brindusan Cristian 989d78f3d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-11 00:10:08 +02:00
Brindusan Cristian c0be6a4290 Merge inbound to mozilla-central. a=merge 2018-12-11 00:05:18 +02:00
Brindusan Cristian bc1f3670dc Merge autoland to mozilla-central. a=merge 2018-12-11 00:01:51 +02:00
Cameron McCormack 8d2df14ece Bug 1513082 - Make the layout debugger window a bit bigger r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D14103

--HG--
extra : moz-landing-system : lando
2018-12-10 21:52:44 +00:00
Dão Gottwald c2abbf2d3a Bug 1512747 - Add the tab icon to remote tab matches. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14072

--HG--
extra : moz-landing-system : lando
2018-12-10 20:41:33 +00:00
Bobby Holley aa6f44ee39 Bug 1512799 - Update expected status in test_pref_rollout_workaround.py. r=kats 2018-12-10 13:35:53 -08:00
Bobby Holley 2db4d4152d Bug 1512799 - Don't force-disable WebRender on non-qualified hardware when the qualified pref is set. r=kats
The gfx pref machinery asserts when user-level values are set that
environment and runtime prefs have not been set. This effectively means
we need to make all user-level decisions before calls to ForceDisable(),
and the code in question here violates that contract.

This branch is not necessary for correctness, since the pref basically
means "enable WR on qualified hardware", and we can just ignore that
request if the hardware is not qualified. It does provide extra
about:support information, but we also get that information from the
recording in WebRenderHardwareQualificationStatus, which creates a
separate decision log for WEBRENDER_QUALIFIED. In this case, it will
report something like:

"WEBRENDER_QUALIFIED: blocked by env: No qualified hardware"

which should be enough here.

Differential Revision: https://phabricator.services.mozilla.com/D14082
2018-12-10 13:35:53 -08:00
Boris Zbarsky c734e83c48 Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot 2018-12-10 14:13:06 -05:00
Boris Zbarsky d28b50be98 Bug 1511401 part 3. Inline the fast (no error) path of requireAtLeast. r=nbp
We don't want to pay the cost of a function call here in DOM bindings.
2018-12-10 14:13:05 -05:00
Boris Zbarsky 7f5c7dd8aa Bug 1511401 part 2. Have JSMGS_MORE_ARGS_NEEDED say how many args it actually got. r=nbp 2018-12-10 14:13:05 -05:00
Boris Zbarsky fee3a8438c Bug 1511401 part 1. Use requireAtLeast more in the JS engine. r=nbp
Looks like these uses might predate requireAtLeast existing.
2018-12-10 14:13:05 -05:00
June Wilde b24cf79204 Bug 1508782 - Add moz.yaml for bspatch in toolkit/mozapps/update; r=mhowell
Moves bspatch.h and bspatch.cpp into new folder
Adds LICENSE, moz.yaml, and moz.build for bspatch
Alters bsdiff and updater build files to account for the new location of bspatch
Renames toolkit/mozapps/update/common/errors.h to toolkit/mozapps/update/common/updatererrors.h for
breaking windows builds. It collided with MSVCRT's exported errors.h after being added to the export list for
the 'updatercommon' library

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

--HG--
rename : toolkit/mozapps/update/common/errors.h => toolkit/mozapps/update/common/updatererrors.h
rename : toolkit/mozapps/update/updater/bspatch.cpp => toolkit/mozapps/update/updater/bspatch/bspatch.cpp
rename : toolkit/mozapps/update/updater/bspatch.h => toolkit/mozapps/update/updater/bspatch/bspatch.h
extra : moz-landing-system : lando
2018-12-10 19:07:42 +00:00
Dave Townsend 78cd66e19c Bug 1513036: Ignore files generated in the source tree by lalrpop. r=ted 2018-12-10 11:05:01 -08:00
James Graham d4f93713b9 Bug 1513023 - Wait for wpt tests to finish across reloads, r=ato
When wpt is used by developers they often want to reload a test that's
running to allow iterative development (or running under devtools,
etc.). The recent switch to target marionette commands at the test
window rather than the opener window broke this as waiting is
implemented as an async script that never returns (i.e. a promise that
never resolves) and when this is in the test window navigating that
window causes the script to return.

A simple, but not particuarly elegant, solution here is to simply
rerun the script in the new window.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 18:39:39 +00:00
Dan Minor 4c2f93d7ef Bug 1497650 - Remove 100 bytes added to CalcBufferSize in vp8_impl.cc; r=ng
In Bug 919979 we added 100 bytes to the size returned by CalcBufferSize
to work around an error with the calculated buffer size with small
resolutions. I verified that this extra buffer is no longer required with
a modified mochitest. Given the age of the bug this was working around,
I don't think a permanent test is required to prevent regressions from
upstream.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:19:34 +00:00
Sebastian Hengst df1d0673b0 Backed out changeset 725a692947dd (bug 675428) for opening multiple tabs (bug 1496380) - bug 1512496
--HG--
extra : source : 0cf938ef3c98b60c9e276a197b50ea9a2bf14c38
2018-12-10 18:44:24 +02:00
Yura Zenevich edfcc41e95 Bug 1512980 - ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro
MozReview-Commit-ID: 9AFXlLnkZvs

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

--HG--
extra : moz-landing-system : lando
2018-12-10 16:41:43 +00:00
Emilio Cobos Álvarez 26110eea9b Bug 1513015 - Remove unneeded inherit-scroll-behavior class. r=botond
Use a more general rule instead, since we add the class unconditionally.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 18:03:44 +00:00
Toby Ward b7922e7f75 Bug 1435562 - browser.tabs.warnOnOpen is now respected when opening multiple items from the library. r=Standard8
- Unified openContainerNodeInTabs and openURINodesInTabs in PlacesUIUtils into openMultipleLinksInTabs
- Users are now warned when the amount of links to be opened is equal to or exceeds browser.tabs.maxOpenBeforeWarn

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:04:18 +00:00
Florens Verschelde 3c6fc58b10 Bug 1512263 - Photonize the devtools accessibility icon; r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D14008

--HG--
extra : moz-landing-system : lando
2018-12-10 16:56:24 +00:00
Cosmin Sabou e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Andreas Tolfsen 2f9e4fdbc3 bug 1512264: webdriver: reuse http connection in test client; r=jgraham
Whilst we do set the Keep-Alive HTTP header to request the HTTPD to
use a persistent connection, we throw away the httplib.HTTPConnection
object after each request.  This will causes the HTTPD to serve us
a persistent connection, only to throw it away after the first request.

When the connection timeout is reached, httplib closes the connection
for us.  Unfortunately httplib does not reconnect for the next
request, so we need to manually check if the underlying socket
connection to the server is alive.

We check whether the connection has dropped or if it has unread,
buffered data using select() as a poller.  We could use poll() here
on available systems, which might give a theoretical performance
improvement since it gives O(number of file descriptors), but since
we only deal with one connection select() will probably be good enough.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 16:10:45 +00:00
Cosmin Sabou c794cea671 Bug 1501688 - Fix eslint failures for trailing spaces. r=eslint-fix 2018-12-10 18:46:32 +02:00
Patrick Brosset d6c7097c51 Bug 1273997 - Minimap support for alerts in RDM by relaying alerts on outer browser r=ochameau,jryans
Differential Revision: https://phabricator.services.mozilla.com/D13812

--HG--
extra : moz-landing-system : lando
2018-12-10 16:37:54 +00:00
ffxbld 9ecff1011c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-12-10 07:58:12 -08:00
Andrei Lazar a8f34c194a Bug 1501688 Temporary files generated by opening external files with content:// scheme should be sanitized r=JanH
Implemented cache sanitizing for files generated by handling the content:// scheme.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 15:57:48 +00:00
ffxbld 3e3db8e24e No bug - Tagging mozilla-central 3386ff76878d83496bb822d09115c77472808b53 with FIREFOX_NIGHTLY_65_END a=release DONTBUILD CLOSED TREE 2018-12-10 07:29:08 -08:00
Eitan Isaacson fd62b95c18 Bug 1511955 - Don't traverse into children without hypertext interfaces. r=Jamie
This prevents an infinite loop where we go into a child only to find the
nearest hypertext accessible being its parent.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 03:30:21 +00:00
Cameron McCormack 1db3f9da78 Bug 1512716 - Re-indent NS_QUERYFRAME macros after clang-format. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D13995

--HG--
extra : moz-landing-system : lando
2018-12-07 20:00:18 +00:00
Jason Orendorff fec8b068ba Bug 1512008 - Fix assertion failure with ReadableStream and Promise[Symbol.species]. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D13945

--HG--
extra : moz-landing-system : lando
2018-12-09 22:24:22 +00:00
Ciure Andrei c49d7d7b85 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-09 23:45:53 +02:00
Ciure Andrei dd9b309eb9 Merge inbound to mozilla-central. a=merge 2018-12-09 23:42:51 +02:00
Jason Orendorff 91b7c80aeb Bug 1512050 - Add not-yet-fully-passing web-platform tests about readable streams to jit-test anyway. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D13750

--HG--
extra : moz-landing-system : lando
2018-12-09 18:03:50 +00:00
Jason Orendorff 093fdb512f Bug 1507950 - Allow calling controller.error() when the stream is not readable. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D13748

--HG--
extra : moz-landing-system : lando
2018-12-09 17:59:36 +00:00
Jason Orendorff 3051b62a12 Bug 1507943 - Fix ReadableStream constructor handling of "pull" and "cancel" methods. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D13747

--HG--
extra : moz-landing-system : lando
2018-12-09 17:57:09 +00:00
Jason Orendorff 45c6c35730 Bug 1503012 - Part 2: Shim some web-platform-tests for streams into the jit-tests. r=arai,chmanchester,jimb
This is an egregious hack. The web-platform-tests were not meant to run in the shell.

The eight tests that are included are the ones that we pass with flying colors.
In most of the others, we still have a failure or two.

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

--HG--
rename : dom/imptests/testharness.js => js/src/jit-test/lib/w3c-testharness.js
extra : moz-landing-system : lando
2018-12-09 15:48:33 +00:00
Andrea Marchesini 562202c9bd Bug 1512485 - Introduce nsIClearDataService.deleteDataFromOriginAttributesPattern, r=johannh 2018-12-09 13:19:04 +01:00
Brindusan Cristian c706eee030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-09 11:38:48 +02:00
Wes Kocher dc3585e58b Bug 1423215 - Upload an uncompressed runnable-jobs.json artifact in addition to the gz version r=dustin
Uploading both versions will hopefully make this easier to uplift. Once old pushes and artifacts expire, we can stop uploading the gzipped version.

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

--HG--
extra : moz-landing-system : lando
2018-12-09 05:07:48 +00:00