Commit Graph

627478 Commits

Author SHA1 Message Date
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
Daisuke Akatsuka
3ec2e5f237 Bug 1505286 - Part 1: Show proper URL of zombie tab on Android. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D13223

--HG--
extra : moz-landing-system : lando
2018-12-10 15:40:26 +00:00
Boris Zbarsky
d3b02f9991 Bug 1512386. Add support for 's' flag on attribute selectors. r=emilio
We could keep using ParsedCaseSensitivity::CaseSensitive as a temporary stand-in
for "case-sensitive or maybe not depending on what HTML says" until we check the
attribute list, but it seems better to make that explicit.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 22:24:49 +00:00
Yura Zenevich
5138b7b9c3 Bug 1434888 - set accessibility panel command key to Shift + F10. r=gl
MozReview-Commit-ID: HkL5dDfo0p9

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

--HG--
extra : moz-landing-system : lando
2018-12-10 20:43:49 +00:00
Daisuke Akatsuka
4c9372bcb0 Bug 1497450: Get DOMTitleChanged event of Android from DevTools server. r=ochameau,jdescottes
Currently, when `about:debugging` is displaying, even if move to another URL on
Android, its update does not reflect to `about:debugging` page. Because the `DOMTitleChanged` event on message manager comes from only in case of remote browser. In this patch, get the event on even not remote browser, then notify to clients.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 02:16:25 +00:00
Emilio Cobos Álvarez
cad1db0597 Bug 1511625 - Restore the status quo before bug 1511324.
Pretty sure I saw the test pass on my try run, but oh well.
2018-12-11 03:31:47 +01: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
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
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
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
Gurzau Raul
2b16261520 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-08 23:38:27 +02:00
Bogdan Tara
d194992c37 Backed out changeset 98f8e4e44c10 (bug 1509923) for Verifier.cpp failures on Linux builds CLOSED TREE 2018-12-08 23:24:30 +02:00
Johann Hofmann
571d6b7d32 Bug 1511655 - Re-enable browser_UrlbarInput_tooltip.js on Windows. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14016

--HG--
extra : moz-landing-system : lando
2018-12-08 20:50:12 +00:00
Ehsan Akhgari
7040d79ff9 Bug 1510275 - Make sure that we only ever dispatch a single STATE_COOKIES_LOADED notification per top-level document r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13849

--HG--
extra : moz-landing-system : lando
2018-12-08 20:19:16 +00:00
Jan de Mooij
67a457bc60 Bug 1512410 part 2 - Don't create a TypeNewScript for cross-realm constructors, add more asserts. r=luke
Depends on D13903

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

--HG--
extra : moz-landing-system : lando
2018-12-08 18:10:29 +00:00
Jan de Mooij
469c952020 Bug 1512410 part 1 - Add a realm check to the NewObjectCache to fix a bug with same-compartment realms. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D13903

--HG--
extra : moz-landing-system : lando
2018-12-08 18:06:17 +00:00
Jan de Mooij
b9ac626c2a Bug 1512718 - Do a realm check instead of compartment check in mozJSSubScriptLoader::DoLoadSubScriptWithOptions. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D13996

--HG--
extra : moz-landing-system : lando
2018-12-08 16:35:06 +00:00
Gijs Kruitbosch
7995f88e40 Bug 1483354 - use promiseDocumentFlushed to execute tabstrip scrolling after creating a background tab, r=dao
Depends on D13675

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

--HG--
extra : moz-landing-system : lando
2018-12-08 16:27:12 +00:00
rjairath
7855330c08 Bug 1509449 - Use document.getElementById instead of document.querySelector in ContentBlocking.init r=dao
Differential Revision: https://phabricator.services.mozilla.com/D14009

--HG--
extra : moz-landing-system : lando
2018-12-08 16:03:49 +00:00
matthias
26a3257a55 Bug 1511394 - Update buttons according to photon spec. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D13878

--HG--
extra : moz-landing-system : lando
2018-12-08 15:35:45 +00:00
Johann Hofmann
0ddf4d8c34 Bug 1511751 - Part 3 - Put up a note when the trackers subpanel is shown but no trackers are present. r=ewright
This can happen when we annotate trackers with the strict list but block based on the
basic list, and it is confusing users.

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

--HG--
extra : moz-landing-system : lando
2018-12-08 00:06:04 +00:00