717087 Commits

Author SHA1 Message Date
Cameron McCormack
c7b8a0ec83 Bug 1650715 - Make image-orientation apply to all CSS images associated with an element. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D82471
2020-07-08 23:51:15 +00:00
Itiel
37e074cdb6 Bug 1651450 - Fix the navigation buttons direction and url input in about:debugging for RTL r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D82780
2020-07-08 19:21:24 +00:00
Itiel
50c5e799e3 Bug 1651433 - Fix the telephone number to appear correctly in the preferences and in the autofill list r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D82771
2020-07-08 19:51:14 +00:00
Bianca Danforth
a7911be0b5 Bug 1612258 - Show/adjust the dismissed login capture doorhanger in response to input events in the password & username field. r=MattN,severin
We will still only autosave on "change" events: for the initial fill of a generated password (when the "autocomplete-did-enter-text" observer notification fires) and subsequent edits on generated password fields.

While we don't want to autosave on "input" events, we do want to update the doorhanger field values. We prevent autosaving for "input" events that fire on generated password fields by never explicitly passing in the current value of `triggeredByFillingGenerated` to `_passwordEditedOrGenerated`; this means it will default to `false`.

Differential Revision: https://phabricator.services.mozilla.com/D81377
2020-07-08 17:44:04 +00:00
Matt Woodrow
6dade78e50 Bug 1649879 - Use webprogress events instead of waitForDocLoadAndStopIt in browser_progress_keyword_search_handling.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D82803
2020-07-08 23:38:35 +00:00
Matt Woodrow
17fbf88433 Bug 1649879 - Handle URIFixup that happens on a failed channel in DocumentLoadListener if available, rather than waiting for it to reach nsDocShell. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D81947
2020-07-08 23:38:22 +00:00
Matt Woodrow
8575748f00 Bug 1649879 - Remove URIFixupChild. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D81946
2020-07-08 23:37:59 +00:00
Matt Woodrow
6aac98f0a2 Bug 1649879 - Implement WebNavigationFlagsToFixupFlags in C++ so that we avoid needing to call into the URIFixup JS module. r=kmag
This should be the exact same code, just avoiding needing to create the URIFixup service in order to run it.

Differential Revision: https://phabricator.services.mozilla.com/D81945
2020-07-08 23:37:42 +00:00
Matt Woodrow
655377eb57 Bug 1649879 - Don't create nsIURIFixupInfo in content process nsDocShellLoadState construction. r=kmag
Rather than constructing an nsIURIFixupInfo from the IPC call return valuess, and then immediately querying the same data, this just use the results directly.

It also moves the firing of "keyword-uri-fixup" observers to the parent process side. As far as I can tell, the only consumer was URIFixupChild, which was also forwarding them to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D81944
2020-07-08 23:37:29 +00:00
Matt Woodrow
38e792c270 Bug 1649879 - Fold GetFixupURIInfo into the calling code. r=kmag
This should be a no-op change, just to make the next patch a small diff.

Differential Revision: https://phabricator.services.mozilla.com/D81943
2020-07-08 23:37:17 +00:00
Masayuki Nakano
b546936467 Bug 1647556 - part 6: Make WSRunObject::AdjustWhiteSpace() use TextFragmentData::CreateWSFragmentForVisibleAndMiddleOfLine() instead of scanning all WSFragments r=m_kato
It scans all `WSFragment`s in the array and call `NormalizeWhiteSpacesAtEndOf()`
only with visible instance.  However, as we know, there is at most one such
instance.  Therefore, it does not need to scan the fragments (i.e., don't need
to create all fragments).

Differential Revision: https://phabricator.services.mozilla.com/D82279
2020-07-08 10:11:35 +00:00
Masayuki Nakano
61003960ec Bug 1647556 - part 5-3: Implement the other case of CreateWSFragmentForVisibleAndMiddleOfLine() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D82278
2020-07-08 09:08:39 +00:00
Alexandre Poirot
6c430374e4 Bug 1649910 - Emit "switched-target" only after we fully attached to the new target. r=jdescottes
The previous code, emitting the event from Toolbox.onTargetAvailable,
wasn't waiting for the call to TargetList.startListening which is done
from TargetList.onTargetAvailable.

Differential Revision: https://phabricator.services.mozilla.com/D82664
2020-07-08 22:57:36 +00:00
Kris Maglione
14dea7d7a6 Bug 1651436: Wrap exceptions thrown by WrapPrivileged getters. r=mccr8
When a privileged exception object is thrown by a function exported via
`exportFunction`, it is reported to the console, and a generic unprivileged
exception is re-thrown in its place. This is a problem for test harness code
which tests for getters throwing exceptions by catching them and then setting
a flag. The re-thrown exception is hidden, but the original is still reported,
and becomes a red herring for people debugging tests.

This patch catches exceptions thrown by getters (and setters, and other proxy
hooks previously overlooked), checks if they're readable by the global the
privileged object is wrapped for, wraps them if they are not, and then
re-throws them.

Differential Revision: https://phabricator.services.mozilla.com/D82782
2020-07-08 22:55:11 +00:00
Samuel Thibault
667bd111f3 Bug 1606721 - Fix crash on screen reader text requests with bogus offsets, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D82424
2020-07-08 22:46:28 +00:00
Samuel Thibault
08cdd6ddc7 Bug 1606721 - Fix crash on screen reader text requests with end offset smaller than -1, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D82324
2020-07-08 22:47:11 +00:00
Dana Keeler
97b8c4eeb3 Bug 1651155 - disable intermediate preloading healer in late beta and release r=jcj
While we figure out the crashes we're seeing on beta (bug 1650654), this will
disable the intermediate preloading healer in late beta and release.

Differential Revision: https://phabricator.services.mozilla.com/D82588
2020-07-08 22:41:06 +00:00
Miko Mynttinen
f51fb1062d Bug 1641769 - Compute visibility of nsDisplayPerspective children r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D82720
2020-07-08 21:30:30 +00:00
Kris Taeleman
c1c9b971d0 Bug 1649591 - Fix remote desktop graphics initialization. r=jrmuizel
If the device key is empty, we are most likely in a remote desktop environment. In this case we set the devicekey to an empty string so it can be handled later and not early out.

Differential Revision: https://phabricator.services.mozilla.com/D81782
2020-07-08 22:25:02 +00:00
Kris Maglione
2faa43dd5c Bug 1647438: Remove nsIDOMWindowUtils.containerElement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D81771
2020-07-02 15:03:44 +00:00
Mihai Alexandru Michis
53a4dbf91a Backed out changeset 19269e470c71 (bug 1594914) for causing bustages.
CLOSED TREE
2020-07-09 01:36:29 +03:00
Mark Hammond
e017fd7a57 Bug 1651285 - Remove bookmarks and history sync ID and last sync duplication logic. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D82645
2020-07-08 17:58:09 +00:00
Kris Maglione
9036ae1fdc Bug 1647205: Remove getWinUtils helper. r=zombie
It isn't useful now that there is a `Window.windowUtils` WebIDL getter, and it
causes problems in the face of certain WeakMap issues.

Differential Revision: https://phabricator.services.mozilla.com/D82795
2020-07-08 21:59:51 +00:00
Mike Conley
4c243e84be Bug 1633913 - Move the queueEarlyMessageMiddleware before the rehydrationMiddleware in the Activity Stream middleware chain. r=Mardak
The queueEarlyMessageMiddlware is designed to hold any messages from the about:home/about:newtab
document until the first message from the parent process is received. This is important because
it's possible for the about:home/about:newtab document to finish loading before Activity Stream
has finished initializing.

The other changes in this patch series allow the rehydrationMiddlware to skip dispatching
actions for the cached about:home document during the startup window. Unfortunately, because
the rehydrationMiddleware has been earlier in the chain than queueEarlyMessageMiddlware, this
means that those ignored startup actions didn't trigger the early queued messages to be sent
to the parent. This prevented the timestamps.about_home_topsites_first_paint scalar from being
set, which broke a Talos test.

By moving the queueEarlyMessageMiddleware earlier, it has an opportunity to send those early
actions to the parent before the rehydrationMiddleware has an opportunity to discard actions.

Depends on D80999

Differential Revision: https://phabricator.services.mozilla.com/D82735
2020-07-08 21:09:34 +00:00
Mike Conley
6df95fa43d Bug 1633913 - Add a test to make sure no new Activity Stream actions get added to the startup window without the isStartup meta property. r=Mardak
This also updates the head.js for the about:home startup cache tests to make
sure that Pocket stories exist during the test.

Differential Revision: https://phabricator.services.mozilla.com/D80999
2020-07-08 15:10:01 +00:00
Mike Conley
ac59f0cacb Bug 1633913 - Annotate ActivityStream actions that occur during startup, and have the cached about:home document ignore them. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D80998
2020-07-08 15:09:34 +00:00
Mike Hommey
69fef46cab Bug 1651079 - Add necessary LOCAL_INCLUDES for StackWalk.cpp in memory/replace/logalloc/replay. r=rstewart
This requires a workaround for the use of __wrap_dladdr, which can't be
used in logalloc-replay. The workaround involves making __wrap_dladdr
expand to dladdr, but that makes the definition ElfLinker.h conflict
with the one in the Android system headers, so we change it to match,
and adjust ElfLinker.cpp accordingly.

And while here, fix the condition in mozglue/misc to match the condition
around including Linker.h in StackWalk.cpp itself.

Differential Revision: https://phabricator.services.mozilla.com/D82648
2020-07-08 21:37:24 +00:00
Nika Layzell
54d298d667 Bug 1648109 - Report GetActor exceptions directly to the JSContext, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D82446
2020-07-06 21:17:17 +00:00
Mike Hommey
e65481e7fb Bug 1651305 - Simplify how USE_INTEGRATED_CLANGCL_AS is handled. r=froydnj
The current setup sets /some/ flags via CLANGCL_ASFLAGS (handling of x86
is notably missing, for instance), and uses "clang-cl" as the assembler,
assuming it's in $PATH.

This can be simplified by just using `CC`, which will contain the full
path to "clang-cl" and the right flags for the targets, which makes
CLANGCL_ASFLAGS unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D82660
2020-07-08 13:53:27 +00:00
Mihai Alexandru Michis
5f385df474 Backed out 2 changesets (bug 1555560) for causing multiple lint failures.
CLOSED TREE

Backed out changeset bd9460ac6e48 (bug 1555560)
Backed out changeset f2896032ced6 (bug 1555560)
2020-07-09 01:04:18 +03:00
Mihai Alexandru Michis
7c97b7bedc Backed out changeset 1843bcfce110 (bug 1651436) for causing failures related to WrapPrivileged.jsm
CLOSED TREE
2020-07-09 01:03:09 +03:00
Doug Thayer
ea284b8a67 Bug 1649955 - Bump FX_TAB_SWITCH_SPINNER_VISIBLE probes r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D82569
2020-07-07 19:21:24 +00:00
Doug Thayer
f8e6097002 Bug 1649954 - Bump StartupCache / ScriptPreloader probes r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D82458
2020-07-07 17:24:40 +00:00
Byron Campen [:bwc]
88844c36fc Bug 1326005: Always update the Jsep ICE transport's candidate list when negotiation completes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D82036
2020-07-08 18:32:17 +00:00
Byron Campen [:bwc]
40f9bf512c Bug 1326005: Make this log at INFO because that's the level we log on the sending side. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D82035
2020-07-08 18:00:20 +00:00
Byron Campen [:bwc]
27a79c0e53 Bug 1326005: Test case for completion of ICE using candidates in reoffer/reanswer instead of trickle. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D82407
2020-07-08 20:48:43 +00:00
Chris AtLee
92897f1567 Bug 1555560: Run black format check in automation; r=ahal,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33126
2020-07-08 20:44:41 +00:00
Chris AtLee
7f8f324f06 Bug 1555560: Add support for black formatting with mozlint; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33125
2020-07-08 19:35:49 +00:00
Steven Englehardt
2a86001eea Bug 1643432 - Renew STORAGE_ACCESS_API_UI probes until Firefox 88; r=baku, data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D82481
2020-07-07 15:16:07 +00:00
Kris Maglione
65524b5ecb Bug 1651436: Wrap exceptions thrown by WrapPrivileged getters. r=mccr8
When a privileged exception object is thrown by a function exported via
`exportFunction`, it is reported to the console, and a generic unprivileged
exception is re-thrown in its place. This is a problem for test harness code
which tests for getters throwing exceptions by catching them and then setting
a flag. The re-thrown exception is hidden, but the original is still reported,
and becomes a red herring for people debugging tests.

This patch catches exceptions thrown by getters (and setters, and other proxy
hooks previously overlooked), checks if they're readable by the global the
privileged object is wrapped for, wraps them if they are not, and then
re-throws them.

Differential Revision: https://phabricator.services.mozilla.com/D82782
2020-07-08 20:22:05 +00:00
Sebastian Hengst
aa6404a088 Bug 1559315 - Temporarily disable browser_rules_authored_color.js on Windows opt. r=gbrown DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D82775
2020-07-08 20:21:04 +00:00
Nika Layzell
27320bcf81 Bug 1650163 - Part 3: Move REMOTE_TYPE defines to a separate header, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D82107
2020-07-08 20:16:06 +00:00
Nika Layzell
3f8ded27c9 Bug 1650163 - Part 2: Add a NOT_REMOTE_TYPE define to clarify calling code, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D82106
2020-07-08 20:16:04 +00:00
Nika Layzell
22a65a237e Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82104
2020-07-08 20:15:59 +00:00
Matthew Gaudet
0877db2bf0 Bug 1651178 - Ensure Private Methods aren't enabled by accident r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D82587
2020-07-08 19:49:56 +00:00
Tom Prince
f27be8d7e7 No bug: Be strict about treeherder symbol splitting; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D82624
2020-07-08 20:02:26 +00:00
Michael Froman
919ac9b1ae Bug 1651286 - remove unused static method PeerConnectionImpl::CreatePeerConnection. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D82781
2020-07-08 19:45:11 +00:00
Dorel Luca
7ff1c0fb61 Backed out changeset b17f8ba4211d for Gecko Decision task bustage. CLOSED TREE 2020-07-08 22:53:59 +03:00
Tom Prince
440eed985f Bug 1643817: Use a fresh taskgroup for create-interactive tasks; r=Callek
In Bug 1641971 (e7d4c490c31a) we changed `taskgraph.create.create_tasks` to
always get the decision task id to use. However, the call in create-interactive
passed `None`, expecting to have on generated. This changes that to use the
`create-interactive`s action task as the task id.

Differential Revision: https://phabricator.services.mozilla.com/D82652
2020-07-08 18:41:17 +00:00
Tom Prince
fc3ae614bc No bug: Update links to hg.mozilla.org to use default instead of tip in taskcluster/; r=Callek
The latter sometimes bites us if we have a legacy support branch that gets
pushed more recently than default.

Differential Revision: https://phabricator.services.mozilla.com/D82628
2020-07-08 18:41:17 +00:00