Commit Graph

610942 Commits

Author SHA1 Message Date
Cosmin Sabou
1ef5285005 Merge autoland to mozilla-central. a=merge 2018-08-24 00:38:43 +03:00
Jeff Muizelaar
3fc60f7e6c Bug 1473943. Make blob bounds checks safe. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D4038

--HG--
extra : moz-landing-system : lando
2018-08-23 19:53:21 +00:00
Johann Hofmann
21681630cf Bug 1483727 - Correctly test the TP UI state when CB UI is off. r=francois
Differential Revision: https://phabricator.services.mozilla.com/D4167

--HG--
extra : moz-landing-system : lando
2018-08-23 21:31:22 +00:00
Luke Wagner
768398fad3 Bug 1480998 - Baldr: fix race in wasm signal handler if browser crashes during shutdown (r=lth,bbouvier)
--HG--
extra : rebase_source : 63d44b4ab39e1d8fc8cbeedf3a1b5272ccd4c231
2018-08-23 11:23:52 -05:00
Luke Wagner
7d61d0f147 Bug 1485162 - Baldr: remove confusing StackDecrementForCall() overloads (r=bbouvier)
--HG--
extra : rebase_source : 6f95f9dde4a55b5484d8becf4e569a3592805dbf
2018-08-23 11:23:52 -05:00
Luke Wagner
08e1df1673 Bug 1485162 - remove dead CodeGeneratorShared field (r=bbouvier)
--HG--
extra : rebase_source : 70a85e1fd257b38dcc953e109162011785d44b46
2018-08-23 11:23:52 -05:00
Nathan Froyd
29a5f5b36b Bug 1485696 - add aarch64 windows support to ipc's build_config.h; r=jld 2018-08-23 13:27:57 -04:00
Alexandre Poirot
fe663d5817 Bug 1485702 - Remove unused WalkerFront.search's selectorsOnly argument. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4089

--HG--
extra : moz-landing-system : lando
2018-08-23 15:36:48 +00:00
Luca Greco
52b320151f Bug 1467352 - Fix test_ext_storage_telemetry intermittency on win64-ccov. r=mixedpuppy
I've been unable to reproduce this intermittent locally (even by creating a
"win64 ccov debug" build on Windows 10), but it has been easy enough to trigger
on try.

The failure is triggered when the test has been completed and it is unloading the test extension1,
by the `NS_ERROR_FILE_ACCESS_DENIED` error raised from Extension's `cleanupGeneratedFile`
(https://searchfox.org/mozilla-central/rev/f2ac80ab7dbde5400a3400d463e07331194dec94/toolkit/components/extensions/Extension.jsm#1835-1841).

By comparing the test behavior when it runs successfully locally and fails on try, I've been
finally able to identify what goes wrong when it fails:

The reason for the `NS_ERROR_FILE_ACCESS_DENIED` is the ScriptCache entry for the
test extension1's content script, which is created when we create and load the
test content page which triggers it, this script cache entry should be cleared
when the extension shutdown (and it is cleared when the test runs successfully)

Then, right after the content script is executed, the contentPage is closed and this
is where something goes (intermittently) wrong with the ipc (and the following pipe errors
may be related to it: https://treeherder.mozilla.org/logviewer.html#?job_id=194750915&repo=mozilla-central&lineNumber=2692-2702) and, because of that, during the extension shutdown the "Extension:Shutdown" message broadcasted
to all the process never reaches the process where the content script cache entry has been
created (as well as "Extension:FlushJarCache" message sent to ensure that the jar cache is flushed
in every process), and so the XPI file is still kept active by that process and so it fails to be
removed on windows (where the usual `NS_ERROR_FILE_ACCESS_DENIED` is raised in this kind of scenarios).

The underlying issue doesn't seem to be strictly related to the behavior that this test file is
verifying (that is "checking that the expected telemetry data is being collected when the storage
APIs are being used"), and so I think that it would be reasonable to prevent the intermittent
by fixing the test (and closing the page after we unload the test extension 1 is enough to ensure
that the script cache entry is always cleared as expected and the file can be removed successfully
when the test is exiting).

The following push to try seems to confirm it (the oranges are triggered by another unrelated test
which fails intermittently in win64 ccov builds):

- https://treeherder.mozilla.org/#/jobs?repo=try&revision=978e21c57ef084c4115703bf827306320e81bcad

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

--HG--
extra : moz-landing-system : lando
2018-08-23 17:50:50 +00:00
Mike Shal
02a25dd9b0 Bug 1480494 - Update tup toolchain to e948a999a38fefa0ac0d92f6357f82aca2f9cb17; r=chmanchester
This includes a fix for the style build script hang where pthreads fork
subprocesses, as well as a fix for ignoring the icecream file lock.

MozReview-Commit-ID: 29eNcbNtwB1

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

--HG--
extra : moz-landing-system : lando
2018-08-23 16:58:29 +00:00
Bryce Van Dyk
49af5cede4 Bug 1477492 - Add 'CreateCDMProxy' to list of allowed leaks for encrypted-media wpt. r=jgraham
CreateCDMProxy in its fully qualified form is already an allowed leak, but per
bug 1477492 certain kinds of builds appear to log the unqualified function name
in leak sanitizer logs. Since the allowed list works on string matching, this
unqualified version is then not matched and tests are marked as failures. As the
source of this different behaviour is not clear, this patch makes the
unqualified function name also allowed.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 14:05:57 +00:00
Sebastian Hengst
c45b975559 Bug 1485643 - Use pref dom.datatransfer.mozAtAPIs instead of truncated name. r=nika a=RyanVM
Reviewers: nika

Tags: #secure-revision

Bug #: 1485643

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

--HG--
extra : amend_source : 7d2a007b532ccd305852529ff23ffdbaffa3b621
2018-08-23 16:44:33 +03:00
Csoregi Natalia
f7cc5bd6b5 Backed out changeset 933160fab822 (bug 1485471) for browser_browser_toolbox_debugger.js failures. a=backout 2018-08-23 15:16:14 +03:00
Csoregi Natalia
67cc8b873a Backed out 3 changesets (bug 956376) for browser_dbg-quick-open.js failures. a=backout
Backed out changeset 3e61a2874367 (bug 956376)
Backed out changeset 8169bed1fafc (bug 956376)
Backed out changeset 46dfdfe14067 (bug 956376)
2018-08-23 15:15:31 +03:00
Gurzau Raul
ae3cd0bd10 Merge inbound to mozilla-central. a=merge 2018-08-23 12:41:18 +03:00
Tooru Fujisawa
5f6965d567 Bug 1454285 - Part 3: Add test. r=jwalden 2018-08-23 15:48:13 +09:00
Tooru Fujisawa
1f7a0031a1 Bug 1479813 - Remove unnecessary test for delazification. r=jimb 2018-08-23 15:48:07 +09:00
Mark Hammond
dd210449cd Bug 1484085 - don't log failure to obtain clients engine. r=tcsc
MozReview-Commit-ID: Aj31c1OZnFf

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

--HG--
extra : moz-landing-system : lando
2018-08-23 02:00:27 +00:00
Emilio Cobos Álvarez
2340488c8b Bug 1485430 - Simplify PlaceBelowCurrentFloats. r=dbaron,mats
No reason to pass our own member as an argument.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 23:29:22 +00:00
Nicolas Silva
e260c539f2 Bug 1485441 - Add diagnostics to GL compositor shader failures and avoid crashing release builds. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D4079

--HG--
extra : moz-landing-system : lando
2018-08-23 14:46:50 +00:00
Gurzau Raul
9a8991af69 Backed out changeset b168deee0bcf (bug 1392106) for failures on canvas/1304353-text-global-composite-op-1.html on a CLOSED TREE
--HG--
extra : amend_source : 3529e35d35d31def6e2da65217dc1343885dfa3a
2018-08-23 18:16:05 +03:00
Henri Sivonen
f7d4cef573 Bug 1485325 - Avoid nsTSubstring::GetMutableData() in URL classifier. r=francois
MozReview-Commit-ID: EzyOTuEZ9Ot

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

--HG--
extra : moz-landing-system : lando
2018-08-22 23:07:59 +00:00
Greg Mierzwinski
9b2b126a32 Bug 1473048 - Prevent code coverage builds from running when using try option syntax. r=ahal
This patch completely disables *ccov, and *jsdcov builds and tests when scheduling them through try option syntax as these build variations use a lot of resources and are rarely needed to be scheduled. The only way to schedule code coverage from now on will be with the |mach try fuzzy| tool.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 20:45:51 +00:00
Nicolas Chevobbe
8124e26c9f Bug 1484682 - Ensure the sidebar can overflow; r=Honza.
The sidebar regressed at some point and wasn't showing
a scrollbar when it was needed. This patch fixes that
by making the sidebar overflow and adds a test to make
sure we don't regress.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 09:46:02 +00:00
Gurzau Raul
ac1914ecba Backed out 6 changesets (bug 1421501) for bustages on security/nss/lib/freebl/mpi/mp_comba.c on a CLOSED TREE
Backed out changeset cae4910806c7 (bug 1421501)
Backed out changeset 600a005d3613 (bug 1421501)
Backed out changeset 7381597721d2 (bug 1421501)
Backed out changeset 1ee0d35a041f (bug 1421501)
Backed out changeset 772dea1abb7f (bug 1421501)
Backed out changeset c119767aec7b (bug 1421501)
2018-08-23 17:13:42 +03:00
Yaron Tausky
1abdde54ea Bug 1480702: Rewrite test to avoid relying on unspecified/erroneous behavior r=asuth
After analyzing test_request.html it became clear that it relied on two false
assumptions:
1. It assumed that a service worker is notified that it's being installed before
   any client can interact with it.
2. It assumed that a service worker will always be installed upon registration,
   if it was unregistered before.
The first assumption is not backed by the spec; it seems that the opposite behavior
is the correct one (https://github.com/w3c/ServiceWorker/issues/1347). The second
assumption ignores the possibility of resurrection, where a service worker is re-
registered before getting uninstalled.

This commit addresses both problems by not relying on the installation phase,
instead passing the script URL as a search parameter and loading it at service
worker script evaluation time. It then runs the test function in response to a
message from the client.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 14:04:35 +00:00
Makoto Kato
cac0bc6570 Bug 1434589 - Part 2. Update moz.build. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D3608

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:19 +00:00
Makoto Kato
58535b8081 Bug 1434589 - Part 1. Add gn-configs for Linux/aarch64. r=chmanchester
When building binaries for Linux/aarch64, ./mach configure cannot generate
Makefile by the following error.  So we need Linux/aarch64's gn-configs.


 1:07.80 mozbuild.frontend.reader.SandboxValidationError:
 1:07.80 ==============================
 1:07.80 FATAL ERROR PROCESSING MOZBUILD FILE
 1:07.80 ==============================
 1:07.80 The error occurred while processing the following file or one of the files it includes:
 1:07.80     /hg/mozilla-central/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
 1:07.80 The error occurred when validating the result of the execution. The reported error is:
 1:07.80     Source file should only be added to UNIFIED_SOURCES once: /media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c

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

--HG--
extra : moz-landing-system : lando
2018-08-22 19:45:38 +00:00
Brindusan Cristian
477abceb8a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 06:43:53 +03:00
Brindusan Cristian
7ac19aed65 Merge inbound to mozilla-central. a=merge 2018-08-23 06:41:38 +03:00
Brindusan Cristian
3a6525794b Merge autoland to mozilla-central. a=merge 2018-08-23 06:39:25 +03:00
Ted Campbell
a8e02854ed Bug 1485499 - Reduce size of js::Symbol r=sfink
MozReview-Commit-ID: 4mEHixUnUax

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

--HG--
extra : moz-landing-system : lando
2018-08-23 01:34:37 +00:00
shindli
34bbe66fbd Backed out changeset 2f9c90bd0f2f (bug 1446168) for R3 failures in /tests/reftest/tests/layout/reftests/xul/mac-tab-toolbar-ref.xul 2018-08-23 03:10:03 +03:00
Brian Grinstead
b0a1f4327b Bug 1463669 - Enable syntax highlighting of input in the console output when possible;r=nchevobbe
When you enter JS into the console, we can now syntax highlight it in
the output when CodeMirror is enabled.

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

--HG--
extra : moz-landing-system : lando
2018-08-23 00:09:24 +00:00
alwu
4239949481 Bug 1483703 - part4 : modify current telemtry scalar because we won't block media without audio track anymore. r=cpearce,francois
Since we don't block media without audio track anymore, the original telemetry scalar becomes useless.

We need to change its meaning in order to know the number of allowed autoplay without audio track.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 22:54:05 +00:00
alwu
b26e3f253f Bug 1483703 - part3 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D3672

--HG--
extra : moz-landing-system : lando
2018-08-22 22:52:04 +00:00
alwu
598c2d9bb1 Bug 1483703 - part2 : add telemetry for the media which was blocked before loading metadata and ended up being without audio track. r=cpearce,francois
Add two telemetry scarlar,

"MEDIA_BLOCKED_NO_METADATA" records how many media which was blocked because it hadn't loaded metadata yet.
"MEDIA_BLOCKED_NO_METADATA_ENDUP_NO_AUDIO_TRACK" records how many media which was blocked because it hadn't loaded metadata and ended up for being no audio track.

By collecting those data, we can know the proportion of media which should be autoplay but was blocked because of lacking metadata.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 22:50:54 +00:00
alwu
bb11a649df Bug 1483703 - part1 : allow media without audio track to autoplay. r=cpearce
We would allow media without audio track to autoplay after it had loaded the metadata.

If media hasn't loaded metadata yet, we would treat it as audible media and then block it.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 23:31:58 +00:00
Narcis Beleuzu
77795dbade Backed out changeset ffe0fc382b2f (bug 1369209) for bc failures on browser_ext_management.js. CLOSED TREE 2018-08-23 02:28:19 +03:00
Polly Shaw
06de5fed24 Bug 1482224 Crash in Shutdown due to ProxyAutoConfig still aiming to resolve addressThis crash has arisen due to a loop in ProxyAutoConfig which spins until apending PAC request is complete, even when the ProxyAutoConfig object is beingshut... r=valentin
...down. The remedy to prevent the crash is to exit the loop when the
mShutdown flag is set. This does not attempt to address the underlying cause
of why the request continues to be pending, although this is also a concern.
Files changed:
netwerk/base/ProxyAutoConfig.cpp - expanded lambda containing logic of when
to stop waiting for the request to complete to include a check to the mShutdown
flag. Also logged a warning if the loop is exited because of mShutdown.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 23:23:08 +00:00
Drew Willcoxon
bd0bd8a76a Bug 1483122 - "https" is pushed off left edge of address bar (overlapping buttons!) for long URLs with broken cert configurations r=Gijs
Bug 1470910 broke the positioning because it changed the tag name of .urlbar-input-box but didn't update the related rule in browser.css, and then bug 1480355 landed and made it worse.  This patch fixes the first problem by updating the tag name in the CSS, and it fixes the second problem (and bug 1480355) by setting `direction: ltr` on .urlbar-input-box.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 22:29:52 +00:00
Emilio Cobos Álvarez
353af6324b Bug 1485472 - Avoid a couple addref / release in ParseStyleAttribute. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D4008

--HG--
extra : moz-landing-system : lando
2018-08-22 22:27:12 +00:00
Brindusan Cristian
d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
shindli
a67fd14d8f Backed out changeset 4bf7cca192e7 (bug 1485182) for ES linting failure on a CLOSED TREE 2018-08-22 22:49:43 +03:00
Blake Kaplan
f91879804f Bug 1480965 - Fix review nit. r=asuth
--HG--
extra : rebase_source : 5403d4a11f6753d086fcc7a64314b72e31419a30
2018-08-22 15:34:16 -04:00
Ehsan Akhgari
80b21bd224 Bug 1485182 - Part 2: Add a test case to ensure that http-on-modify-request will be dispatched by requests blocked by tracking protection; r=mayhemer 2018-08-22 15:29:30 -04:00
Matthew Gaudet
b450ce65e6 Bug 1479603 - [Part 12] Simplify getKey computations r=jandem
--HG--
extra : rebase_source : 18a4899debf67a1c3c6c150dc1477dbb217bf3d5
2018-08-22 14:58:33 -04:00
Matthew Gaudet
0d5f96ed92 Bug 1479603 - [Part 11] Remove SharedIC.h,cpp r=jandem
--HG--
extra : rebase_source : 0e649dbe71bed7be79d72f15eac871db5b77d548
2018-08-22 15:12:30 -04:00
Panos Astithas
312fdae0eb Bug 1484243 - Detect vcs automatically in |mach vcs-setup|. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D3942

--HG--
extra : moz-landing-system : lando
2018-08-22 17:26:58 +00:00
Narcis Beleuzu
e50eb3d7ea Backed out changeset ab8b409edb0e (bug 1333994) for dt failures on browser_webconsole_check_stubs_network_event. CLOSED TREE 2018-08-22 21:09:55 +03:00