Commit Graph

662656 Commits

Author SHA1 Message Date
Olli Pettay
c7ee50989c Bug 1565930, try to make Promise less error prone to compartment mismatches, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38762

--HG--
extra : moz-landing-system : lando
2019-07-29 14:43:54 +00:00
Junior Hsu
5932647860 Bug 1566295 - Do not send Origin: if we can't extract a valid origin r=ckerschb,tnguyen
Sometimes we don't have origin like OCSP requests, or a fetch issues from web extension.
We should not send `Origin:`

Spec doesn't specify how to treat other protocol like moz-extension.
IMO we should also prevent sending `Origin:` to keep web-compat.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:00:35 +00:00
Lars T Hansen
7b8f13f995 Bug 1565768 - asm.js optimized compilation must gate on ion-for-wasm being available. r=jseward
asm.js optimized compilation can be disabled by the unavailability of
ion-for-wasm through command line option selection; we must therefore
gate carefully.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 14:01:10 +00:00
Tooru Fujisawa
fb38893d0e Bug 1562298 - Check OOM after PerHandlerParser::finishLexicalScope. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D36695

--HG--
extra : moz-landing-system : lando
2019-07-26 21:17:54 +00:00
Boris Zbarsky
3581c41939 Bug 1568729. Only include the static pref headers we really need in binding code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D39528

--HG--
extra : moz-landing-system : lando
2019-07-28 11:08:00 +00:00
Emilio Cobos Álvarez
e91be6b314 Bug 1568778 - Do suppress adjustments when switching an undisplayed element to be abspos. r=dholbert
One of the issues with the test-case in this bug is that the page consumes a ton
of CPU due to scroll anchor adjustments being triggered from scroll events,
which in turn cause other scroll events to fire.

This happens in Chrome as well (just scroll to the bottom of the test-case, and
do `addEventListener("scroll", () => console.log("scroll"))` on devtools. But I
think it's worth fixing. This patch fixes it and overall I think it's a slightly
better approach to suppress adjustments than what we're doing.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:44:46 +00:00
Tim Huang
4851c8803d Bug 1552716 - Part 2: Update the test browser_toolbarKeyNav.js. r=johannh
We need to update the test since '#tracking-protection-icon-container'
is accessible before the '#identity-box'.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:58:19 +00:00
Tim Huang
a580fbf197 Bug 1552716 - Part 1: Fix the keyboard navigation of the tracking protection icon. r=Jamie
This patch fixes the issue that the keyboard navigation doesn't work for
the tracking protection icon.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 04:02:03 +00:00
Emilio Cobos Álvarez
79d6827e07 Bug 1456358 - Inhibit RecomputePosition when descendants depend on the out of flow position. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D38194

--HG--
extra : moz-landing-system : lando
2019-07-29 13:43:29 +00:00
Mike Conley
11fefe136c Bug 1569421 - Re-enable browser_startup_mainthreadio.js and browser_startup_syncIPC.js for macOS 10.14. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D39607

--HG--
extra : moz-landing-system : lando
2019-07-29 14:01:12 +00:00
Csoregi Natalia
6ccfe19186 Backed out 2 changesets (bug 1568150) for failures on browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset 47f2bc60381a (bug 1568150)
Backed out changeset beb290a8b2a3 (bug 1568150)
2019-07-29 17:08:08 +03:00
Benjamin Bouvier
9c9bb036ae Bug 1565301: Disallow too large line numbers for asm.js; r=luke
This is due to an implementation detail of the IonMonkey backend, which stores
call sites bytecode numbers on 29 bits, for packing purposes. The wasm baseline
compiler doesn't have this issue because it stores them on 32 bits. Check it to
avoid an easy browser DOS.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:34:46 +00:00
ffxbld
9ee911f801 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D39676

--HG--
extra : moz-landing-system : lando
2019-07-29 13:29:43 +00:00
Geoff Brown
9d6d1c630e Bug 1306635 - Run linux64-ccov wpt in more test chunks; r=jmaher
Avoid intermittently exceeding the already very long max-run-time in some chunks.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:13:52 +00:00
Thomas Nguyen
e0791bcabb Bug 1566833 - Add a test of loading a page in different process r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39657

--HG--
extra : moz-landing-system : lando
2019-07-29 10:41:30 +00:00
Thomas Nguyen
180aa6b0a1 Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381

--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
Julian Descottes
53c3e8c0ce Bug 1568304 - Add test for local process debugging from aboutdebugging r=remote-debugging-reviewers,Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D39086

--HG--
extra : moz-landing-system : lando
2019-07-29 11:06:46 +00:00
Alexandre Poirot
baecf18127 Bug 1567726 - Do not request stylesheets front for content processes in the source map service. r=yulia
This actor isn't implemented for processes, but only by browsing context targets.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:54:34 +00:00
Csoregi Natalia
259ccc086a Backed out changeset 571761c0b3b9 (bug 1569100) for web platform failures on set_timeouts/set.py. CLOSED TREE 2019-07-29 16:41:08 +03:00
Jonathan Kew
112c636e6e Bug 1437367 - Remove the layout.css.paint-order.enabled pref, this feature is always enabled. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D39340

--HG--
extra : moz-landing-system : lando
2019-07-26 14:07:17 +00:00
Julian Descottes
c9aba0f00c Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850

--HG--
rename : devtools/shared/multi-e10s-helper.js => devtools/shared/service-workers-debug-helper.js
extra : moz-landing-system : lando
2019-07-29 12:59:25 +00:00
Paul Adenot
65d954a3e5 Bug 1568182 - Rename variables in AudioCallbackDriver::Init to adhere to the style guide.
Differential Revision: https://phabricator.services.mozilla.com/D39674

--HG--
extra : moz-landing-system : lando
2019-07-29 12:50:44 +00:00
Paul Adenot
f8f68410c1 Bug 1568182 - Pick audio latencies depending on the use case on OSX. r=pehrsons
Voice get a bit more than 10ms latency, because it's being packetized in 10ms
chunks in webrtc land.

Other input device use lower latency, that can help for musical applications.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 12:50:39 +00:00
dlee
7f68ef9467 Bug 1562875 - Listmanager kiffoffUpdate doesn't need to obtain on-disk data. r=gcp
While listmanager called |kickoffUpdate|, it used to call |GetTables| to
retrieve update information and used the information to distinguish if
a table is a "existing" table or not.

In Bug 1045163, the "existing table" logic was removed, which also means we
don't need to call |GetTabkes| anymore. This patch removes calling
Classifier::TableRequest to reduce unnecessary disk IO during startup.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 12:49:14 +00:00
Masayuki Nakano
7037a2b100 Bug 1568777 - Make first argument of nsIEditor.unmask() optional r=m_kato
Currently, if you need to unmask all password characters, you need to call
`nsIEditor.unmask(0)`. However, this is ugly and this must be the most use
case. So, I think that we should make it optional.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 12:21:02 +00:00
Andrea Marchesini
29753144c9 Bug 1566961 - Integrate SocialTracking and ETP - tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38570

--HG--
rename : toolkit/components/url-classifier/tests/mochitest/raptor.jpg => toolkit/components/antitracking/test/browser/raptor.jpg
extra : moz-landing-system : lando
2019-07-29 12:30:39 +00:00
Andrea Marchesini
7044fec84c Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 12:20:39 +00:00
Andrea Marchesini
2e169ffe17 Bug 1566961 - Integrate SocialTracking and ETP - Remove YOUTUBE classification, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38450

--HG--
extra : moz-landing-system : lando
2019-07-29 12:20:35 +00:00
Andrea Marchesini
cef26c06c6 Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - PProxyConfigLookup IPC protocol, r=bwc,kershaw,jld
Differential Revision: https://phabricator.services.mozilla.com/D39010

--HG--
extra : moz-landing-system : lando
2019-07-29 12:27:59 +00:00
Michal Novotny
82a7200c4b Bug 1561273 - network ID: ipv4NetworkId/scanArp returns gateway IP instead of its MAC, r=kershaw
This patch fixes a bug in ipv4NetworkId where we wrongly hashed IP address instead of MAC address. It also simplifies getMac function. MAC address must be 6 bytes long. If it's not it's probably an error and we must not use it.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 12:29:01 +00:00
Dragana Damjanovic
6bb0ea26c5 Bug 1567133 - Call ForceRecv if there is data in the tunnel buffer. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D38989

--HG--
extra : moz-landing-system : lando
2019-07-29 10:58:08 +00:00
Csoregi Natalia
755219489e Backed out 3 changesets (bug 1566961) for eslint failure on browser_socialtracking.js. CLOSED TREE
Backed out changeset a85686cb5dfa (bug 1566961)
Backed out changeset 9cb916e52712 (bug 1566961)
Backed out changeset 4c747eb1c370 (bug 1566961)
2019-07-29 15:17:28 +03:00
Patrick Brosset
ff5f28adeb Bug 1565652 - Treat all audio elements as replaced; r=miker
Before this patch we would only treat audio elements as replaced if they
had something visible on the page, so if they had the controls attribute.
This is a specific case that we don't really need to worry about. If we
unconditionnally assume audio elements are replaced, then the code is
simpler and the heuristic is still fine for the vast majority of cases.
In fact, it's even more correct, as an audio element that's inline and
does *not* have the controls attribute still has active width/height
properties. So we do need to treat it as replaced even in this case.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:43:54 +00:00
Patrick Brosset
3c8e3aee01 Bug 1565652 - Treat input and select unconditionally as replaced elements; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39199

--HG--
extra : moz-landing-system : lando
2019-07-29 11:42:07 +00:00
Julian Descottes
bccd17fa9f Bug 1569495 - Stop using innerHTML in HTML Tooltip r=miker
Depends on D39644

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:56:59 +00:00
Julian Descottes
589fea9277 Bug 1569495 - Stop using inline styles and inner HTML for image tooltip r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39644

--HG--
extra : moz-landing-system : lando
2019-07-29 11:46:53 +00:00
Alexandre Poirot
a4067e2cad Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:31 +00:00
Alexandre Poirot
6b20f244f3 Bug 1568150 - Stop spinning the event loop when destroying the inspector front. r=gl
InspectorFront.destroy isn't returning a promise. So the `await` in the toolbox
code is not relevant and is only spinning the event loop.
Removing it introduce races which should be fixed.
The toolbox buttons shouldn't try to unhighlight if the inspector isn't used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:29 +00:00
Tim Huang
2ce6e59528 Bug 1567433 - Part 2: Fixing the issue that hover state of the tracking protection icon is incorrect during opening the protection panel. r=johannh
This patch moves the setting of 'open' attribute to a right place. We
should set it before we open the panel instead of in the event
'onpopupshown'.

Depends on D39494

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:41:45 +00:00
Tim Huang
979b18a77f Bug 1567433 - Part 1: Fix the issue that tracking protection icon doesn't have pressing effect. r=johannh
This patches fixes this issue by adding a missing css rule for the
pressing effect.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:40:29 +00:00
Masayuki Nakano
d1512c277c Bug 1568753 - Make TextEditor::SetUnmaskRangeInternal() return NS_OK if there is no text node and aStart is UINT32_MAX r=m_kato
`aStart` of `TextEditor::SetUnmaskRangeInternal()` may be `UINT32_MAX` if
it's called for stopping unmasking.  However, it returns `NS_ERROR_INVALID_ARG`
if there is no text node and `aStart` is not 0, but this is unexpected behavior.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 06:30:50 +00:00
Andrea Marchesini
9071d156c9 Bug 1566961 - Integrate SocialTracking and ETP - tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38570

--HG--
rename : toolkit/components/url-classifier/tests/mochitest/raptor.jpg => toolkit/components/antitracking/test/browser/raptor.jpg
extra : moz-landing-system : lando
2019-07-29 11:27:23 +00:00
Andrea Marchesini
7f34a5abc1 Bug 1566961 - Integrate SocialTracking and ETP, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38451

--HG--
extra : moz-landing-system : lando
2019-07-29 11:27:23 +00:00
Andrea Marchesini
ce99b99d11 Bug 1566961 - Integrate SocialTracking and ETP - Remove YOUTUBE classification, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D38450

--HG--
extra : moz-landing-system : lando
2019-07-29 10:40:31 +00:00
Nupur Baghel
417c0e949d Bug 1569100 - Add SetTimeouts command to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39662

--HG--
extra : moz-landing-system : lando
2019-07-29 11:36:34 +00:00
Csoregi Natalia
141bcffcc8 Backed out changeset 3855d35999dd (bug 630614) for causing failures on browser_ext_tabs_sharingState.js. CLOSED TREE 2019-07-29 14:32:05 +03:00
Julian Descottes
acb7fed127 Bug 1569235 - Ensure subtest name is a string when parsing test lines r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39527

--HG--
extra : moz-landing-system : lando
2019-07-29 11:08:12 +00:00
Nihanth Subramanya
7500a7fa88 Bug 1569182 - [Protections Panel] Update shield and lock icon/buttons to match spec. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D39570

--HG--
extra : moz-landing-system : lando
2019-07-29 10:08:07 +00:00
Tom Schuster
c90eade61e Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

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

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:37 +00:00
Tom Schuster
bc9bb616f7 Bug 1569122 - Use StaticPrefs for our MIME type script blocking prefs. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39634

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:05 +00:00