Commit Graph

702855 Commits

Author SHA1 Message Date
Daisuke Akatsuka
5865a049cd Bug 1590981: Make target browsers persistent. r=mtigley
Depends on D70321

Differential Revision: https://phabricator.services.mozilla.com/D70322
2020-04-22 01:50:57 +00:00
Daisuke Akatsuka
573ddb6669 Bug 1590981: Make target browsers selectable. r=mtigley
Depends on D70320

Differential Revision: https://phabricator.services.mozilla.com/D70321
2020-04-21 20:06:28 +00:00
Daisuke Akatsuka
a99dc11e53 Bug 1590981: Show all default target browsers in settings page. r=mtigley
Depends on D70319

Differential Revision: https://phabricator.services.mozilla.com/D70320
2020-04-22 01:32:34 +00:00
Daisuke Akatsuka
2575ca8e6e Bug 1590981: Introduce UserSettings object. r=mtigley
Depends on D70318

Differential Revision: https://phabricator.services.mozilla.com/D70319
2020-04-22 01:17:45 +00:00
Daisuke Akatsuka
0736ab52d2 Bug 1590981: Add a settings pane. r=mtigley
Depends on D70317

Differential Revision: https://phabricator.services.mozilla.com/D70318
2020-04-22 01:14:19 +00:00
Daisuke Akatsuka
fd3b574e9f Bug 1590981: Append settings button. r=mtigley
Depends on D70286

Differential Revision: https://phabricator.services.mozilla.com/D70317
2020-04-22 00:53:33 +00:00
Dão Gottwald
052af6e039 Bug 1631378 - Fix identity label max-width. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71748
2020-04-21 20:06:19 +00:00
Lee Salzman
cc83337f4b Bug 1632025 - fix SWGL shader key parsing. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D71874
2020-04-22 03:39:21 +00:00
Cosmin Sabou
b6b5d23f63 Backed out changeset da168cc5c08f (bug 1630742) for dt failures on browser_dbg-continue-to-here-click.js CLOSED TREE 2020-04-22 06:46:32 +03:00
Cosmin Sabou
fe242fb84b Backed out changeset 3fc026e3b0e7 (bug 1630957) for devtools failures on browser_dbg-sourcemapped-toggle.js. CLOSED TREE 2020-04-22 06:36:11 +03:00
Bogdan Tara
4bd759fa8e Backed out 7 changesets (bug 1580565) for browser_entry_point_telemetry.js failures CLOSED TREE
Backed out changeset 12a4f3de76a8 (bug 1580565)
Backed out changeset 81d537df2dc1 (bug 1580565)
Backed out changeset b182e872c9d4 (bug 1580565)
Backed out changeset 0b4595b2c153 (bug 1580565)
Backed out changeset 4363e3a3d799 (bug 1580565)
Backed out changeset cbb14b2c7b33 (bug 1580565)
Backed out changeset 46b251848297 (bug 1580565)
2020-04-22 06:15:43 +03:00
Makoto Kato
f052a12a9d Bug 1626389 - Part 2. Remove unnecessary GetShowPasswordSetting sync IPC. r=mccr8
GeckoView no longer uses this sync IPC, so we should remove this.

Differential Revision: https://phabricator.services.mozilla.com/D71708
2020-04-21 17:31:00 +00:00
Makoto Kato
784bdca25f Bug 1626389 - Part 1. Use JNI to get password setting even if content process. r=geckoview-reviewers,snorp
Now we can use JNI on content process, so it is unnecessary to use sync IPC
to get password setting.

Differential Revision: https://phabricator.services.mozilla.com/D71707
2020-04-21 14:54:29 +00:00
Makoto Kato
4c21ee5564 Bug 1606885 - Add control+backspace/delete shortcut. r=geckoview-reviewers,snorp
According to [*1], Android's text control now supports ctrl+backspace and
ctrl+delete shortcut. So we should support it since Chrome already have this.

*1 f2b233d44c

Differential Revision: https://phabricator.services.mozilla.com/D71736
2020-04-21 14:55:16 +00:00
alwu
c89616453c Bug 1625615 - part6 : add test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D69675
2020-04-20 21:19:57 +00:00
alwu
1933899aff Bug 1625615 - part5 : add test-only attribute and event for media element. r=bryce,emilio
Differential Revision: https://phabricator.services.mozilla.com/D69674
2020-04-20 21:19:57 +00:00
alwu
7cd282b498 Bug 1625615 - part4 : start listener if we haven't started listener yet. r=bryce
There is actually possible to start the listener already while running `SuspendOrResumeElement()`, so we should remove the assertion and use a check instead.

Eg.  JS can call `play()`, which would start the listener, before we run this method. This situation can be found when browsing Youtube on the GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D69673
2020-04-20 21:19:57 +00:00
alwu
a4a77fb633 Bug 1625615 - part3 : prevent media starting playing when inactive docshell wants to suspend any media. r=bryce
When the docShell's `SuspendMediaWhenInactive` flag is true, no media should be allowed to start playing. Therefore, we add a check in `Play()`, `CanActivateAutoplay()` to prevent media from playing. In addition, we should also prevent the audio channel agant from starting.

Differential Revision: https://phabricator.services.mozilla.com/D69672
2020-04-20 21:19:57 +00:00
alwu
b69e72e2f8 Bug 1625615 - part2 : suspend or resume media element according to docShell's SuspendMediaWhenInactive r=bryce
If docShell's `SuspendMediaWhenInactive` is true, then we should suspend or resume the media element according to the docshell active state when the docshell changes it active state.

Differential Revision: https://phabricator.services.mozilla.com/D69671
2020-04-20 21:19:56 +00:00
alwu
d09fa27d37 Bug 1625615 - part1 : update 'suspendMediaWhenInactive' when GeckoView setting changes r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D69884
2020-04-22 02:08:27 +00:00
alwu
f6f59cedd1 Bug 1625615 - part0 : create and set the flag suspendMediaWhenInactive on docShell. r=baku,farre
Implemecurnt a flag `suspendMediaWhenInactive` on the docShell that indicates media in that shell should be suspended when the shell is inactive. Currently, only GeckoView is using this flag.

---

The reason of implementing this flag is because in bug1577890 we remove the old way to suspend/resume the media, and I thought setting docshell to inactive is enough to suspend the media because we already have a mechanism which would suspend/resume media when document becomes inactive/active [1].

However, the active state of document is actually different from what I thought it was. Setting docshell to inactive won't change the document's active state, because that indicates if the document is the current active document for the docshell [2] (docshell can have multiple documents), instead of indicating if the docshell is active or not.

Therefore, we have to add another flag to indicate if the docshell wants to suspend its media when it's inactive, in order to use current mechanism to suspend/resume media.

[1] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/html/HTMLMediaElement.cpp#6453
[2] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/base/Document.h#2627-2633

Differential Revision: https://phabricator.services.mozilla.com/D69669
2020-04-20 21:19:56 +00:00
David Walsh
e8e2885864 Bug 1630957 - Provide settings menu for debugger UI to allow disabling JavaScript r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D71365
2020-04-21 21:55:42 +00:00
Jason Laster
97f6ed7aea Bug 1630742 - cmd+click should continue to here. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71217
2020-04-22 01:07:05 +00:00
Nika Layzell
09f0ec0bae Bug 1580565 - Part 7: Handle attaching WindowContext to zombie BrowsingContext in the child, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D71805
2020-04-22 01:38:07 +00:00
Nika Layzell
5708211961 Bug 1580565 - Part 6: Add a unique ID to each BrowsingContextGroup, r=kmag
This allows us to explicitly specify BrowsingContextGroups when synchronizing
them. A major advantage of this is that it means we can handle an attempt to
create a BrowsingContext with a parent which the content process is unaware of,
which is possible due to changes to the EnsureSubscribed logic in earlier
patches in this stack.

This is OK, because in the case where the content process cannot see its parent,
the parent must be imminently discarding.

Differential Revision: https://phabricator.services.mozilla.com/D71668
2020-04-22 01:38:05 +00:00
Nika Layzell
aa9801e616 Bug 1580565 - Part 5: Remove redundant 'mParent' member, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D71239
2020-04-22 01:38:02 +00:00
Nika Layzell
88b3fbe306 Bug 1580565 - Part 4: Use WindowContext to manage BrowsingContext cached status, r=farre
The existing infrastructure which stored cached BrowsingContexts on the
BrowsingContextGroup was added before WindowContexts were added, and can cause
racing issues with partially discarded trees during process switches.

Differential Revision: https://phabricator.services.mozilla.com/D71238
2020-04-22 01:37:55 +00:00
Nika Layzell
20e0c066e7 Bug 1580565 - Part 3: Simplify API for creating independent BCs, r=farre
There were previously a number of different APIs for creating BrowsingContext
instances. This simplifies them into two major cases: "CreateDetached", which
allows for creating BrowsingContexts which are related to other
BrowsingContexts, and "CreateIndependent" which creates new, fully unrelated,
browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D71237
2020-04-22 01:37:52 +00:00
Nika Layzell
1872a6cc8d Bug 1580565 - Part 2: Delay creating nsFrameLoader in static clone until embedder has window, r=smaug
Follow-up parts in this bug depend on being able to read the `nsGlobalWindow`
which embeds a `nsFrameLoader` within `CreateBrowsingContext`, which is called
from the `nsFrameLoader` constructor. Unfortunately, we depend on creating the
`nsFrameLoader` and `BrowsingContext` before we have the window as part of the
fix to bug 1577711.

This patch changes `BuildNestedPrintObjects` to instead use a list of pending
clones stored on the parent `Document` object, and delays creation of the
`nsFrameLoader`, and thus the inner `BrowsingContext`, until after the document
has an owner global.

Due to the low number of automated tests for printing, I manually tested
print-previewing both the reduced test case from bug 1577711, a wikipedia
article, and 'data:text/html,<object data="data:text/html,hi">' to avoid
regressions.

Differential Revision: https://phabricator.services.mozilla.com/D71236
2020-04-22 01:37:50 +00:00
Nika Layzell
dabb47af2e Bug 1580565 - Part 1: Clean up misleading BrowsingContext comments, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D71235
2020-04-22 01:37:48 +00:00
L. David Baron
5910cd9edb Bug 1631977 - Add comments explaining relationship of nsIFrame::GetUsed* to Get*SkipSides. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D71840
2020-04-22 01:20:14 +00:00
Jeff Muizelaar
c575c3531c Bug 1632002. Re-enable WebRender on Gen7.5 in Nightly.
Scrolling on Youtube (Bug 1576637) has improved enough
that we can turn gen7 back on in Nightly

Differential Revision: https://phabricator.services.mozilla.com/D71859
2020-04-22 01:18:23 +00:00
Ted Campbell
0e1e1ef0db Bug 1631508 - Fix LEffectiveAddress on ARM64 r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D71567
2020-04-21 06:12:52 +00:00
Tom Tung
09903525ea Bug 1628076 - Ensure sFactory alive while it is calling Abort; r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D71323
2020-04-21 19:57:46 +00:00
Matt Woodrow
8b62416034 Bug 1623849 - Stop DocumentLoadListener from copying INHIBIT_PERSISTENT_CACHING to the content process channel. r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71117
2020-04-22 00:34:53 +00:00
Cosmin Sabou
64b299d872 Bug 1630772 - further metadata updates. a=test-only
DONTBUILD
2020-04-22 03:29:00 +03:00
Daisuke Akatsuka
43768a5a20 Bug 1625815: Add a node test for Footer component. r=mtigley,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D70286
2020-04-21 15:34:31 +00:00
Daisuke Akatsuka
74dbb630d2 Bug 1625815: Add a feedback button. r=mtigley,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D70285
2020-04-22 00:23:21 +00:00
Oriol Brufau
35a5b6c057 Bug 1631288 - Support %TypedArray%.from and %TypedArray%.of in eager evaluation. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D71667
2020-04-22 00:21:41 +00:00
Botond Ballo
5ecfef966e Bug 1629732 - Fix non-unified build errors in layout/xul. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D71847
2020-04-22 00:11:22 +00:00
Botond Ballo
f037b67019 Bug 1629732 - Fix non-unified build errors in layout/tools. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D71846
2020-04-22 00:10:55 +00:00
Botond Ballo
66f6d998af Bug 1629732 - Fix non-unified build errors in layout/svg. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D71845
2020-04-22 00:10:47 +00:00
Lina Cambridge
3b84c96063 Bug 1631952 - Ensure that all XPCOM interface methods have unique names when implementing them in Rust. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D71833
2020-04-21 23:01:36 +00:00
Matthew Noorenberghe
bc3a45bd19 Bug 1631944 - Add Lockwise as a keyword for login and password preferences. r=jaws,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71830
2020-04-21 23:49:21 +00:00
Edwin Takahashi
e2f3473016 Bug 1630350 - apply mach try filter to try syntax selector r=jmaher,gbrown
Changes:

Applies the `filter_tasks_by_blacklist` method to try syntax pushes as well.

  - moved `TARGET_TASK_BLACKLIST`and `filter_tasks_by_blacklist` method to live in `taskcluster/taskgraph/target_tasks.py`.
  - removed existing filters against `ccov, windows10-aarch64` and `android-hw` filters against try syntax pushes.
  - update imports for `fuzzy` and `chooser` selectors to refer to the new location of `filter_tasks_by_blacklist` method.

The reason for moving the logic (again) from `tools/tryselect` to `taskcluster/` is due to the placement of `try_option_syntax` and `target_tasks` files and both of those files handle the processing of `mach try syntax` pushes.

Differential Revision: https://phabricator.services.mozilla.com/D71698
2020-04-21 19:51:25 +00:00
Jason Laster
54e726553b Bug 1630642 - Stepping should respect the currently selected frame. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D71223
2020-04-21 23:29:33 +00:00
Nika Layzell
11939015a0 Bug 1625513 - Part 6: Re-set the LOAD_DOCUMENT_URI flag in TriggerRedirectToRealChannel, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D71843
2020-04-21 22:51:57 +00:00
Nika Layzell
b4c2e94a13 Bug 1625513 - Part 5: Don't run sandboxed srcdoc loads through DocumentChannel, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D71688
2020-04-21 22:33:11 +00:00
Nika Layzell
df943db304 Bug 1625513 - Part 4: Don't require being in tabbrowser for subframe process switches, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D71396
2020-04-21 22:33:14 +00:00
Nika Layzell
00f86199f6 Bug 1625513 - Part 3: Allow importing a named object from a module with do_ImportModule, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D71395
2020-04-21 22:33:09 +00:00