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

691004 Коммитов

Автор SHA1 Сообщение Дата
Logan Smyth 1d75bb2c8a Bug 1610416 - Expose SavedFrame frames via debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61517

--HG--
extra : moz-landing-system : lando
2020-02-12 04:02:17 +00:00
Eitan Isaacson ff0625bca4 Bug 1614079 - Pass accessibilityHitTest to content process. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D62311

--HG--
extra : moz-landing-system : lando
2020-02-10 23:36:36 +00:00
Chris Fronk 113fa0f94e Bug 1614432 - Remove redundant nested #IF r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D62529

--HG--
extra : moz-landing-system : lando
2020-02-12 02:28:30 +00:00
alwu d2a99667f0 Bug 1584319 - refactor the way of requesting wakelock on Windows. r=jmathies
Current implementation would fail to request a non-display wakelock on Windows when we ask for a background audio lock. The check for `audio-playing` with `locked-background` is incorrect. Therefore, adding new a variable to tell if we should request a non-display lock.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 01:32:39 +00:00
Timothy Nikkel f4658e4672 Bug 1613143. Don't allow an empty transaction to succeed with webrender if we haven't sent a display list to the parent. r=mattwoodrow
I think this probably only shows up with fission oop iframes, tabs probably avoid this path.

The problem occurs when we reconstruct the containing iframe for a style change, we briefly hide the child document, clearing the display list on the parent via ClearCachedResources. Then show it again, we attempt an empty transaction and this succeeds because there is nothing to stop it. (The non-wr case fails because the layer contents are missing and that causes the empty transaction to fail.)

So keep track if we have sent a display list to the parent to allow/disallow an empty transaction.

This fixes a couple webrender+fission reftest failures but it's also a general rendering bug in webrender+fission reproducible in a regular browser.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 01:40:51 +00:00
Daisuke Akatsuka 45fd8edbdb Bug 1610252: Hold the content as cache regardless of caching mode in DevTools. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D61257

--HG--
extra : moz-landing-system : lando
2020-02-12 01:36:56 +00:00
Logan Smyth a3da23d98b Bug 1609426 - Part 2: Expose more possible Sandbox bindings. r=bzbarsky
The debugger needs references to the DOM native functions for its whitelist
of pure functions that allow eager evaluation. These whitelist validations
can happen for many objects across many realms, so it is much easier if we
can pull these functions from a single central sandbox instead of trying to
pull them in from a specific content realm.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 02:03:02 +00:00
Logan Smyth bfa8eb9bb2 Bug 1609426 - Part 1: Allow CCW natives for isSameNative. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D61963

--HG--
extra : moz-landing-system : lando
2020-02-12 02:02:43 +00:00
Daisuke Akatsuka 339477f057 Bug 1610594: Add a test for device selector button and the menu items. r=mtigley
Depends on D61149

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

--HG--
extra : moz-landing-system : lando
2020-02-12 00:05:51 +00:00
Daisuke Akatsuka e0035c4904 Bug 1610594: Use HTML menu component instead of xul menu. r=mtigley,jdescottes
Before now, we used XUL elements as the menu for device selection on RDM.
We introduced the icon on the XUL menuitem in bug 1306198, but the UI on Ubuntu
became weird looking. In order to fix this, we could think to modify Linux
gadget, but we replace to HTML menu components we are using in DevTools with
considering deXUL as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 01:33:55 +00:00
Daisuke Akatsuka cde324da42 Bug 1610594: Support icon for MenuButton component. r=jdescottes
Depends on D61149

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

--HG--
extra : moz-landing-system : lando
2020-02-06 02:31:47 +00:00
Cosmin Sabou a1e25494be Backed out 1 changesets (bug 1614224) for mochitest failures on test_focus_dialog.xhtml. CLOSED TREE
Backed out changeset 4ae1a60a9e21 (bug 1614224)
2020-02-12 04:42:03 +02:00
Cosmin Sabou d115a145d6 Backed out 2 changesets (bug 1607505) for causing bc leaks in browser_startupcache_telemetry.
Backed out changeset eb423c859513 (bug 1607505)
Backed out changeset db2b0b9a9886 (bug 1607505)

--HG--
extra : amend_source : fbcabe4b0dbda5d493ab988e97e727205986ba9d
2020-02-12 04:36:23 +02:00
Kristen Wright cc862d2d30 Bug 1539944 - Get rid of NS_NewThread r=froydnj
Gets rid of `NS_NewThread`. Where it was used in testing, I gave the new named threads names relevant to their tests.

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

--HG--
extra : source : 541b98270c9985c5bd3569ff3ff8bc6c3d3c650a
2020-02-11 21:01:56 +00:00
Ciure Andrei 0ddf5384e0 Backed out changeset 541b98270c99 (bug 1539944) for causing bc leaks CLOSED TREE 2020-02-12 03:23:15 +02:00
Ciure Andrei 410dc434d0 Backed out changeset d46cb79a9b55 (bug 1613143)for causing reftest fission failures CLOSED TREE 2020-02-12 03:20:15 +02:00
Toshihito Kikuchi f6a7430688 Bug 1610790: Part 2 - Implement GetProcAddress for a remote process. r=handyman
This patch adds a function to get an exported function in a remote process.
We need this implementation to address Bug 1604008, Bug 1608645, and Bug 1610790.

When `WindowsDllInterceptor` detours a function in a remote process, we used the
native `GetProcAddress` locally, and then detours the returned address in the
target process.  The problem is if the caller's export table was modified, the
address returned from `GetProcAddress` might be invalid in the target process,
which is Bug 1604008.

I implemented `GetProcAddress` depending on both local and remote process image,
but it caused two regressions Bug 1608645 and Bug 1610790 because multiple
applications modify firefox's export table in multiple ways, such as replacing
an entry of EAT, replacing an RVA to Export section, or etc.

With this patch, we can use `PEExportSection<MMPolicy>::GetProcAddress` to get
an exported function in a remote process without relying on any local data so
that it's not impacted by modification of the local export table.

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

Depends on D62314
2020-02-11 22:21:10 +02:00
Toshihito Kikuchi 1764f470d6 Bug 1610790: Part 1 - Use wmain in mozglue/tests. r=handyman
This patch changes the entrypoint of test programs under mozglue/tests so that
a coming test program can handle a command string easily.

Differential Revision: https://phabricator.services.mozilla.com//D62314
2020-02-12 02:23:57 +02:00
Chris Manchester dc8d92255d Bug 1605188 - Bump oom hook version for rustc 1.41.0. r=froydnj
Depends on D61042

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

--HG--
extra : source : 1415d9d73a9bdf3c104c633cec0e6a79de099b04
2020-02-11 19:10:05 +00:00
Chris Manchester 4ce7cf59dd Bug 1605188 - Update builders to rustc 1.41 r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D61042

--HG--
extra : source : 802aa1e10c54424fd43f21411301892ff3c862ac
2020-02-10 22:15:27 +00:00
Wander Lairson Costa d8577be6be Bug 1609568: request less parallelism for all gcc linux build r=#build
In GCP we have the double the number of core compared to AWS
counterparts, but we use the same amount of memory. Request the builds
to be less parallel to avoid OOM.

Differential Revision: https://phabricator.services.mozilla.com//D62514
2020-02-12 01:28:15 +02:00
Boris Chiou 9198a9a26e Bug 1614407 - Drop fallback attribute from animate and distance. r=emilio
Still keep the discriminant checks to avoid generating terrible code.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 01:12:00 +00:00
Ting-Yu Lin a98c9b3ceb Bug 1598753 - Remove w3c-css/received/css-values reftests. r=dbaron
See bug 1598753 comment 1 for the analysis.

This patch is generated by
1. removing `os.path.join("css-values"),` in import-tests.py
2. removing the relevent annotations of css-values
3. running import-tests.py on a wpt repository at commit
   15f199c91a72b0d51bf0a12b3b77827ecb5051ff.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 23:33:23 +00:00
Emilio Cobos Álvarez 0e824079a7 Bug 1614224 - Fix <dialog> focus wrap-around, and add tests for it. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62490

--HG--
extra : moz-landing-system : lando
2020-02-12 00:11:37 +00:00
Tom Prince 119abcd304 Bug 1527313: [mozharness] Don't hardcode `MOZ_OBJDIR` in mozharness configs; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62345

--HG--
extra : moz-landing-system : lando
2020-02-11 19:47:06 +00:00
Tom Prince bf8448b7ea Bug 1527313: [mozharness] Unconditionally set `abs_obj_dir` in l10n repcks; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62405

--HG--
extra : moz-landing-system : lando
2020-02-11 19:49:11 +00:00
Tom Prince fe4e7e3a75 No bug: [mozhanress] Remove unused abs_tools_dir; r=Callek
The tools repo is no longer used, so remove the references to the path where it
was checked out.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:47:02 +00:00
Tom Prince 5adf204b34 Bug 1527313: [mozharness] Use `GECKO_PATH` consitently to find the source directory; r=Callek
In automation, `GECKO_PATH` always refers to the source directory, so use that in mozharness
rather than assuming it is somewhere relative to `work_dir`.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:47:08 +00:00
Tom Prince 75722c5f7e Bug 1527313: [mozharness] Rename `abs_objdir` to `abs_obj_dir`; r=Callek
The build tasks already use that spelling, so make the naming consistent.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:47:06 +00:00
Tom Prince eb4f09b001 Bug 1527313: [mozharness] Find multi-l10n source files relative to source directory; r=Callek
The original code hard-coded the path of the source directory. Instead, use the
actual source directory.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:46:59 +00:00
Tom Prince 45f1f4097d Bug 1527313: [mozharness] Use `abs_src_dir` instead of `abs_mozilla_dir` in l10n; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62366

--HG--
extra : moz-landing-system : lando
2020-02-11 19:46:56 +00:00
Tom Prince 5f05d09934 Bug 1527313: Consolidate multi-locale config, since it does not vary by branch; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62342

--HG--
extra : moz-landing-system : lando
2020-02-11 19:46:47 +00:00
Tom Prince ec197b17fa Bug 1527313: [taskgraph] Use `artifact-reference` in upload-sources task; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D62341

--HG--
extra : moz-landing-system : lando
2020-02-11 19:46:44 +00:00
J. Ryan Stinnett 8ebd39a1ad Bug 1486331 - Remove child-src deprecation warning. r=ckerschb
As child-src is no longer deprecated in the CSP level 3 spec, this removes the
console warning, since it's valid to use it as a fallback for frame-src and
worker-src.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 13:59:09 +00:00
Emilio Cobos Álvarez bfcb8d06e9 Bug 1614510 - Split clip-path and shape-outside values. r=boris
We don't actually share _that_ much code across them. This makes callers clearer
and code less confusing, IMHO.

This also has the benefit of not autocompleting path from devtools for
shape-outside.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 23:34:53 +00:00
Emilio Cobos Álvarez 628f21dc90 Bug 1614510 - Use cbindgen for shape-outside and clip-path. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D62372

--HG--
extra : moz-landing-system : lando
2020-02-11 22:03:53 +00:00
Chris Manchester 90b8c7c6b2 Bug 1613823 - Serialize cargo invocations in the build system, prioritizing gecko. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61961

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:56 +00:00
Chris Manchester 17ba38bfc0 Bug 1613823 - Add a pairwise function based on itertools to mozbuild.util. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62070

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:48 +00:00
Gijs Kruitbosch e0feb6a12e Bug 1610334 - add accessible labels to close/unpip buttons, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62460

--HG--
extra : moz-landing-system : lando
2020-02-11 19:42:00 +00:00
Makoto Kato 08f2e38560 Bug 1596920 - Waiting for text change when keypress is dispatched. r=geckoview-reviewers,esawin
This issue is race condition of Gecko and Android/Java text change.

When VKB doesn't use `InputConnection.sendKeyEvent` for keyboard input, it use `android.text.Editable`. So keypress event is often emulated by text change of `Editable`. When dispatching keypress, if Gecko's text and Java's text is synchronized via `icSyncShadowText`, caret/cursor position is mismatched. So we shouldn't sync Java text (`Editable`) with Gecko's text.

So I would like to block for synchronizing text change during keypress is dispatched.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 11:15:37 +00:00
Marc Streckfuss 868bbc1550 Bug 1353652 - Initial Draft of MPRIS API Provider (Media API on Linux) r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D47999

--HG--
extra : moz-landing-system : lando
2020-02-11 23:11:23 +00:00
Masayuki Nakano e388597a7d Bug 1611360 - part 2: Change `test_bug1151186.html` to mochitest-plain r=smaug
Now, we have `SpecialPowers` to use `DOMWindowUtils`.  Therefore,
`test_bug1151186.html` can be a mochitest-plain and it's better since the
test checks behavior on web apps.

Depends on D62396

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

--HG--
rename : widget/tests/test_bug1151186.html => editor/libeditor/tests/test_bug1151186.html
extra : moz-landing-system : lando
2020-02-11 11:47:03 +00:00
Masayuki Nakano 96766027db Bug 1611360 - part 1: Make sure that test_bug1151186.html set focus to its window forcibly when the document does not receive focus event r=smaug
For testing the original symptom of bug 1151186, this test needs to set focus
to a `contenteditable` editor from `focus` event listener of the documen.
However, according to the oranges, `focus` event for the document is not fired
as expected only on Linux.  The reason is, the document sometimes does not get
focus automatically.  Therefore, this patch tries to listen `focus` event first
for keeping original path.  But if the document is not activated automatically,
sets focus to its window when next macro task runs.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 20:47:07 +00:00
Stephen A Pohl ba4b5f43bc Bug 1381938: Add native theme for Windows that avoids native system calls. r=mstange,dbaron
Differential Revision: https://phabricator.services.mozilla.com/D33310

--HG--
extra : moz-landing-system : lando
2020-02-10 19:26:01 +00:00
alwu b8bfeff446 Bug 1611332 - part7 : add test for checking active session among tabs. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D61372

--HG--
extra : moz-landing-system : lando
2020-02-11 18:46:05 +00:00
alwu 310a6313be Bug 1611332 - part6 : add test for active media session. r=chunmin
This test is for checking if we can select correct media session as an active media session within a tab.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 14:01:48 +00:00
alwu 9dd96c6545 Bug 1611332 - part5 : add test for triggering media session's action handlers. r=chunmin
This test is for checking if we can trigger media session's action handler via media control keys.

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

--HG--
extra : moz-landing-system : lando
2020-01-30 10:42:31 +00:00
alwu b960039aa9 Bug 1611332 - part4 : directly notify context where media session exists if we have active media session. r=chunmin,bzbarsky
Since we can determine which browsing context contains an active media session via `MediaSessionController`, we should notify that context directly in order to access correct media session. Especially after we enable Fission, browsing contexts could exist in different processes, so choosing the right context to notify is really important.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 20:55:51 +00:00
alwu f4e6a6b835 Bug 1611332 - part3 : notify media session being created and destroyed. r=chunmin,bzbarsky
Update media session status from the content process to the chrome process in order to track all alive media session.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 09:30:03 +00:00
alwu 624272960a Bug 1611332 - part2 : implement MediaSessionController which is used to update media session and store media metadata. r=chunmin
Create a class `MediaSessionController` which is used to track all alive media sessions within a tab and store their metadata which could be used to show on the virtual media control interface. That class would also be responsible to select an active media session with in a tab.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 00:30:47 +00:00