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

619431 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 477b5b6aa2 Bug 1498186 - Add a 'Task Manager' item opening about:performance in the 'More' section of the application menu, r=felipe. 2018-10-17 17:01:12 +02:00
Florian Quèze f953b97c5e Bug 1498185 - Implement the type and action columns in the new about:performance, r=felipe. 2018-10-17 14:12:16 +02:00
Geoff Brown fb38153bda Bug 1494657 - Wait for SpecialPowers before proceeding with mochitest setup; r=aswan 2018-10-18 10:22:26 -06:00
Paolo Amadini 3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Paolo Amadini 7dec374d5b Bug 1499704 - Use html:progress for downloads. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D8973

--HG--
extra : rebase_source : 2d0a67b70127176c9c7eb7de6b9c95b2f33356b9
2018-10-17 15:25:00 +01:00
James Graham 8976487754 Bug 1500081 - Use --install-fonts to install fonts for wptrunner, r=AutomatedTester
This replaces a previous Firefox-only method except on Windows 7 where
it seems that we have some issues with the registry.

Differential Revision: https://phabricator.services.mozilla.com/D9091
2018-10-18 15:54:30 +01:00
James Graham bb19587996 Bug 1481723 - Enable wpt css tests on Windows, r=ato
MozReview-Commit-ID: ekP5TOSaRM

Differential Revision: https://phabricator.services.mozilla.com/D7201
2018-10-18 15:54:30 +01:00
Mats Palmgren 10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
James Graham 6c520a05c6 Bug 1494974 - Ensure the reftest canvas always maintains the same size, r=ato
Differential Revision: https://phabricator.services.mozilla.com/D7197
2018-10-18 15:54:29 +01:00
James Graham a1b2ade821 Bug 1490272 - Use the marionette reftest implemenation on Windows, r=ato
Differential Revision: https://phabricator.services.mozilla.com/D5519
2018-10-18 15:54:29 +01:00
Dennis Schubert e0b293e7a1 Bug 1498278 - Import WebExtension sources for the WebCompat GoFaster Addon to Desktop. r=aswan
--HG--
rename : browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
extra : rebase_source : c5a0d86865179dad71cb4f623a8ed695cc92f284
2018-10-17 04:32:05 +02:00
Emilio Cobos Álvarez 36e49f6198 Bug 1500097 - Enable @supports selector() in those tests. 2018-10-18 16:04:14 +02:00
Neil Deakin 51f69a2c2a Bug 1494000, use Element::GetFrame in XULMenuElement and XULPopupElement, r=bz 2018-10-18 08:40:10 -04:00
Andrea Marchesini 4ebf5b4364 Bug 1496581 - Split nsISeekableStream in 2 classes: nsISeekableStream and nsITellableStream, f=mayhemer, r=froydnj
In the current code there are 3 main issues:

1. nsFileStream is not really thread-safe. There is nothing to protect the
internal members and we see crashes.

2. nsPipeInputStream doesn't implement ::Seek() method and that caused issues
in devtools when a nsHttpChannel sends POST data using a pipe. In order to fix
this, bug 1494176 added a check in nsHttpChannel: if the stream doesn't
implement ::Seek(), let's clone it. This was an hack around nsPipeInputStream,
and it's bad.

3. When nsHttpChannel sends POST data using a file stream, nsFileStream does
I/O on main-thread because of the issue 2. Plus, ::Seek() is called on the
main-thread causing issue 1.

Note that nsPipeInputStream implements only ::Tell(), of the nsISeekableStream
methods. It doesn't implement ::Seek() and it doesn't implement ::SetEOF().

With this patch I want to fix point 2 and point 3 (and consequentially issue 1
- but we need a separate fix for it - follow up). The patch does:

1. it splits nsISeekableStream in 2 interfaces: nsITellableStream and
nsISeekableStream.
2. nsPipeInputStream implements only nsITellableStream.  Doing this, we don't
need the ::Seek() check for point 2 in nsHttpChannel: a simple QI check is
enough.
3. Because we don't call ::Seek() in nsHttpChannel, nsFileStream doesn't do I/O
on the main-thread, and we don't crash doing so.
2018-10-18 13:35:35 +02:00
Nathan Froyd f3eed4c3a6 Bug 1499850 - make MediaTimer slightly more efficient; r=pehrsons
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created.  This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-18 07:00:11 -04:00
Margareta Eliza Balazs 201d77abf9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-18 13:27:07 +03:00
Margareta Eliza Balazs c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Margareta Eliza Balazs f4ce95166f Merge autoland to mozilla-central. a=merge 2018-10-18 13:19:19 +03:00
Margareta Eliza Balazs 53fc8ddacd Backed out 4 changesets (bug 1486954) for hangs on Linux. a=backout
Backed out changeset c895888bdddc (bug 1486954)
Backed out changeset 27e9286503e8 (bug 1486954)
Backed out changeset 87e64652386d (bug 1486954)
Backed out changeset 96a6e1ceb697 (bug 1486954)

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/extensions/formautofill/MasterPassword.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js
2018-10-18 12:40:21 +03:00
Jon Coppeard 034bf3c449 Bug 1498980 - Remove module environment from live debugger envionments after execution r=jorendorff 2018-10-18 10:33:33 +01:00
Andrea Marchesini d4e4884960 Bug 1499788 - midi feature policy should have 'self' as default allowlist, r=qdot 2018-10-18 11:08:37 +02:00
Andrea Marchesini 39b3c89ada Bug 1499768 - camera, microphone and speaker feature policies should have 'self' as default allowlist, r=jib 2018-10-18 11:08:37 +02:00
Bogdan Tara d2c3db4fb0 Backed out changeset 0e8706e5d2ff (bug 1473841) for browser_jsterm_completion_invalid_dot_notation.js failures CLOSED TREE 2018-10-18 10:43:58 +03:00
Ciure Andrei 2b838cf300 Backed out changeset 463d82852c31 (bug 1397612) for accidentally disabling nearly all the tests in test_quit_restart.py a=backout 2018-10-18 10:16:53 +03:00
Thomas Wisniewski 3c40ce1478 Bug 1499136 - Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues; r=hsivonen
Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues

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

--HG--
extra : moz-landing-system : lando
2018-10-18 02:10:25 +00:00
Dorel Luca cf8bae2781 Merge autoland to mozilla-central. a=merge 2018-10-18 01:53:30 +03:00
Johann Hofmann e55a046d93 Bug 1499685 - Fix browser_aboutCertError.js test cases for the old cert error pages. r=nhnt11
Two of these tests simply require the new pref to be set, while there was some actual
breakage that required me to put some more code behind another gate.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 22:13:34 +00:00
Daniel Stenberg cf9e76636e bug 1498525 - make test_captive_portal_service use localhost only r=valentin
By setting network.dns.native-is-localhost in this test, it makes all native
name resolves use "localhost" and thus avoids causing an assert if this test
runs with TRR enabled and network.trr.uri set to point to an actual external
host name.

MozReview-Commit-ID: D1df6VtfckR

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:06:43 +00:00
Ciure Andrei 685c5b2d60 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-18 10:19:03 +03:00
Marco Zehe 639f76f388 Bug 1499702 - Clean up break statements in EventQueue::CoalesceEvents(), r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D8971

--HG--
extra : moz-landing-system : lando
2018-10-18 07:06:45 +00:00
Emilio Cobos Álvarez 18d458ee42 Bug 1499863 - Honor will-change: position dynamic changes. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D9032

--HG--
extra : moz-landing-system : lando
2018-10-17 22:13:51 +00:00
Mantaroh Yoshinaga 9982e27fbd Bug 1488721 - Prevent closing the popup menu by clicking the space of tooltip popup menu. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D9059

--HG--
extra : moz-landing-system : lando
2018-10-18 05:48:55 +00:00
Daisuke Akatsuka 4f3b0292c4 Bug 1497099: Use common runtime PropTypes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8795

--HG--
extra : moz-landing-system : lando
2018-10-18 00:48:54 +00:00
Nicolas Chevobbe 4c897a56af Bug 1473841 - Transform property access on a dot-notation invalid name into an element access; r=bgrins.
This patch turns property access that would result in
Syntax error (e.g. `x.data-test`) into element access
(e.g. `x["data-test"]`) when accepting a completion
value in the console input.
In order to do that, we use Reflect to parse  a custom
expression where we try to define the property the user
is going to accept. If this throws, this means we need to
modify the input into an element access.
A test is added to make sure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:55:26 +00:00
Ed Lee a8fe89d2f5 Bug 1499886 - Add send-to-device snippet, right-to-left robustness and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D9045

--HG--
rename : browser/components/newtab/locales/ach/strings.properties => browser/components/newtab/locales-src/ach/strings.properties
rename : browser/components/newtab/locales/an/strings.properties => browser/components/newtab/locales-src/an/strings.properties
rename : browser/components/newtab/locales/ar/strings.properties => browser/components/newtab/locales-src/ar/strings.properties
rename : browser/components/newtab/locales/ast/strings.properties => browser/components/newtab/locales-src/ast/strings.properties
rename : browser/components/newtab/locales/az/strings.properties => browser/components/newtab/locales-src/az/strings.properties
rename : browser/components/newtab/locales/be/strings.properties => browser/components/newtab/locales-src/be/strings.properties
rename : browser/components/newtab/locales/bg/strings.properties => browser/components/newtab/locales-src/bg/strings.properties
rename : browser/components/newtab/locales/bn-BD/strings.properties => browser/components/newtab/locales-src/bn-BD/strings.properties
rename : browser/components/newtab/locales/bn-IN/strings.properties => browser/components/newtab/locales-src/bn-IN/strings.properties
rename : browser/components/newtab/locales/br/strings.properties => browser/components/newtab/locales-src/br/strings.properties
rename : browser/components/newtab/locales/bs/strings.properties => browser/components/newtab/locales-src/bs/strings.properties
rename : browser/components/newtab/locales/ca/strings.properties => browser/components/newtab/locales-src/ca/strings.properties
rename : browser/components/newtab/locales/cak/strings.properties => browser/components/newtab/locales-src/cak/strings.properties
rename : browser/components/newtab/locales/crh/strings.properties => browser/components/newtab/locales-src/crh/strings.properties
rename : browser/components/newtab/locales/cs/strings.properties => browser/components/newtab/locales-src/cs/strings.properties
rename : browser/components/newtab/locales/cy/strings.properties => browser/components/newtab/locales-src/cy/strings.properties
rename : browser/components/newtab/locales/da/strings.properties => browser/components/newtab/locales-src/da/strings.properties
rename : browser/components/newtab/locales/de/strings.properties => browser/components/newtab/locales-src/de/strings.properties
rename : browser/components/newtab/locales/dsb/strings.properties => browser/components/newtab/locales-src/dsb/strings.properties
rename : browser/components/newtab/locales/el/strings.properties => browser/components/newtab/locales-src/el/strings.properties
rename : browser/components/newtab/locales/en-CA/strings.properties => browser/components/newtab/locales-src/en-CA/strings.properties
rename : browser/components/newtab/locales/en-GB/strings.properties => browser/components/newtab/locales-src/en-GB/strings.properties
rename : browser/components/newtab/locales/en-US/strings.properties => browser/components/newtab/locales-src/en-US/strings.properties
rename : browser/components/newtab/locales/eo/strings.properties => browser/components/newtab/locales-src/eo/strings.properties
rename : browser/components/newtab/locales/es-AR/strings.properties => browser/components/newtab/locales-src/es-AR/strings.properties
rename : browser/components/newtab/locales/es-CL/strings.properties => browser/components/newtab/locales-src/es-CL/strings.properties
rename : browser/components/newtab/locales/es-ES/strings.properties => browser/components/newtab/locales-src/es-ES/strings.properties
rename : browser/components/newtab/locales/es-MX/strings.properties => browser/components/newtab/locales-src/es-MX/strings.properties
rename : browser/components/newtab/locales/et/strings.properties => browser/components/newtab/locales-src/et/strings.properties
rename : browser/components/newtab/locales/eu/strings.properties => browser/components/newtab/locales-src/eu/strings.properties
rename : browser/components/newtab/locales/fa/strings.properties => browser/components/newtab/locales-src/fa/strings.properties
rename : browser/components/newtab/locales/ff/strings.properties => browser/components/newtab/locales-src/ff/strings.properties
rename : browser/components/newtab/locales/fi/strings.properties => browser/components/newtab/locales-src/fi/strings.properties
rename : browser/components/newtab/locales/fr/strings.properties => browser/components/newtab/locales-src/fr/strings.properties
rename : browser/components/newtab/locales/fy-NL/strings.properties => browser/components/newtab/locales-src/fy-NL/strings.properties
rename : browser/components/newtab/locales/ga-IE/strings.properties => browser/components/newtab/locales-src/ga-IE/strings.properties
rename : browser/components/newtab/locales/gd/strings.properties => browser/components/newtab/locales-src/gd/strings.properties
rename : browser/components/newtab/locales/gl/strings.properties => browser/components/newtab/locales-src/gl/strings.properties
rename : browser/components/newtab/locales/gn/strings.properties => browser/components/newtab/locales-src/gn/strings.properties
rename : browser/components/newtab/locales/gu-IN/strings.properties => browser/components/newtab/locales-src/gu-IN/strings.properties
rename : browser/components/newtab/locales/he/strings.properties => browser/components/newtab/locales-src/he/strings.properties
rename : browser/components/newtab/locales/hi-IN/strings.properties => browser/components/newtab/locales-src/hi-IN/strings.properties
rename : browser/components/newtab/locales/hr/strings.properties => browser/components/newtab/locales-src/hr/strings.properties
rename : browser/components/newtab/locales/hsb/strings.properties => browser/components/newtab/locales-src/hsb/strings.properties
rename : browser/components/newtab/locales/hu/strings.properties => browser/components/newtab/locales-src/hu/strings.properties
rename : browser/components/newtab/locales/hy-AM/strings.properties => browser/components/newtab/locales-src/hy-AM/strings.properties
rename : browser/components/newtab/locales/ia/strings.properties => browser/components/newtab/locales-src/ia/strings.properties
rename : browser/components/newtab/locales/id/strings.properties => browser/components/newtab/locales-src/id/strings.properties
rename : browser/components/newtab/locales/is/strings.properties => browser/components/newtab/locales-src/is/strings.properties
rename : browser/components/newtab/locales/it/strings.properties => browser/components/newtab/locales-src/it/strings.properties
rename : browser/components/newtab/locales/ja-JP-mac/strings.properties => browser/components/newtab/locales-src/ja-JP-mac/strings.properties
rename : browser/components/newtab/locales/ja/strings.properties => browser/components/newtab/locales-src/ja/strings.properties
rename : browser/components/newtab/locales/ka/strings.properties => browser/components/newtab/locales-src/ka/strings.properties
rename : browser/components/newtab/locales/kab/strings.properties => browser/components/newtab/locales-src/kab/strings.properties
rename : browser/components/newtab/locales/kk/strings.properties => browser/components/newtab/locales-src/kk/strings.properties
rename : browser/components/newtab/locales/km/strings.properties => browser/components/newtab/locales-src/km/strings.properties
rename : browser/components/newtab/locales/kn/strings.properties => browser/components/newtab/locales-src/kn/strings.properties
rename : browser/components/newtab/locales/ko/strings.properties => browser/components/newtab/locales-src/ko/strings.properties
rename : browser/components/newtab/locales/lij/strings.properties => browser/components/newtab/locales-src/lij/strings.properties
rename : browser/components/newtab/locales/lo/strings.properties => browser/components/newtab/locales-src/lo/strings.properties
rename : browser/components/newtab/locales/lt/strings.properties => browser/components/newtab/locales-src/lt/strings.properties
rename : browser/components/newtab/locales/ltg/strings.properties => browser/components/newtab/locales-src/ltg/strings.properties
rename : browser/components/newtab/locales/lv/strings.properties => browser/components/newtab/locales-src/lv/strings.properties
rename : browser/components/newtab/locales/mai/strings.properties => browser/components/newtab/locales-src/mai/strings.properties
rename : browser/components/newtab/locales/mk/strings.properties => browser/components/newtab/locales-src/mk/strings.properties
rename : browser/components/newtab/locales/ml/strings.properties => browser/components/newtab/locales-src/ml/strings.properties
rename : browser/components/newtab/locales/mr/strings.properties => browser/components/newtab/locales-src/mr/strings.properties
rename : browser/components/newtab/locales/ms/strings.properties => browser/components/newtab/locales-src/ms/strings.properties
rename : browser/components/newtab/locales/my/strings.properties => browser/components/newtab/locales-src/my/strings.properties
rename : browser/components/newtab/locales/nb-NO/strings.properties => browser/components/newtab/locales-src/nb-NO/strings.properties
rename : browser/components/newtab/locales/ne-NP/strings.properties => browser/components/newtab/locales-src/ne-NP/strings.properties
rename : browser/components/newtab/locales/nl/strings.properties => browser/components/newtab/locales-src/nl/strings.properties
rename : browser/components/newtab/locales/nn-NO/strings.properties => browser/components/newtab/locales-src/nn-NO/strings.properties
rename : browser/components/newtab/locales/oc/strings.properties => browser/components/newtab/locales-src/oc/strings.properties
rename : browser/components/newtab/locales/pa-IN/strings.properties => browser/components/newtab/locales-src/pa-IN/strings.properties
rename : browser/components/newtab/locales/pl/strings.properties => browser/components/newtab/locales-src/pl/strings.properties
rename : browser/components/newtab/locales/pt-BR/strings.properties => browser/components/newtab/locales-src/pt-BR/strings.properties
rename : browser/components/newtab/locales/pt-PT/strings.properties => browser/components/newtab/locales-src/pt-PT/strings.properties
rename : browser/components/newtab/locales/rm/strings.properties => browser/components/newtab/locales-src/rm/strings.properties
rename : browser/components/newtab/locales/ro/strings.properties => browser/components/newtab/locales-src/ro/strings.properties
rename : browser/components/newtab/locales/ru/strings.properties => browser/components/newtab/locales-src/ru/strings.properties
rename : browser/components/newtab/locales/si/strings.properties => browser/components/newtab/locales-src/si/strings.properties
rename : browser/components/newtab/locales/sk/strings.properties => browser/components/newtab/locales-src/sk/strings.properties
rename : browser/components/newtab/locales/sl/strings.properties => browser/components/newtab/locales-src/sl/strings.properties
rename : browser/components/newtab/locales/sq/strings.properties => browser/components/newtab/locales-src/sq/strings.properties
rename : browser/components/newtab/locales/sr/strings.properties => browser/components/newtab/locales-src/sr/strings.properties
rename : browser/components/newtab/locales/sv-SE/strings.properties => browser/components/newtab/locales-src/sv-SE/strings.properties
rename : browser/components/newtab/locales/ta/strings.properties => browser/components/newtab/locales-src/ta/strings.properties
rename : browser/components/newtab/locales/te/strings.properties => browser/components/newtab/locales-src/te/strings.properties
rename : browser/components/newtab/locales/th/strings.properties => browser/components/newtab/locales-src/th/strings.properties
rename : browser/components/newtab/locales/tl/strings.properties => browser/components/newtab/locales-src/tl/strings.properties
rename : browser/components/newtab/locales/tr/strings.properties => browser/components/newtab/locales-src/tr/strings.properties
rename : browser/components/newtab/locales/uk/strings.properties => browser/components/newtab/locales-src/uk/strings.properties
rename : browser/components/newtab/locales/ur/strings.properties => browser/components/newtab/locales-src/ur/strings.properties
rename : browser/components/newtab/locales/uz/strings.properties => browser/components/newtab/locales-src/uz/strings.properties
rename : browser/components/newtab/locales/vi/strings.properties => browser/components/newtab/locales-src/vi/strings.properties
rename : browser/components/newtab/locales/zh-CN/strings.properties => browser/components/newtab/locales-src/zh-CN/strings.properties
rename : browser/components/newtab/locales/zh-TW/strings.properties => browser/components/newtab/locales-src/zh-TW/strings.properties
extra : moz-landing-system : lando
2018-10-18 05:00:47 +00:00
Daniel Varga 7460807a56 Backed out changeset f9cf33c52739 (bug 1498715) on request by nalexander for local developer failures. a=backout 2018-10-17 22:02:34 +03:00
Csoregi Natalia 6c966e4d3a Merge inbound to mozilla-central. a=merge 2018-10-17 19:53:56 +03:00
Bob Clary 26b400b059 Bug 1499511 - [mozdevice] Support single-quotes in adb command line, r=gbrown. 2018-10-17 06:53:29 -07:00
Valentin Gosu 055117366d Bug 1487100 - Allow opening the input stream for original content when alt-data is available r=michal,luke
In trying to use fetch with alt-data, we sometimes want the benefit of using alt-data but the JS consumer actually needs to use the original HTTP response from the server.
To get around this problem, we introduce a new API - nsICacheInfoChannel.getOriginalInputStream(nsIInputStreamReceiver) that asyncly receives the input stream containing the HTTP response in the cache entry.

Depends on D8071

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

--HG--
extra : rebase_source : 43d92c631b964c52b551a700b0954276e91695d6
extra : source : 7f9d03c29a6ffd82c1b5e17c14e27a2ae9d64434
2018-10-17 12:27:37 +00:00
Valentin Gosu 5ac68030f7 Bug 1487100 - Allow calling nsICacheInfoChannel.preferAlternativeDataType(altDataType, contentType) multiple times r=michal,luke
This patch changes the way we set and handle the preferred alternate data type.
It is no longer just one choice, but a set of preferences, each conditional
on the contentType of the resource.

For example:
  var cc = chan.QueryInterface(Ci.nsICacheInfoChannel);
  cc.preferAlternativeDataType("js-bytecode", "text/javascript");
  cc.preferAlternativeDataType("ammended-text", "text/plain");
  cc.preferAlternativeDataType("something-else", "");

When loaded from the cache, the available alt-data type will be checked against
"js-bytecode" if the contentType is "text/javascript", "ammended-text" if the contentType is "text/plain" or "something-else" for all contentTypes.
Note that the alt-data type could be "something-else" even if the contentType is "text/javascript".

The preferences are saved as an nsTArray<mozilla::Tuple<nsCString, nsCString>>.

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

--HG--
extra : rebase_source : eb4961f05a52e557e7d2d986d59e0a2cf18a3447
extra : source : dd1c31ea78c2b15d14750d137037a54d50719997
2018-10-17 13:58:30 +00:00
Masayuki Nakano 09c4ea6dd3 Bug 1482425 - PresShell::PageMove() should use different rules to look for a container element for aExtend value r=smaug
PresShell::PageMove() climbs up to parent document when there is no scrollable
parent in current document.  However, if aExtend is true, it should expand
Selection in the document itself.  Therefore, it needs different rules to
look for container of expanding Selection from scrollable element to scroll.

Additionally, old rules (i.e., before the fix of bug 1369072 which caused
this regression) were also buggy.  It used parent scrollable element or
root scrollable element simply.  Therefore, if found scrollable element is
ancestor of selection limiter, it didn't work as expected.

This patch creates nsFrameSelection::GetFrameToPageSelect() to retrieve
per-page selection container element with the following rules:
- look for a scrollable element in selection limiter.
- if there is no scrollable element, use selection limiter.
- if there is no selection limiter, use the root frame.

So, nsFrameSelection::CommonPageMove() should take nsIFrame rather than
nsIScrollableFrame since container of per-page selection may be used in
non-scrollable contenteditable element.  If it's called with non-scrollable
frame, it needs to compute the expanding range with the frame size.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 04:42:53 +00:00
Jared Wein 755c61d96f Bug 1497039 - Put a placeholder in privacy.xul that will be used to inject the form-autofill section. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D8892

--HG--
extra : moz-landing-system : lando
2018-10-18 03:42:59 +00:00
Dorel Luca 1a48c88d19 Backed out 2 changesets (bug 1487100) for XPCShell failures in netwerk/test/unit_ipc/test_alt-data_simple_wrap.js
Backed out changeset 7f9d03c29a6f (bug 1487100)
Backed out changeset dd1c31ea78c2 (bug 1487100)
2018-10-18 05:51:42 +03:00
Thomas Wisniewski 832717d698 Bug 1499533 - Fix console log stringifying bug in webcompat reporter; r=miketaylr
Fix console log stringifying bug in webcompat reporter

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

--HG--
extra : moz-landing-system : lando
2018-10-18 02:51:30 +00:00
Dorel Luca 116bfa4345 Backed out changeset ca4774548edb (bug 1499534) for build bustage on gtest 2018-10-18 02:59:35 +03:00
Chris Pearce 778fa3defa Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois
The Webrender Pref Experiment is reporting its pref via telemetry and that
is reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

So add reporting for two dummy prefs, one with a default value, and one
without. We intend to push out Normandy rules to report these prefs to
double-check that Normandy is working as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 23:48:12 +00:00
Ehsan Akhgari f6828ef5bd Bug 1498591 - Add a test to ensure that navigating a subframe will revoke its storage access r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8555

--HG--
extra : moz-landing-system : lando
2018-10-17 23:25:47 +00:00
Daniel Holbert d2eff8f7ac Bug 1499569: Rewrite test_flex_items.html to be simpler & easier to extend. r=bradwerth
Primary changes:
 - Rewrap some lines that are too long.
 - Adjust some failure-messages with s/has/should have/ etc.
 - Replace 'nearlyEqual' function with the standard mochitest
   'isfuzzy()' API (which is like 'is()' with an extra epsilon arg)
 - Remove dependence on hardcoded element IDs, and simply walk over the
   flex container's children in order instead (still noting each child node
   and making sure it matches the node in the flex API).

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

--HG--
extra : moz-landing-system : lando
2018-10-17 21:42:54 +00:00
Jeff Gilbert de3080c204 Bug 1499870 - Fix -Wlogical-op-parentheses. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D9033

--HG--
extra : moz-landing-system : lando
2018-10-17 21:11:27 +00:00
Tom Prince d5d43ae116 No bug: [taskgraph] Cleanup copy-pasted docstring for `taskgraph.transforms.balrog_submit`; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D9036

--HG--
extra : moz-landing-system : lando
2018-10-17 22:04:03 +00:00