Commit Graph

610835 Commits

Author SHA1 Message Date
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
Tom Prince
cbd96979ae Bug 1478995: Disable nodejs in source tasks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3988

--HG--
extra : source : 158ae9db750eda14c4a6653955e2932f46a38d7a
extra : amend_source : c35a7493fde3ae404edc436d7e37a25e1059025a
extra : intermediate-source : 125d36d0a59d1d5b50ed482027e7182d44e33f36
2018-08-22 09:54:07 -06:00
Adam Gashlin
1221ad7795 Bug 1485245: Back out Move -> std::move change in 7zstub. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D3945

--HG--
extra : moz-landing-system : lando
2018-08-22 14:46:50 +00:00
Razvan Caliman
e5f4c6cf3d Bug 1485326 - Set the Font Editor pref to true for all channels. r=gl
Let the Font Editor feature ride the trains.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 15:53:44 +00:00
Brendan Dahl
4b4b2327fe Bug 1485147 - Fix app menu for browser.xhtml. r=bgrins
The XUL elements were not being created because of the wrong createElement
call.

MozReview-Commit-ID: 54RqUJQAqHq

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

--HG--
extra : moz-landing-system : lando
2018-08-22 17:04:52 +00:00
Jan Odvarko
dfb39f81d3 Bug 1333994 - The network tab should flag resources on the tracking protection list; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D3862

--HG--
extra : moz-landing-system : lando
2018-08-22 17:03:30 +00:00
Daniel Holbert
f566163698 Bug 1485142: Make url-classifier 'PartialHashHex()' API return a nsAutoCString instead of nsCString, to address build warning & reduce copying. r=gcp
Before this patch -- with the nsCString return type -- we have to do heap
allocation and copying to produce the return value.  But the callers don't
actually care about having a nsCString -- they just call .get() to access the
character buffer, and log it, and then they're done. They can do this just as
easily with the stack-allocated nsAutoCString that PartialHashHex() works with
locally, so let's change the return type so that Return Value Optimization
can give them that variable directly and avoid needless copying/allocation.

This patch addresses the following clang 8.0 build warning:
 LookupCache.h:63:12 [-Wreturn-std-move]
 local variable 'hex' will be copied despite being returned by name

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

--HG--
extra : moz-landing-system : lando
2018-08-22 16:51:56 +00:00
Jan Henning
36ca86c711 Bug 1484472 - Avoid FileUriExposedException in ExternalIntentDuringPrivateBrowsingPromptFragment. r=jchen
The fragment is also used to handle intents launched through GeckoAppShell.
openUriExternal(), such as e.g. when launching downloaded files from
about:downloads.

The synchronous code path when not in private browsing is already covered by the
code added in bug 1450449, but the async path through the fragment when in
private browsing needs to be handled separately.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 16:50:04 +00:00
Jan Henning
e04236b5f9 Bug 1484823 - Fix Android build errors with NDK r18-beta1. r=snorp
Getting a working local build with the system clang might be tricky, while
building with NDK r17 clang is broken (bug 1484723).
NDK r18-beta1 fixes this, but also made all jvalue* method parameters in jni.h
const,so in order to support building with it we need to adjust our relevant
function types, too.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 16:01:33 +00:00
Sebastian Hengst
e7f78d6d6c Bug 1484440 - Set browser.security.newcerterrorpage.enabled for exception dialog button test r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3965

--HG--
extra : moz-landing-system : lando
2018-08-22 15:25:17 +00:00
Noemi Erli
e0e342c6ae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 19:31:52 +03:00
Noemi Erli
f2ac80ab7d Merge inbound to mozilla-central. a=merge 2018-08-22 19:28:33 +03:00
Mark Banner
bf2dba5c9f Bug 1476228 - Enable comma-dangle ESLint rule for Places directories. r=mikedeboer
MozReview-Commit-ID: K8HcZfyF4Sz

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

--HG--
extra : moz-landing-system : lando
2018-08-22 15:44:43 +00:00
arthur.iakab
457fa2b8ab Backed out 7 changesets (bug 1473513) for failing devtools e.g. leakcheck | default process: 1618727 bytes leaked
Backed out changeset deb8812556ef (bug 1473513)
Backed out changeset 5bf38cfa04f9 (bug 1473513)
Backed out changeset 6e157bea362a (bug 1473513)
Backed out changeset 12eb1139a802 (bug 1473513)
Backed out changeset ce86ea60a31c (bug 1473513)
Backed out changeset 7acc52a7f81f (bug 1473513)
Backed out changeset 4e1e283b347e (bug 1473513)

--HG--
extra : rebase_source : a79787b05e0cf6c837e08c9541d559e4509b0deb
2018-08-22 18:23:46 +03:00