Commit Graph

615761 Commits

Author SHA1 Message Date
Jeff Muizelaar
c519453957 Bug 1493496. Update Cargo lockfiles re-vendor rust dependencies 2018-09-24 23:17:50 -04:00
Jeff Muizelaar
91009d358f Bug 1493496. Update webrender to commit b83ec3fd994b69f31e9c6b6ffa19426b2b98c66a 2018-09-24 23:16:44 -04:00
Mats Palmgren
d6409e3f5e Bug 1493805 - Initialize ReflowInput::mCBReflowInput also for placeholders, in case we need it for some reason. r=emilio
Bug 1493710 might make this redundant, but it seems like we
should always do this anyway just in case...
2018-09-25 05:03:26 +02:00
Bogdan Tara
43885c58d8 Backed out changeset 0f5f05614d53 (bug 1492795) for failures on EventListener-incumbent-global-1.sub.html CLOSED TREE 2018-09-25 05:30:17 +03:00
Tooru Fujisawa
9bc0d5d15d Bug 1490548 - Always use braces for if/for/while statements in BinAST auto-generated code r=Yoric 2018-09-25 11:04:11 +09:00
Mike Hommey
0121cc3b9f Backout changeset b31288fb959a (bug 1443265). r=froydnj
Because it never actually had an effect until clang 7, where it reveals
the tree is not ready for it. See details in bug 1492743.
2018-09-25 10:54:07 +09:00
Gabriel Luong
697b700c0f Bug 1317102 - Part 3: Disable grid highlighter toggles in the markup when the max highlighter is reached. r=jdescottes
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_grid_display_badge.js => devtools/client/inspector/markup/test/browser_markup_grid_display_badge_01.js
2018-09-24 20:38:11 -04:00
Ted Campbell
f9261f9103 Bug 1493475 - Fixup broken test. r=bustage 2018-09-24 20:22:16 -04:00
Ted Campbell
f90432bc92 Bug 1493475 - Cleanup asm.js parser cleanup. r=luke 2018-09-24 19:54:03 -04:00
Felipe Gomes
3b6840ae9e Bug 1387666 - Disable browser_translation_exceptions.js on debug builds. r=me 2018-09-24 18:45:42 -03:00
Brian Hackett
c5a6b03d14 Bug 1491067 - Templatize and common up redirections code, r=froydnj.
--HG--
extra : rebase_source : e08b130f57c1013ebb40c0d2cc2145947bb63fc6
2018-09-24 11:10:25 -10:00
Geoff Brown
3d58a9d22a Bug 1482413 - Improve diagnostics for test-verify and per-test coverage; r=me,a=test-only 2018-09-24 17:07:38 -06:00
Jean-Yves Avenard
2a38025bd4 Bug 1469711 - P3. Allow HDR vp9 decoding with D3D11 compositor r=bryce
The D3D11 compositor now supports 10 and 12 bits image

Depends on D6498

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

--HG--
extra : moz-landing-system : lando
2018-09-24 01:28:29 +00:00
Jean-Yves Avenard
568993ed7f Bug 1469711 - P2. Add 10/12 bits YUV support to D3D11 legacy compositor. r=mattwoodrow
Depends on D6492

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

--HG--
extra : moz-landing-system : lando
2018-09-24 20:08:26 +00:00
Jean-Yves Avenard
cfc24b769e Bug 1469711 - P1. Add 10/12 bits YUV support to D3D11 compositor. r=mattwoodrow
This change is for D3D11 with Advanced Layers enabled.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 11:18:34 +00:00
Martin Stransky
3595f59e15 Bug 1489963 - Draw scrollbars with Gtk widget state and use backdrop state for inactive scrollbars, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D6763

--HG--
extra : moz-landing-system : lando
2018-09-25 11:57:53 +00:00
Matthew Noorenberghe
4aaa87fe69 Bug 1432939 - Link to Firefox Options/Preferences from the PaymentRequest dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D6724

--HG--
extra : moz-landing-system : lando
2018-09-25 17:26:38 +00:00
Jason Orendorff
e6ab602a75 Bug 1491939 - Part 4: Enable streams on a per-realm basis. Drop dom.streams.enabled and dom.workers.options.streams; use only javascript.options.streams. r=baku
Depends on D6555

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

--HG--
extra : moz-landing-system : lando
2018-09-25 14:11:41 +00:00
Jason Orendorff
aaf539046b Bug 1491939 - Part 3: Centralize configuration of JS realm options from prefs. r=baku
Depends on D6554

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

--HG--
extra : moz-landing-system : lando
2018-09-25 14:11:13 +00:00
Jason Orendorff
fbad3f4692 Bug 1491939 - Part 2: Throw, rather than crash, on trying to instantiate a runtime-disabled class. r=jwalden
The new error is thrown if, for example, you try to create a ReadableStream via
the C++ API while streams are disabled.

Depends on D6553

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

--HG--
extra : moz-landing-system : lando
2018-09-25 17:00:32 +00:00
Jason Orendorff
7cf8a82f09 Bug 1491939 - Part 1: Remove remaining traces of build-time ENABLE_STREAMS option. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D6553

--HG--
extra : moz-landing-system : lando
2018-09-25 14:10:16 +00:00
Kershaw Chang
dc8eeee6b9 Bug 1490235 - Use nsDependentCSubstring in AltDataOutputStreamChild::WriteDataInChunks r=mayhemer
Simply replace the nsCString with nsDependentCSubstring to avoid copying the data. In this way, we can also avoid the potential OOM crash.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 16:56:16 +00:00
Andrew Swan
1c46cdfb02 Bug 1494023 Add missing head.js for extension browser tests r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D6816

--HG--
extra : moz-landing-system : lando
2018-09-25 17:10:59 +00:00
Brendan Dahl
6c049f28fa Bug 1492327 - Mimic XUL activeElement behavior for XUL in XHTML. r=smaug
Return the document element as the activeElement when there is no body
element, the document is chrome privileged, and the document element
is a XUL element.

MozReview-Commit-ID: JFDLAqOmLTS

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

--HG--
extra : moz-landing-system : lando
2018-09-25 16:00:13 +00:00
Martin Stransky
7e77a65a6b Bug 1492764 - Set .left class to headerbar box element as Gtk+ does, r=jhorak
Gtk+ sets .left/.right classes to GtkBox element at GtkHeaderBar according to button placement (left/right).
We don't support that now so set .left at least to be compatible with themes - BlueMenta for instance.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:51:40 +00:00
k88hudson
201a155a88 Bug 1493794 - Add new search-only UI, onboarding localization, strings and bugfixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D6699

--HG--
extra : moz-landing-system : lando
2018-09-25 15:01:42 +00:00
Aaron Klotz
e11485f17c Bug 1493845: Disable cross-process DLL blocklist in ASAN builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6745

--HG--
extra : moz-landing-system : lando
2018-09-25 15:00:03 +00:00
Tim Huang
b0d9c3aa78 Bug 680300 - Part 2: Add a test case for ensuring no error reporting when loading an unknown protocol. r=smaug
This test case will try to navigate an iframe to an unknown protocol and
check whether no errors been reported.

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

--HG--
extra : moz-landing-system : lando
2018-09-23 22:24:05 +00:00
Tim Huang
22b72f2e9b Bug 680300 - Part 1: Stopping reporting errors when loading an unknown external protocol. r=smaug
This patch makes the docshell not to report an error if it is a unknown
protocol error. However, we will still display the error page in this
case.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 07:50:28 +00:00
Gabriele Svelto
1b38644136 Bug 1493365 - Reduce the amount of memory consumed when reading symbol files r=ted
When reworking the script each entry holding a function name was replaced by a
dictionary holding both the function name and its size. This significantly
increased memory consumption as using a full-fledged dictionary for only two
fields is very space inefficient. This patch uses a named tuple instead of a
dictionary for every entry, reducing memory consumption by almost four times.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 20:43:37 +00:00
Emilio Cobos Álvarez
939fb708fe Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

Differential Revision: https://phabricator.services.mozilla.com/D6700
2018-09-25 09:21:23 +02:00
Andrew Swan
344c8c7036 Bug 1484325 Go back to chrome.manifest for formautofill locale registration r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D6690

--HG--
extra : moz-landing-system : lando
2018-09-25 06:03:20 +00:00
Julian Descottes
26887111d9 Bug 1489434 - Add i18n for DeviceSidebarItemAction component;r=birtles
Depends on D6614

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:52 +00:00
Julian Descottes
b246d48d96 Bug 1489434 - Add i18n for ConnectPage component;r=birtles
Depends on D6613

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:13 +00:00
Julian Descottes
641123a0a4 Bug 1489434 - Add i18n for NetworkLocationsForm component;r=birtles
Depends on D6612

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:37:19 +00:00
Julian Descottes
e22e59e285 Bug 1489434 - Add i18n for NetworkLocationsList component;r=birtles
Depends on D6611

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:35:23 +00:00
Julian Descottes
8b8f412ae2 Bug 1489427 - Add i18n for WorkerDetail component;r=birtles
Depends on D6610

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:09:09 +00:00
Dorel Luca
5e538e879e Backed out changeset eae95de0eabe (bug 1480104) for spidermonkey failure 2018-09-25 09:17:02 +03:00
Ehsan Akhgari
1909662130 Bug 1493682 - Part 3: Add tests for the new prefs r=baku
The image cache tests didn't follow the previous naming convention
in order to make it clearer how the tests are set up using the
naming conventions of the files.

These tests should be unified into a single file soon.

Depends on D6748

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

--HG--
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache4-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache3.js => toolkit/components/antitracking/test/browser/browser_imageCache4-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-2.js
extra : moz-landing-system : lando
2018-09-25 05:40:16 +00:00
Ehsan Akhgari
1522f71329 Bug 1493682 - Part 2: Fix the image cache tests r=baku
The first line which this patch is fixing was clobbering the object
that the tests were setting up, so all these tests were testing was
the blocking callback of the default runTest() path before this
patch.

Depends on D6747

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

--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:14 +00:00
Ehsan Akhgari
4ad659ac56 Bug 1493682 - Part 1: Introduce two new prefs for controlling whether the content blocking allow list would be honoured r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6747

--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:12 +00:00
Denis Palmeiro
484340a143 Bug 1480104: Provide an API for the gecko profiler, introduce a string hash table to remove duplicate data, and add necessary locks and changes to support the profiler start/stop routines r=sfink
There are a number of changes involved here which I'll try to summarize below:
1.  Provide API calls to start & stop the tracelogger.  These will enable and disable a set of events to trace.
2.  Provide API calls to reset the tracelogger.  This will empty the data structures used by the trace logger so that a new tracing session can occur without previous data corrupting it.
3.  Provide API calls to write out the trace logger data in JSON.  This will write out an array of strings which acts as the trace logger event dictionary, and an array of events with timestamps.
4.  Implement a new way of storing the event strings.  Previously, all strings were saved in the format "script:line:column".  However, this led to a lot of duplication because many events would use the same script at different locations.  Instead, we now save only the script string into a vector, and then hash it and save that into a table for reuse.  The line and column will be saved as part of the text id payloads.  Overall, this saves us about 100-150 MB of data for about a 10 second trace.
5.  Add some necessary locks for when the gecko profiler calls some of the API routines from another thread.

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

--HG--
extra : moz-landing-system : lando
2018-09-23 21:51:44 +00:00
Ehsan Akhgari
6cdbf2a372 Bug 1491047 - Add a telemetry probe for measuring how many browsing sessions have had a private window opened in them; data-review=francois r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D6063

--HG--
extra : moz-landing-system : lando
2018-09-25 04:53:40 +00:00
Andi-Bogdan Postelnicu
d3f9b58b9e Bug 1493641 - embed the libLLVM.dylib into clang-tidy artifact on macOS. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6697

--HG--
extra : moz-landing-system : lando
2018-09-24 20:44:27 +00:00
Csoregi Natalia
5b32dd158a Backed out changeset 3dace40ce193 (bug 1492669) for build bustage on Result.h:308. CLOSED TREE 2018-09-25 07:11:39 +03:00
Marcos Cáceres
d8a1368253 Bug 1493052 - MerchantValidationEvent.complete() must throw InvalidStateError.
Spec conformance

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

--HG--
extra : moz-landing-system : lando
2018-09-24 05:39:55 +00:00
Robin Templeton
a0d327b13b bug 1492669 - Implement BigInt support for relational comparison operators. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D6558

--HG--
extra : moz-landing-system : lando
2018-09-25 02:18:09 +00:00
Csoregi Natalia
b968b0a4ff Backed out 2 changesets (bug 1491889) for bustages on Logging.h:262. CLOSED TREE
Backed out changeset cb9048ebfec3 (bug 1491889)
Backed out changeset f8c53e2fdc7a (bug 1491889)
2018-09-25 06:53:10 +03:00
Bryce Van Dyk
86b7d71d5b Bug 1491889 - Update ChromiumCDMChild to hold a promise to track CDM init. r=cpearce
This changeset extends the async initialize functionality added in the prior
changeset by wrapping the Initialize resolver in a promise. This allows us to
use familiar promise machinery to handle async init of the CDM. We do this by
creating the promise and setting up handling when we receive the init message on
the ChromiumCDMChild, but resolving the promise in the `OnInitialized` callback
from the CDM to the ChromiumCDMChild.

We still only support CDM9 as of this changeset. As such, we now manually call
`OnInitialized` to make sure the ChromiumCDMParent is notified that the CDM has
initialized. When we implement the CDM10 interface, these manual calls will be
moved to the CDM9 compat layer, and Widevine CDM10+ can perform its own
callback.

This changeset adds a failure path to initialization, as the `OnInitialized`
interface we implement allows for failure. However, since we manually call into
this path for CDM9 we shouldn't get any such failures. Once CDM10 is fully
implemented its possible that the init callback could indicate failure, and the
handling here would be invoked.

Depends on D6061

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

--HG--
extra : moz-landing-system : lando
2018-09-25 02:43:55 +00:00
Bryce Van Dyk
2fe058b38b Bug 1491889 - Update chromium CDM interface to accommodate async init. r=cpearce
Starting at the Widevine CDM10 interface, the CDM is expected to make a callback
to an `OnInititalized` function to signal initialization has taken place. Prior
to this, it was sufficient to call the init function on the CDM, with no waiting
for a callback.

This changeset puts in place the IPDL to support async init, as well as the
handling for the ChromiumCDMParent and ChromiumCDMProxy. The code is not fully
updated to handle CDM10, so CDM9 is the only compatible CDM. Because CDM9 does
not perform the init callback, we immediately call our IPDL to signal init has
taken place. This also accommodates the clearkey case, which uses the CDM9
interface.

Further changesets will put in place more elaborate handling to accommodate the
possible failure of init, as well as implementing the handling `OnInitialized`
function explicitly.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 02:42:26 +00:00