Commit Graph

668018 Commits

Author SHA1 Message Date
Brian Hackett
f00e1f1678 Bug 1577273 - Use strnlen to test if source URLs are too long, r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D43848

--HG--
extra : moz-landing-system : lando
2019-08-28 22:48:45 +00:00
Mihai Alexandru Michis
a105826a55 Backed out 6 changesets (bug 1576407) for causing wpt and mochitest failures. CLOSED TREE
Backed out changeset 3b0498064cbf (bug 1576407)
Backed out changeset 38e4ea431445 (bug 1576407)
Backed out changeset 19bf40067233 (bug 1576407)
Backed out changeset 0ddbc451dcab (bug 1576407)
Backed out changeset 08d4c25fc670 (bug 1576407)
Backed out changeset be7cbc61f825 (bug 1576407)
2019-08-29 03:00:47 +03:00
Ed Lee
34ee136dbf Bug 1577331 - Add TopSites spocs, promo backend and bug fixes to New Tab Page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D43830

--HG--
extra : moz-landing-system : lando
2019-08-28 22:08:51 +00:00
Eitan Isaacson
df40116d6f Bug 1572829 - Remove explicit children too when node has a shadow root. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D43488

--HG--
extra : moz-landing-system : lando
2019-08-28 23:02:19 +00:00
Emilio Cobos Álvarez
0ec0984d05 Bug 1577258 - early-return for noop resizes. r=botond
This avoids doing wasted work and sending spurious resize
events if this case would be hit.

In practice, it cannot be hit yet, I think, because
callers do check for this and bail out earlier. But
there's no assertion to that respect so this shouldn't
hurt.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 22:03:26 +00:00
Markus Stange
19057e1f9d Bug 1576968 - Use glFlush() instead of -[NSOpenGLContext flushBuffer] when we have no framebuffer zero. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D43648

--HG--
extra : moz-landing-system : lando
2019-08-28 21:45:23 +00:00
Rob Wu
ddd89317c8 Bug 1577106 - Move WebExtensionController in CHANGELOG.md from 69 to 70 r=agi
... and add Bugzilla references.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 22:17:40 +00:00
Edwin Gao
6827f07623 Bug 1564487 - disable awsy on ESR platforms r=ahal
Changes:
- run `awsy` related tests on all platforms except for `mozilla-esr.*`.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:44:09 +00:00
Rob Wood
c274d213ea Bug 1572804 - Begin to build browsertime support into Raptor framework (original patch by nalexander) r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D43254

--HG--
extra : moz-landing-system : lando
2019-08-28 20:43:27 +00:00
Kris Maglione
976fe13555 Bug 1576407: Follow-up: Ignore window.opener get/set when BrowsingContext is discarded.
Differential Revision: https://phabricator.services.mozilla.com/D43833

--HG--
extra : moz-landing-system : lando
2019-08-28 21:50:44 +00:00
Sylvestre Ledru
acfbfdc9af Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in dom/animation/ r=hiro
Depends on D43779

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:31:46 +00:00
Sylvestre Ledru
843fae6aee Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in gfx/ r=nical
Differential Revision: https://phabricator.services.mozilla.com/D43776

--HG--
extra : moz-landing-system : lando
2019-08-28 21:31:26 +00:00
Jed Davis
bbfc6ecf78 Bug 1574571. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D43707

--HG--
extra : moz-landing-system : lando
2019-08-28 18:30:43 +00:00
Johann Hofmann
c987315cec Bug 1468355 - Optimize checking for site data usage for the site identity panel. r=Gijs
The idea here is that we avoid updating all site data in SiteDataManager.jsm
just for checking a single host/origin and that we optimize performance by prioritizing
the most common data type (cookies) and synchronous lookups (AppCache) and returning
early if any data was found.

We will still refresh the site data list for clearing once the user clicks on "Clear Site Data".

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

--HG--
extra : moz-landing-system : lando
2019-08-28 21:45:30 +00:00
Edgar Chen
ff387f6937 Bug 1576627 - Move MaybeNotifyAutoplayBlocked from Document to HTMLMediaElement; r=alwu
Given that it is used only in HTMLMediaElement.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 21:22:19 +00:00
Nick Alexander
586f010000 Bug 1576971 - Post: Use github.com for fetching browsertime binary dependencies. r=barret
In automation, we install `ffmpeg` as part of `mach browsertime
--setup` in the browsertime toolchain task.  Those tasks run on Linux
64 from within AWS, and most of the hosts we hit (intermittently) deny
AWS traffic.  Let's just use github.com in automation (and locally),
for all platforms, which will agree with upcoming fetch tasks.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 20:58:26 +00:00
Nick Alexander
545bb000da Bug 1576971 - Fail browsertime toolchain harder. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D43655

--HG--
extra : moz-landing-system : lando
2019-08-28 20:58:19 +00:00
Michael Cooper
cf4ebe9c31 Bug 1572479 pt4 - Fix tests outside of Normandy a=fix CLOSED TREE
--HG--
extra : amend_source : 38e9f96ae5ae0646a5ab68a1f8e25f1cf40af897
2019-08-28 14:15:11 -07:00
Nick Alexander
e09210e873 Bug 1534533 - Add geckodriver toolchain tasks. r=chmanchester
There was quite a bit of discussion of this in `#build` on IRC,
and the consensus was that geckodriver should be built as a
stand-alone Rust crate and not as part of Firefox/Gecko (say, as a new
--enable-project target). This follows that approach, and the
expression, modeled off of cbindgen but updated to cross compile from
a Linux host to all targets, is pretty straight-forward.

A sparse profile would be nice, but the way that the Gecko Cargo
workspace works means that the profile must accumulate Rust code from
many locations.

If we want to, eventually testing/geckodriver can be removed from the
top-level Rust workspace, the geckodriver-signing tasks migrated to
these toolchain tasks, consumers migrated to the signing tasks, and
geckodriver removed from the "common" test archive.

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

--HG--
rename : taskcluster/scripts/misc/vs-setup.sh => taskcluster/scripts/misc/vs-setup32.sh
extra : moz-landing-system : lando
2019-08-28 20:54:06 +00:00
Nick Alexander
b28f390d99 Bug 1534533 - Pre: Remove bzip2 dependency from geckodriver. r=chmanchester,whimboo
The `zip` dependency doesn't appear to require `bzip2`, and `bzip2` is
tricky to cross-compile, so the feature set is restricted to ease the
build task.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 20:53:16 +00:00
Dan Mosedale
0b744ebe3d Bug 1577315 - Add karma-json-reporter dev-dependency r=mhoye
This is being added to support Bug 1567924

The package itself is MIT-licensed, and has no dependencies of its own, and lives at https://github.com/douglasduteil/karma-json-reporter

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

--HG--
extra : moz-landing-system : lando
2019-08-28 20:38:04 +00:00
Dorel Luca
547786f1cd Backed out 3 changesets (bug 1343678) for WPT failures on Android. CLOSED TREE
Backed out changeset 619e7838ebfd (bug 1343678)
Backed out changeset 5010684cdca4 (bug 1343678)
Backed out changeset b01343e4c2eb (bug 1343678)
2019-08-28 23:09:08 +03:00
Michael Cooper
172cc48d41 Bug 1572479 pt3 - Fix study icon for multi-preference-experiments in about:studies r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D42056

--HG--
extra : moz-landing-system : lando
2019-08-28 19:59:06 +00:00
Michael Cooper
b678dbac63 Bug 1572479 pt2 - Rename preference experiment name to slug r=rdalal
Naming this field better matches the intent of the field, other actions, and
the schemas used by the recipes on the server. Overall it makes the code less
confusing, and more consistent.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:58:56 +00:00
Michael Cooper
4b7d518ada Bug 1572479 pt1 - Move PreferenceExperiment migrations to NormandyMigrations.jsm r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D42055

--HG--
extra : moz-landing-system : lando
2019-08-28 19:58:47 +00:00
Toshihito Kikuchi
bbc4653e0b Bug 1567219 - Add a metric to collect how many users launch a process with Admin but without UAC. r=aklotz
This patch adds a new Scalar metric `os.environment.is_admin_without_uac` that
indicates the process is lauched with Admin privileges when UAC is turned off.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 02:17:49 +00:00
Kris Maglione
47e9394082 Bug 1576407: Part 5 - Update test expectations to handler cross-process window.opener being available. r=farre
This also sets the fission.rebuild_frameloaders_on_remoteness_change=true
preference for some mochitest directories which require it for cross-process
window.opener to work in top-level windows, and makes a minor change to the
hack in browser_temporary_permissions.js to keep it passing reliably in try
runs.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:41 +00:00
Kris Maglione
49be7509f5 Bug 1576407: Part 4 - Stop storing opener redundantly on nsGlobalWindowOuter. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D43693

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:45 +00:00
Kris Maglione
a0c3533e18 Bug 1576407: Part 3 - Return window opener as a WindowProxyHolder or BrowsingContext. r=farre
Also adds a legacy `GetSameProcessOpener()` method for callers which can only
deal with in-process windows and may need to be updated for Fission.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:38 +00:00
Kris Maglione
69502ff746 Bug 1576407: Part 2 - Don't set BrowsingContext opener when forcing noopener. r=farre
We currently handler this correctly for the opener stored on the outer window,
but not on the BrowsingContext.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:28 +00:00
Kris Maglione
a75b009eab Bug 1576407: Part 1 - Add HadOriginalOpener flag to BrowsingContext. r=farre
This is currently only available on the outer window, but needs to move to
BrowsingContext in order from us to remove redundant opener tracking from the
former.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:07:31 +00:00
Kris Maglione
252aae5429 Bug 1577263: Use memcmp for nsID::Equals. r=froydnj
Compilers have gotten a lot better since the last time we tried this, and the
generated SIMD code for the inlined memcmp is more efficient than our manual
comparison operations.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:08:44 +00:00
Alexandre Poirot
1ebb0ed421 Bug 1570696 - Destroy Toolbox on TabClose event for local tab targets. r=jdescottes
Move disconnection message out of Toolbox class in favor of toolbox-init module
as that is specific to Toolbox loaded in a tab.
We do that in order to stop automatically destroying the toolbox when the
attached target is destroyed. This will help support switching to another target
when we navigate between two documents loaded in distinct processes.
We will now destroy the toolboxes for local tabs only when TabClose event
is fired.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 15:22:26 +00:00
Barret Rennie
6e865b7b87 Bug 1510569 - Use nsIPrincipal and nsIContentSecurityPolicy in WebProgressLocationChangeData directly r=nika
Now that there is an {IPDL}ParamTraits implementation for nsIPrincipal* and
nsIContentSecurityPolicy*, we need not manually transform it to/from a
PrincipalInfo/CSPInfo ourselves.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:56:44 +00:00
Barret Rennie
3844e69d02 Bug 1510569 - Add nsIWebProgressListener2 to BrowserChild's interface map r=Ehsan
The members of nsIWebProgressListener2 were added to BrowserChild (then
TabChild) in commit 1028814583232487b52b9c20d47e3b38dc1c288a, but the interface
was never added to the interface map.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:56:02 +00:00
Barret Rennie
c48dcf7d7c Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:55:45 +00:00
Barret Rennie
b0cbc31990 Bug 1510569 - Implement serializers for nsITransportSecurityInfo, nsIX509Cert, and nsIX509CertList r=froydnj,keeler,mayhemer
As part of the ongoing effort to port the nsIWebProgress events from
RemoteWebProgress / WebProgressChild to BrowserParent / BrowserChild, we need
to (de)serialize the nsITransportSecurityInfo instance across the IPC layer.
The existing code was calling `NS_SerializeToString` which has the overhead of
(a) allocating a buffer and also performing base64 encoding/decoding. This
patch adds `IPC::ParamTraits` implementations for `nsITransportSecurityInfo`,
`nsIX509Certificate`, and `nsIX509CertList` that (de)serializes the params
directly onto and off of the IPC message so that we don't go through the
overhead of allocating and encoding/decoding an additional buffer.

This (de)serialization will address the performance issues present in the
current implementation.

As a side effect, I also make nsITransportSecurityInfo a builtinclass XPCOM
interface, since the existing serialization code was assuming it was, there is
only one implementation, and it is in C++.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:55:31 +00:00
Tom Ritter
004d9a25d7 Bug 1570597 - Pass the -delayload flag to lld correctly for MinGW builds r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D43455

--HG--
extra : moz-landing-system : lando
2019-08-28 14:18:29 +00:00
Aaron Klotz
7d3e1ba397 Bug 1577061: Modify nsUpdateDriver's GetCurrentWorkingDir to accept a nsACString& argument; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D43711

--HG--
extra : moz-landing-system : lando
2019-08-28 17:29:06 +00:00
Dorel Luca
06a2578d2d Backed out changeset 3853d8979a55 (bug 1575240) for Devtools on devtools/client/webconsole/test/browser/browser_jsterm_inspect.js
--HG--
extra : rebase_source : a9ffc17ade0874f515e44152d78af257c10df334
2019-08-28 22:08:26 +03:00
Julian Descottes
5e92caeefc Bug 1575766 - Use chrome preferences for DevTools documents r=emilio
Depends on D43639

This will avoid applying High Contrast mode colors to devtools documents even when DevTools are loaded in a frame with type=content
This behavior can be disabled by setting devtools.toolbox.force-chrome-prefs to false

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:09:36 +00:00
Julian Descottes
541fe531d2 Bug 1575766 - Set mIsDevToolsDocument on DevTools documents r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D43639

--HG--
extra : moz-landing-system : lando
2019-08-28 19:08:17 +00:00
Jeff Muizelaar
25ba978024 Bug 1577190. Don't treat Mask items like Filter items in DetectContainerLayerPropertiesBoundsChange. r=nical,mstange
This is a remnant from the previous implementation of masking. That
implementation was replaced in bug 1447880.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:51:45 +00:00
Ed Lee
7d74fb8a1e Bug 1572515 - mach lint complains about newtab logs missing license r=dmose
Exclude "built" logs/ directory from any linting

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

--HG--
extra : moz-landing-system : lando
2019-08-28 17:20:18 +00:00
Dorel Luca
b09fe526aa Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Chris Manchester
de2343b7fc Bug 1572880 - Package dist-toolchains from a specific directory. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43696

--HG--
extra : moz-landing-system : lando
2019-08-28 18:34:29 +00:00
Chris Manchester
1dcf500d9c Bug 1577049 - Provide sccache and dist-toolchains during bootstrap on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43700

--HG--
extra : moz-landing-system : lando
2019-08-28 18:31:23 +00:00
Barret Rennie
697c695a3c Bug 1510569 - Use nsIPrincipal and nsIContentSecurityPolicy in WebProgressLocationChangeData directly r=nika
Now that there is an {IPDL}ParamTraits implementation for nsIPrincipal* and
nsIContentSecurityPolicy*, we need not manually transform it to/form a
PrincipalInfo/CSPInfo ourselves.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:36 +00:00
Barret Rennie
d60f7b37a8 Bug 1510569 - Add nsIWebProgressListener2 to BrowserChild's interface map r=Ehsan
The members of nsIWebProgressListener2 were added to BrowserChild (then
TabChild) in commit 1028814583232487b52b9c20d47e3b38dc1c288a, but the interface
was never added to the interface map.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:27 +00:00
Barret Rennie
e0d50ea7ce Bug 1510569 - Port onSecurityChange from WebProgressChild.jsm to C++; remove WebProgressChild r=Ehsan,ochameau
This is the last message that WebProgressChild was sending to the
RemoteWebProgress in the parent process, so we can remove the module entirely.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:23 +00:00