Commit Graph

689246 Commits

Author SHA1 Message Date
David Major
307e4dcb5b Bug 1611476 - Silence a rule-of-three warning in nsRect r=botond
nsRect's special member functions are pretty vanilla aside from the MOZ_COUNT_{C,D}TORs, so the copy assignment doesn't need to do anything unusual, but let's state so explicitly to please the compiler.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 18:58:23 +00:00
Neil Deakin
0355257f83 Bug 1505915, move view source components to use JSWindowActor. This allows view frame source to work in out of process child frames, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D60253

--HG--
rename : toolkit/components/viewsource/content/viewSource-content.js => toolkit/actors/ViewSourceChild.jsm
rename : toolkit/components/viewsource/content/viewSource-content.js => toolkit/actors/ViewSourcePageChild.jsm
rename : toolkit/components/viewsource/ViewSourceBrowser.jsm => toolkit/actors/ViewSourcePageParent.jsm
extra : moz-landing-system : lando
2020-01-24 19:53:55 +00:00
chujun
6dbc210f59 Bug 1596323 - Do not store root in prefs when set a thread actor to project root r=jlast
When we set a thread to directory root, `item.path`, which is equal to `thread.actor` in a thread's case, is used as the project directory root and stored in `prefs`. When debugger is closed and reopened, `thread.actor` will be different. But the debugger state is initialized with an old directory root. For example, directory root is `server0.conn0.child1/thread19` from the last time, but thread is now "server0.conn1.child1/thread19."

I think it's error-prone to bump up `connX` by 1 when we see a `thread.actor` as `prefs.projectDirectoryRoot`. This patch removes the storage for threadActors, meaning when we set a thread to root, we don't keep track of it in `prefs`. Then we reopen the debugger, it doesn't show a thread as root. For other directories, `prefs` still works.

{F1862523}

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

--HG--
extra : moz-landing-system : lando
2020-01-03 15:59:30 +00:00
Kris Maglione
11a00dbf84 Bug 1595936: Part 4 - Assert that we don't init FrameLoaders when unsafe. r=smaug
We go to some lengths to defer FrameLoader initialization to the end of
document updates. However, it is still possible for initialization to happen
earlier as a side-effect of other operations (such as
`nsFrameLoader::GetBrowsingContext()`) if they're called before initialization
has already happened. Since this is such an easy mistake to make, we should
assert that it doesn't happen so that we find out about it sooner rather than
later.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:20 +00:00
Kris Maglione
3c23c76a5f Bug 1595936: Part 3c - Dispatch message manager observers only when safe. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55876

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:22 +00:00
Kris Maglione
b0061d264f Bug 1595936: Part 3b - Don't force FrameLoader initialization on removal. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55875

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:20 +00:00
Kris Maglione
e92365dba5 Bug 1595936: Part 3a - Don't force early FrameLoader initialization in recursion check. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55874

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:12 +00:00
Kris Maglione
878d4b6711 Bug 1595936: Part 2 - Refresh feature policy when attaching browsing context. r=farre,baku
We go to great lengths to try to avoid initializing FrameLoaders during
document updates. That means that when `BindToTree` is called, the element's
FrameLoader is not initialized, and it has no BrowsingContext. Calling
`GetBrowsingContext()` (which happens as a side-effect of
`HTMLIFrameElement::RefreshFeaturePolicy`), however, forces eager
initialization, which can cause any number of problems.

This patch moves that logic from being triggered by `BindToTree` to being
triggered by `BrowsingContext::Embed`, which happens as soon as the
BrowsingContext is bound to the element, but does not force it to be created
early.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:10 +00:00
Kris Maglione
1a5f46e923 Bug 1595936: Part 1 - Warn for unsafe event dispatch in non-document system globals. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D55871

--HG--
extra : moz-landing-system : lando
2020-01-24 19:03:03 +00:00
Yura Zenevich
139344118f Bug 1610562 - take into account multiple browsing contexts when getting a node from content DOM reference. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60545

--HG--
extra : moz-landing-system : lando
2020-01-22 16:26:37 +00:00
Neil Deakin
12e43d2102 Bug 1600176, large button border on ubuntu 18.04 makes the button larger than expected and the coordinate computation to be off by the size of the border. Adjust the width on the button, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D60886

--HG--
extra : moz-landing-system : lando
2020-01-24 10:45:14 +00:00
Henrik Skupin
6cd18518a4 Bug 1610014 - [marionette] Remove localization support from firefox-puppeteer. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60906

--HG--
extra : moz-landing-system : lando
2020-01-24 17:46:26 +00:00
Erica Wright
4205079d19 Bug 1607488 - Update telemetry for protections panel. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D60711

--HG--
extra : moz-landing-system : lando
2020-01-24 18:37:54 +00:00
Erica Wright
ae640e8f5f Bug 1610894 - Renew data collection for contentblocking.trackers_blocked_count. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D60717

--HG--
extra : moz-landing-system : lando
2020-01-24 08:56:03 +00:00
Brindusan Cristian
5ca7181fab Backed out 5 changesets (bug 1558926) for WebRender build bustages. CLOSED TREE
Backed out changeset 974bcab6b1bf (bug 1558926)
Backed out changeset 1865e6d29dcf (bug 1558926)
Backed out changeset 92b415dac733 (bug 1558926)
Backed out changeset 30481c41873a (bug 1558926)
Backed out changeset a4d9a1af297a (bug 1558926)
2020-01-24 20:42:16 +02:00
Andrea Marchesini
8e1058f24f Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 4 - tests, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60431

--HG--
extra : moz-landing-system : lando
2020-01-24 16:31:44 +00:00
Andrea Marchesini
c4cb10712a Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 3 - CloneDataPolicy, r=smaug,sfink,lth
Differential Revision: https://phabricator.services.mozilla.com/D60485

--HG--
extra : moz-landing-system : lando
2020-01-24 16:31:21 +00:00
Andrea Marchesini
4ddc1cf3a9 Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 2 - MessageDataType, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60428

--HG--
extra : moz-landing-system : lando
2020-01-24 16:19:59 +00:00
Andrea Marchesini
6829eab59f Bug 1609990 - AgentCluster comparison in MessagePort and BroadcastChannel - part 1 - No JS exceptions, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60484

--HG--
extra : moz-landing-system : lando
2020-01-24 16:19:57 +00:00
Andrea Marchesini
c4f533906f Bug 1611424 - Intermittent TV dom/broadcastchannel/tests/test_wasm.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60977

--HG--
extra : moz-landing-system : lando
2020-01-24 18:08:23 +00:00
Dana Keeler
4f9eced3a7 bug 1606691 - enable CRLite (telemetry only) in early beta and earlier (except android) r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D60183

--HG--
extra : moz-landing-system : lando
2020-01-16 21:51:09 +00:00
Miko Mynttinen
c210c95ca3 Bug 1558926 - Part 5: Store a reference to cached display item data in DisplayItemRef
Depends on D60760

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

--HG--
extra : moz-landing-system : lando
2020-01-22 22:19:49 +00:00
Miko Mynttinen
64997c1922 Bug 1558926 - Part 4: Avoid display list updates for removed pipelines
Depends on D60759

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

--HG--
extra : moz-landing-system : lando
2020-01-22 22:19:08 +00:00
Miko Mynttinen
b16cae3e0b Bug 1558926 - Part 3: Add support for additional WebRender display list data
Depends on D60756

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

--HG--
extra : moz-landing-system : lando
2020-01-22 22:43:59 +00:00
Miko Mynttinen
7a53d2c64c Bug 1558926 - Part 2: Use DisplayItemCache in WebRenderCommandBuilder
Depends on D50221

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

--HG--
extra : moz-landing-system : lando
2020-01-22 22:41:06 +00:00
Miko Mynttinen
e9f5497f95 Bug 1558926 - Part 1: Add data structures and pref for display item caching r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D50221

--HG--
extra : moz-landing-system : lando
2020-01-22 22:17:18 +00:00
Agi Sferro
3248d990f5 Bug 1611474 - Fix Javadoc errors in LoginStorage.java. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60989

--HG--
extra : moz-landing-system : lando
2020-01-24 18:03:00 +00:00
Taylor
f4e85ffc2f Bug 1588197 - Add autoplay to our permissions policies. r=mkaply,fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D55753

--HG--
extra : moz-landing-system : lando
2020-01-24 16:22:01 +00:00
Erica Wright
afb4e5ad9d Bug 1610897 - Renew Data Collection for security.ui.protections. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D60719

--HG--
extra : moz-landing-system : lando
2020-01-24 08:54:22 +00:00
Noemi Erli
796b3ee54c Backed out 7 changesets (bug 1574865, bug 1611302) for causing bustage in WasmCraneliftCompile.cpp CLOSED TREE
Backed out changeset 05de7598585a (bug 1574865)
Backed out changeset f89941b23fce (bug 1574865)
Backed out changeset 242e859e580f (bug 1574865)
Backed out changeset 247e358f4fc7 (bug 1574865)
Backed out changeset bdf099acc592 (bug 1574865)
Backed out changeset 48c545152a47 (bug 1574865)
Backed out changeset a6bd070aa7f2 (bug 1611302)

--HG--
extra : amend_source : dd5db386f287ce1ee2f35d5f4c23bc304a905204
2020-01-24 19:55:47 +02:00
Mark Banner
b6a7518552 Bug 1425047 - Enable rest of ESLint rules for mobile/android. r=esawin
This enables consistent-return, no-empty and no-redeclare.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:32:38 +00:00
Mark Banner
c7825a859e Bug 1425047 - Enable ESLint rule object-shorthand for mobile/android. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60826

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:19 +00:00
Mark Banner
ad20c596fe Bug 1425047 - Enable already passing rules for mobile/android. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60825

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:12 +00:00
Mark Banner
7e33a4e3e5 Bug 1425047 - Enable ESLint rules no-undef and no-unused-vars for mobile/android/chrome/geckoview. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60824

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:00 +00:00
Luca Greco
d961c28763 Bug 1611418 - SourceMapURLService originalPositionFor should return null when sourcemaps are disable via prefs. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D60956

--HG--
extra : moz-landing-system : lando
2020-01-24 13:33:45 +00:00
Luca Greco
1eaa5753b6 Bug 1609677 - Inspect the boundTargetFunction if the target object is a bound function. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D60142

--HG--
extra : moz-landing-system : lando
2020-01-24 12:58:36 +00:00
Luca Greco
05661deda5 Bug 1609671 - Inspect binding should try to get the sourcemapped location while inspecting a function. r=jdescottes,vporof
Differential Revision: https://phabricator.services.mozilla.com/D60138

--HG--
extra : moz-landing-system : lando
2020-01-24 12:58:24 +00:00
Ryan Hunt
0051f47480 Bug 1574865 - Wasm: Allow stackmaps that are indexed at an x86 indirect call instruction with any register. r=jseward
Cranelift fails this assertion and it's not clear to me that there is any restriction inside
Cranelift that would limit the set of registers we'd need to check here.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:18:39 +00:00
Ryan Hunt
eedd76423b Bug 1574865 - Baldr: Add support for Cranelift stackmaps. r=jseward
This commit adds support for receiving stackmaps from Cranelift
and converting to wasm::Stackmaps. [1] will change the stackmap
representation in Cranelift to be the same as in Spidermonkey.

The stack overflow/interrupt trap handler stackmap is implemented by
sharing code with Ion.

[1] https://github.com/bytecodealliance/cranelift/pull/1317

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:18:33 +00:00
Ryan Hunt
224723a46f Bug 1574865 - Baldr: Translate reference type globals using slow OOL barriers. r=jseward
cranelift-wasm cannot express arbitrary control flow inside of
'global.get/set' easily. This makes it difficult to implement the pre/post write
barriers inline like the baseline compiler does.

[1] has a discussion about the ideal solution to problem, which involves a new IR
concept called templates. We will want to use that when it is ready.

In the short-term, this commit implements pre/post write barriers using slow OOL
functions and implements Wasm globals.

[1] https://github.com/bytecodealliance/cranelift/issues/1176

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:18:24 +00:00
Ryan Hunt
8f0c7e41ef Bug 1574865 - Baldr: Translate reference types and implement table/ref instruction translation. r=jseward
This commit translates the basic parts of reference types that does not
require any barriers. AnyRef,FuncRef,NullRef are translated to R32/R64. The
existing bulk-memory instructions are extended to operate on multiple tables,
and the new reference type instructions are implemented with instance calls.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:17:22 +00:00
Ryan Hunt
eb31fba15f Bug 1574865 - Wasm: Change compiler selection to allow Cranelift when reference types is enabled. r=jseward
This commit changes the wasm compiler feature detection bits to report that
cranelift supports reference types.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:16:57 +00:00
Ryan Hunt
2105015e66 Bug 1574865 - Wasm: Update encoding of nullref to match proposal. r=lth
This commit updates the encoding of nullref to match the one given in
the reference types proposal.

Spec: https://github.com/WebAssembly/reference-types/pull/66

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

--HG--
extra : moz-landing-system : lando
2020-01-24 17:15:46 +00:00
Ryan Hunt
1c7827de77 Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D60917

--HG--
extra : moz-landing-system : lando
2020-01-24 13:47:41 +00:00
James Willcox
12adca3745 Bug 1611441 - Don't wait on GeckoRuntime to start in unit tests r=agi
Blocking here causes a problem on startup with the socket server, and
apps don't do this anyway.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 16:47:45 +00:00
Chun-Min Chang
c7c0492ef0 Bug 1611246 - Update cubeb-coreaudio to 4d8fcc1. r=padenot
Pick commits:
- 4d8fcc1: Update to audio mixer 0.1.2 and fix clippy warnings (#44)
- dce7ddc: Correct the removal of the aggregate device in the device list  (#42)
- 1423e49: Don't call functions in the assertions (#40)
- a4a8022: Replace some `assert` by `debug_assert` (#39)
- a53e94f: Make mixer become a standalone crate (#37)
- 80978b6: Implement Display trait for StringRef (#36)

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

--HG--
rename : third_party/rust/mixer/benches/benchmark.rs => third_party/rust/audio-mixer/benches/benchmark.rs
rename : third_party/rust/mixer/src/channel.rs => third_party/rust/audio-mixer/src/channel.rs
rename : third_party/rust/mixer/src/coefficient.rs => third_party/rust/audio-mixer/src/coefficient.rs
rename : third_party/rust/mixer/src/lib.rs => third_party/rust/audio-mixer/src/lib.rs
rename : third_party/rust/mixer/src/main.rs => third_party/rust/audio-mixer/src/main.rs
extra : moz-landing-system : lando
2020-01-24 16:20:29 +00:00
Dzmitry Malyshau
be7fae486d Bug 1609175 - WebGPU bind groups and compute pipelines r=jgilbert,webidl,smaug,bzbarsky
Adds support for bind groups and compute pipelines
The end goal of this PR is to run the compute example.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:09 +00:00
Gabriele Svelto
f40b611e19 Bug 1610566 - Prevent child processes crashing before the exception-handler is in place from triggering an assertion in the parent process r=froydnj
This also adds an explicit warning when this happens so that the child processes don't crash without leaving a trace.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 21:33:37 +00:00
Dão Gottwald
39e3f763f8 Bug 1610473 - Use UrlbarInput::_toolbar property instead of textbox.closest("toolbar") in UrlbarInput and UrlbarView. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D60842

--HG--
extra : moz-landing-system : lando
2020-01-24 16:20:11 +00:00
Geoff Brown
6dc0e04393 Bug 1611018 - Run wdspec in 3 test chunks by default; r=jmaher
Avoid intermittent task timeouts by increasing wdspec test chunks from 2 to 3.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 15:18:00 +00:00