Commit Graph

627248 Commits

Author SHA1 Message Date
Valentin Gosu
ec72bc563e Bug 1380148 - Assert if securityInfo deserialization fails r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D14056

--HG--
extra : moz-landing-system : lando
2018-12-10 21:20:02 +00:00
Timothy Guan-tin Chien
5f45d86bf7 Bug 1512696 - Pick up is attribute from XHTML element in XUL document r=smaug
This patch allow nsXULPrototypeElement to set mIsAtom when the namespace is in XHTML.

The value is needed by XULDocument::CreateElementFromPrototype() so we could properly
pass it to NS_NewHTMLElement().

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

--HG--
extra : moz-landing-system : lando
2018-12-10 21:19:35 +00:00
Brindusan Cristian
5aed3a29ec Backed out changeset cc3f0de953e4 (bug 1512799) for marionette failures on test_pref_rollout_workaround.py. CLOSED TREE 2018-12-10 23:10:15 +02:00
Cameron McCormack
16c45f1877 Bug 1512914 - Add an --enable-layout-debugger configure option r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D14048

--HG--
extra : moz-landing-system : lando
2018-12-10 15:47:36 +00:00
Ted Campbell
57f49debb6 Bug 1511672 - Fix dependent base lookups in AsyncInvoker.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D13633

--HG--
extra : moz-landing-system : lando
2018-12-06 16:34:17 +00:00
Dan Minor
71d10e00cf Bug 1497573 - Create desktop_capturer_cursor_composer_ lazily; r=ng
The webrtc.org capturer implementations do not allow Start to be called more
than once. Previously we worked around this by adding a Stop method that was
called from StopCapture. With this change, we instead free the capturer in
StopCapture and create or re-create it as needed from StartCapture or
FocusOnSelectedSource.

Depends on D14066

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:27:42 +00:00
Dan Minor
6562906d33 Bug 1497573 - Remove DesktopCapturer::Stop; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D14066

--HG--
extra : moz-landing-system : lando
2018-12-10 17:23:37 +00:00
Botond Ballo
8d292b768a Bug 1484884 - Fix async zoom transform computation for layout viewport. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D14020

--HG--
extra : moz-landing-system : lando
2018-12-09 00:53:20 +00:00
Botond Ballo
4e2bbb39df Bug 1512267 - If you set a pres shell resolution, you must scale to it. r=kats,JanH
Differential Revision: https://phabricator.services.mozilla.com/D13928

--HG--
extra : moz-landing-system : lando
2018-12-10 19:32:59 +00:00
Sylvestre Ledru
5ab3722c7c Bug 1512961 - Add security/manager/ssl/StaticHPKPins.h to the clang-format-ignore list r=Ehsan
Depends on D14060

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

--HG--
extra : moz-landing-system : lando
2018-12-10 19:29:50 +00:00
Sylvestre Ledru
ad75e912fb Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
hyperion
5dcce00594 Bug 1468749 trackAttached method added for TypeOfIrGenerator in CacheIR.cpp r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D13874

--HG--
extra : moz-landing-system : lando
2018-12-10 19:28:36 +00:00
Dave Townsend
d25fb4dd38 Bug 1513037: Ignore patch generated files in mercurial. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D14094

--HG--
extra : moz-landing-system : lando
2018-12-10 19:19:31 +00:00
Bobby Holley
e8c8eea097 Bug 1512799 - Don't force-disable WebRender on non-qualified hardware when the qualified pref is set. r=kats,jrmuizel
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

--HG--
extra : moz-landing-system : lando
2018-12-10 18:35:18 +00: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
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
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
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
Mark Banner
d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Ryan VanderMeulen
e3f80b35ad Bug 1512982 - Update pdf.js to version 2.1.97. r=bdahl
--HG--
extra : rebase_source : 0a8cdf6da1fe49bbd71213f8fdb8eaa8fa5ed9b0
2018-12-10 10:09:44 -05:00
Jan-Erik Rediger
9e4c5adb58 Bug 1504613 - Remove now-default-true skipEmpty argument r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D14062

--HG--
extra : moz-landing-system : lando
2018-12-10 14:16:47 +00:00
ffxbld
69693c800c No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D14057

--HG--
extra : moz-landing-system : lando
2018-12-10 13:49:17 +00:00
Dan Minor
5fa6fb4f75 Bug 1512459 - Remove webrtc sndio audio device; r=padenot
This code is unused and can be removed.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 12:33:04 +00:00
Francesco Lodolo (:flod)
5b2c958d56 Bug 1494282 - Remove references to onboarding from l10n.toml r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D14053

--HG--
extra : moz-landing-system : lando
2018-12-10 11:25:46 +00:00
Martin Stransky
a6e0503d05 Bug 1512589 - [Wayland] Map mozcontainer from map-event signal, r=jhorak
It's not quaranteed that we have a valid wl_surface at GtkWidget::map event.
In that case create it at GtkWidget::map-event handler which is called after
widget show.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 10:06:27 +00:00
Marco Bonardo
c918d5c8b5 Bug 1510281 - Use a private and isolated context for search suggestions. r=mkaply,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13329

--HG--
extra : moz-landing-system : lando
2018-12-07 16:21:27 +00:00
Marco Bonardo
4df6b25ace Bug 1510281 - Backed out changeset 093960021b8b because we want to use a different approach. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D13328

--HG--
extra : moz-landing-system : lando
2018-12-08 17:32:27 +00:00
Julian Descottes
6b7c1b63a9 Bug 1488500 - Add test for temporary extension install error;r=daisuke
Depends on D12571

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

--HG--
extra : moz-landing-system : lando
2018-12-07 15:59:03 +00:00
Julian Descottes
98258f6603 Bug 1488500 - Show install error message for temporary addons;r=daisuke,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12571

--HG--
extra : moz-landing-system : lando
2018-12-07 15:56:30 +00:00
Andrei Lazar
665d5ab5ed Bug 1501024 WifiScanner should use ApplicationContext r=JanH
Fixed lint warning regarding memory leak inside WifiManager constructor.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 09:33:18 +00:00
Raphael Pierzina
6196563d5e Bug 1301776 - Verify window_open_event_count scalar data in telemetry-tests-client; r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D13559

--HG--
extra : moz-landing-system : lando
2018-12-07 15:37:55 +00: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