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

610527 Коммитов

Автор SHA1 Сообщение Дата
fvsch 905bea9a0c Bug 1479750 - Part 2: Improve console alignment, visual consistency and icons; r=nchevobbe
Depends on D3482

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

--HG--
extra : moz-landing-system : lando
2018-08-23 08:00:24 +00:00
fvsch eed058e508 Bug 1479750 - Part 1: Tweak clear icon and devtools-separator style; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3482

--HG--
extra : moz-landing-system : lando
2018-08-23 07:59:53 +00:00
Gurzau Raul 52d2ad700e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 12:44:49 +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
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
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
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
Yaron Tausky 7d9fd70298 Bug 1455078: Implement [SecureContext] for ServiceWorkerContainer r=asuth
The spec mandates that ServiceWorkerContainer only be visible in a secure context,
yet currently it is (almost) always visible, but rejects calls to register() in
non-secure contexts. This commit moves the context check to a [Func] function, thus
implementing the behavior exactly as specified.

This commit uses the same mechanism used by [SecureContext] bindings instead of the
current ad hoc implementation.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 15:22:40 +00:00
Yura Zenevich d3673a24f2 Bug 1482454 - add learn more links across accessibility panel. r=gl, flod
MozReview-Commit-ID: GWrdjnzlS8b
2018-08-22 10:23:20 -04:00
Yura Zenevich a6ff06e3c5 Bug 1482454 - update a11y panel's tree/sidebar keyboard focus styling. r=gl
MozReview-Commit-ID: 8NIuRyCkuws
2018-08-22 10:23:19 -04:00
Yura Zenevich daf510036a Bug 1482454 - Display a "New" indicator to promote the accessibility panel. r=gl
MozReview-Commit-ID: 4T9a0Rxw2db
2018-08-22 10:23:19 -04:00
Yaron Tausky c97b9eb29f Bug 1455078: Make ServiceWorker test check interface availability with lowered privileges r=asuth
The test as it is currently written checks whether navigator.serviceWorker
exists with system privileges. By using eval(), this commit makes it
perform the check with the content's privileges.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 13:12:52 +00:00
Yaron Tausky 814ab6a3e3 Bug 1455078: Enable service worker testing in test r=asuth
This preference must be enabled since the test creates an insecure context, in
which navigator.serviceWorker is undefined.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 13:15:18 +00:00
Yaron Tausky c395657645 Bug 1483505: Test ServiceWorkerContainer.register() with a data: URL r=asuth
The proper response to a registration attempt with a data: URL is a TypeError,
yet we currently reject with a Security error. See spec.:
https://w3c.github.io/ServiceWorker/#start-register

Currently this test is expected to fail.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 15:12:40 +00:00