Commit Graph

703941 Commits

Author SHA1 Message Date
Jan-Erik Rediger
cc7634dbc1 Bug 1632153 - Implement string list metric for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72655
2020-04-27 14:12:02 +00:00
Jan-Erik Rediger
d5ca718261 Bug 1632158 - Implement UUID metric for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72654
2020-04-27 14:11:59 +00:00
Jan-Erik Rediger
05466a1573 Bug 1632149 - Implement boolean metric for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72653
2020-04-27 14:11:57 +00:00
Jan-Erik Rediger
9dc69b54f2 Bug 1633375 - Implement counter metric for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72652
2020-04-27 14:10:58 +00:00
Johann Hofmann
6549ae761d Bug 1629590 - Don't show certificate categories on about:certificate if they're empty. r=carolina.jimenez.g
Differential Revision: https://phabricator.services.mozilla.com/D72194
2020-04-27 13:57:40 +00:00
Johann Hofmann
c8292aadf9 Bug 1629590 - Correctly determine certificate types for the about:certificate standalone page. r=carolina.jimenez.g
Differential Revision: https://phabricator.services.mozilla.com/D72193
2020-04-27 13:57:22 +00:00
Emilio Cobos Álvarez
8cfb840466 Bug 1627643 - Allow to find and display selection native anonymous content. r=jfkthame
The check for generated content in nsTextFrame is to the best of my
knowledge useless: We don't display generated content as selected when
the parent is selected anyhow, and the offsets would be wrong.

We special-case text inputs and textarea because of ::placeholder, see
the comment, but otherwise there's no reason you shouldn't be able to
find-in-page generated content / fallback / etc.

I added ForceBreakBetween so as to not create ranges that span across
shadow / anonymous content boundaries. They don't work anyway (see the
TODO in test_find.html), so it seems better to make that explicit until
we properly handle them (bug 1590379).

I added a pref just to be safe since this is long-standing behavior, but
I think it should be uncontroversial.

Differential Revision: https://phabricator.services.mozilla.com/D72447
2020-04-27 13:56:04 +00:00
Gregory Mierzwinski
8ac3b2e5f0 Bug 1632993 - Add the removed -live suffix in youtube-playback tests. r=perftest-reviewers,Marian
This patch re-adds the `-live` suffix to raptor-youtube-playback tests only.

Differential Revision: https://phabricator.services.mozilla.com/D72453
2020-04-27 13:16:59 +00:00
Harry Twyford
13bdc05bd6 Bug 1631844 - Add pinned site badge to pinned Top Sites in the Urlbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D72196
2020-04-27 08:15:36 +00:00
Stefan Hindli
d66d0256bb Bug 1630774 - Disabled 1325159-1.html and 1317403-1.html on Android r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D72526
2020-04-25 10:04:47 +00:00
Christian Holler
af77a718a1 Bug 1632550 - Disable jemalloc in debug fuzzing build. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D72599
2020-04-27 12:51:42 +00:00
Dimi Lee
f01d46bda6 Bug 1628732 1628501 - disable antitracking mochtiests that fail permanently on window64 opt r=timhuang
Following tests are disabled
- browser_protectionsUI_cookies_subview.js
- browser_protectionsUI_state.js
- browser_allowListNotifications.js
- browser_urlDecorationStripping.js

The reason that this tests are failing in fission mode is because in
window64 opt mode, additional content blocking event is triggered when
loading chrome:://global/skin/icons/resizer.svg

We don't have this problem before because in this case, we couldn't get the
top-level window, so the event was not fired.
But the recent working to make anti-tracking fission compatible (Bug 1624552) removes
the need of getting top-level window, so the event is fired and
testcases don't expect that.

Differential Revision: https://phabricator.services.mozilla.com/D72601
2020-04-27 12:36:42 +00:00
Edgar Chen
f432f306ed Bug 1631251 - Fullsceen request should consume the transient user activation; r=smaug
Depends on D72199

Differential Revision: https://phabricator.services.mozilla.com/D72201
2020-04-27 11:28:06 +00:00
Kartikaya Gupta
bd8d6597c2 Bug 1630781 - Reorder operations to increase idempotency of sampling APZ state during a vsync interval. r=botond
Refer to bug 1630781 comment 11 for a more detailed explanation of the problem.
A quick summary is that prior to this patch, the sampling operation involved
these steps:
- sample stored APZ state for composition
- advance animations to next vsync
- update stored APZ state to the one just computed
When sampling occured twice within a vsync interval, the stored APZ state
calculated at the end of the first sampling would be produced in the second
sampling, resulting in non-smooth scrolling. Note that the second and third
steps would only run once per vsync interval, but that was sufficient to cause
the problem.

With this patch, the order of the steps is reordered:
- update stored APZ state to that computed in the last vsync interval
- advance animations to next vsync and save it in the queue
- sample stored APZ state for composition
With this ordering (and with the first two steps only running once per vsync
interval), the third step now emits consistent data even if the steps are run
multiple times in a vsync interval. It does mean that the mSampledState deque
can have up to two items in it (front() being the state for the current vsync
interval, and back() being the state computed for the next vsync interval).

Although this problem only affected the WR codepath in practice, it could in
theory occur with the non-WR codepath too, if we for some reason ran the
TransformShadowTree code multiple times in a vsync interval. This patch updates
both codepaths with the new order of steps.

Differential Revision: https://phabricator.services.mozilla.com/D72046
2020-04-26 17:06:37 +00:00
Kartikaya Gupta
7a46942dee Bug 1630781 - Adjust test to account for extra composite required for WR hit-test. r=botond
We have had to apply this same fix in other tests in the past, for example in
helper_hittest_basic.html.

Differential Revision: https://phabricator.services.mozilla.com/D72045
2020-04-26 17:05:21 +00:00
Kartikaya Gupta
ead6b2732c Bug 1630781 - Allow mSampledState to temporarily hold more than one state. r=botond
Again, functionally this is a no-op since instead of replacing the back()
element, we do an emplace_back() followed by a pop_front().

Differential Revision: https://phabricator.services.mozilla.com/D72044
2020-04-27 01:02:34 +00:00
Kartikaya Gupta
6041ceee66 Bug 1630781 - Expand mSampledState into a deque. r=botond
The deque always has size 1, so this patch is functionally a no-op. It sets up
the usage of front() and back() to allow holding more than one item in a future
patch.

Depends on D72042

Differential Revision: https://phabricator.services.mozilla.com/D72043
2020-04-25 22:04:59 +00:00
Kartikaya Gupta
dba00154a9 Bug 1630781 - Encapsulate the mComposited* variables into a class. r=botond
No functional changes intended here, just code getting moved into a helper
class. Note that this patch folds RecalculateCompositedLayoutViewport into
ClampCompositedScrollOffset since there are no longer any independent callers
of the former function (as of bug 1627716).

Depends on D72041

Differential Revision: https://phabricator.services.mozilla.com/D72042
2020-04-25 01:00:07 +00:00
Kartikaya Gupta
5475382650 Bug 1630781 - Ensure the mComposited* fields are accessed safely across threads. r=botond
No functional change, since everything was safe already. But this propagates
the proof-of-lock a little further to make it more obvious that fields are
safely accessed.

Depends on D72040

Differential Revision: https://phabricator.services.mozilla.com/D72041
2020-04-25 00:49:23 +00:00
Kartikaya Gupta
5adfc0b92b Bug 1630781 - Eliminate the frame_delay pref, assume it true everywhere. r=botond,mstange
Having to think about multiple codepaths adds complexity and it doesn't seem
like we're going to turn this pref back off anytime soon.

Differential Revision: https://phabricator.services.mozilla.com/D72040
2020-04-25 00:47:54 +00:00
Johann Hofmann
105e5e23f6 Bug 1627220 - Skip expired permissions in getAllWithTypePrefix and getAllForPrincipal. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D72454
2020-04-27 11:40:53 +00:00
Tooru Fujisawa
68c7f2f41e Bug 1628784 - Pass TOPSRCDIR environment variable to jsapi-tests, in order to read test files. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D71255
2020-04-27 11:37:13 +00:00
Nicolas Chevobbe
df9fffea5c Bug 1622141 - Fix intermittent on browser_jsterm_autocomplete_return_key.js. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D72597
2020-04-27 10:35:10 +00:00
Jean-Yves Avenard
f9e2f2e9a6 Bug 1630320 - in browser_autocomplete_footer.js wait for the tab to load before attempting to retrieve its content. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72507
2020-04-26 10:35:57 +00:00
Florens Verschelde
0b497b71de Bug 1627663 - Add separate devtools-tabbar-button style for toolbox buttons; r=Honza
This patch trades a bit of CSS code duplication for the sake of making styles more independent and less prone to break.
- Remove usage of `devtools-button` in the toolbox's toolbar.
- Create a ad-hoc `devtools-tabbar-button` style specifically for the toolbox icon buttons.

Differential Revision: https://phabricator.services.mozilla.com/D72488
2020-04-27 10:39:19 +00:00
pbz
a0a5236904 Bug 1629808 - Updated ConfirmAuth dialogs to be tab modal and re-enabled them. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D72005
2020-04-24 13:14:11 +00:00
Simon Giesecke
850cbc20a8 Bug 1631391 - Simplify implementation of ReplaceElementAt. r=xpcom-reviewers,nika
Depends on D71721

Differential Revision: https://phabricator.services.mozilla.com/D71723
2020-04-27 10:08:46 +00:00
Jean-Yves Avenard
07d72f57f6 Bug 1630192 - Wait for the page to load before attempting to retrieve element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72506
2020-04-26 10:42:24 +00:00
Jean-Yves Avenard
55ff537cae Bug 1633329 - Add revision to .git-blame-ignore-revs. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D72592
2020-04-27 08:44:47 +00:00
Simon Giesecke
6ed8a22f98 Bug 1632779 - Make toolkit/components/telemetry/tests/gtest build outside unified build environment. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72311
2020-04-24 19:31:42 +00:00
Gijs Kruitbosch
e583ec83e1 Bug 1631229 - make popup hiding exiting fullscreen work correctly for tooltips, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D72461
2020-04-27 09:30:40 +00:00
Glenn Watson
43db714391 Bug 1632705 - Part 3 - Add API for rounded rect clips. r=Bert
This adds the last remaining explicit API for defining clips of
a specific type, and ports wrench and examples to use them.

Differential Revision: https://phabricator.services.mozilla.com/D72284
2020-04-26 23:30:48 +00:00
Glenn Watson
b954ae4e56 Bug 1632705 - Part 2 - Add display item for rectangle clips. r=nical
This allows defining rectangle clips directly, rather than via
the generic clip region methods.

This patch doesn't make use of it in Gecko yet, but it will do
once we add the remaining rounded rect API.

Differential Revision: https://phabricator.services.mozilla.com/D72268
2020-04-27 09:08:04 +00:00
Tom Tung
718c6d81f9 Bug 1633326 - Add an additional warning message that shows the file path when it fails to create a file; r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D72591
2020-04-27 08:38:55 +00:00
Christian Holler
870ae59237 Bug 1632830 - Properly shutdown ScopedXPCOM instance with libFuzzer. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D72386
2020-04-27 01:35:01 +00:00
Marco Bonardo
aa83e350d0 Bug 1623888. r=Gijs,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D71549
2020-04-24 15:39:36 +00:00
Makoto Kato
5eef0ef386 Bug 1612278 - Part 2. Re-enable TextInputDelegateTest#inputConnection. r=geckoview-reviewers,agi
Turn on some tests for InputConnection's behaviors. `inputConnection_setSelection` and `inputConnection_bug1133802` are still disabled due to Gecko issue and no good events.

Although I repeat 30 times to run this after this, no error now.

Differential Revision: https://phabricator.services.mozilla.com/D71151
2020-04-27 07:42:33 +00:00
Makoto Kato
33984be87d Bug 1612278 - Part 1. Add utility functions in TextInputDelegateTest. r=geckoview-reviewers,agi
I would like to add some common functions to wait various events.

Differential Revision: https://phabricator.services.mozilla.com/D71150
2020-04-27 07:42:26 +00:00
Peter Van der Beken
9a935f4bd4 Bug 1632802 - Remove nsAgg.h. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D72359
2020-04-27 07:56:04 +00:00
Mihai Alexandru Michis
9c27747cc3 Backed out 3 changesets (No Bug) for causing failures in mozscreenshots/devtools/browser_devtools.js
CLOSED TREE

Backed out changeset d39e17d5c942
Backed out changeset 1321943b2d79
Backed out changeset 21a5012182d6
2020-04-27 10:41:20 +03:00
Peter Van der Beken
84814fdc97 Bug 1632759 - Remove unnecessary kungFuDeathGrip. r=erahm
The problem in https://bugzilla.mozilla.org/show_bug.cgi?id=325392 was
misdiagnosed and then a generic fix in
https://bugzilla.mozilla.org/show_bug.cgi?id=485834 (the kungFuDeathGrip
in nsObserverService::RemoveObserver) was based on the wrong diagnosis.
The root problem in bug 325392 was not that we were calling
nsObserverService::RemoveObserver from the destructor, and then
reentering the destructor. The refcounting code stabilizes the refcount
to 1 before calling the destructor to avoid reentering a destructor. The
real problem was that we were deleting an XPCOM object manually after
creation but without ever holding a strong reference to it, and so not
going through the refcount stabilization (and then the destructor can
reenter of course).

The generic fix in bug 485834 was based on the spotfix in bug 325392,
that was then backed out when the proper fix for that bug landed. I
don't think we should keep this kungfuDeathGrip, I ran into it because
it causes issues with refcount logging (refcount logging always had an
issue with refcounting from a destructor).

Differential Revision: https://phabricator.services.mozilla.com/D72300
2020-04-27 07:31:06 +00:00
Dan Glastonbury
f2d5afd779 Bug 1623565 - P4: Make browser.cache.check_doc_frequency a StaticPref. r=nika
Due to the refactored code,
browser/base/content/test/performance/browser_preferences_usage.js started
reporting more accesses to browser.cache.check_doc_frequency preference.

Differential Revision: https://phabricator.services.mozilla.com/D68319
2020-04-27 05:38:22 +00:00
Dan Glastonbury
6ffa81c157 Bug 1623565 - P3: Remove mLoadFlags from DocumentChannelCreationArgs. r=mattwoodrow,jya
Differential Revision: https://phabricator.services.mozilla.com/D67799
2020-04-27 05:38:15 +00:00
Dan Glastonbury
0d4af00c6b Bug 1623565 - P2: Refactor document channel load flags computation. r=nika,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D67797
2020-04-27 05:38:07 +00:00
Dan Glastonbury
a48830f2b3 Bug 1623565 - P1: Move defaultLoadFlags to BrowsingContext. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D67796
2020-04-27 05:37:59 +00:00
Andreas Farre
6adf2b375d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-27 05:41:40 +00:00
Andreas Farre
a5c1034d17 Bug 1576188 - Test that save-as works for cross process frames. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D70388
2020-04-27 05:41:27 +00:00
Lina Cambridge
1aa777d5e1 Bug 1626506 - Add a binding for the new extension storage Rust component. r=markh
The `webext_storage_bridge` crate introduced in this commit bridges the
`mozIExtensionStorageArea` XPCOM interface to the `webext_storage` Rust
component from Application Services.

This commit factors out the following parts from bug 1623245, so that
we can land them piecemeal:

* The `mozIExtensionStorageArea` interfaces, which implement all the
  methods needed to support the `storage.sync` API.
* A Rust implementation of the above, in `StorageSyncArea`.
* A `StorageTask` type, for dispatching storage operations to a
  background task queue.
* A `LazyStore`, which wraps the Rust component's `Store` and lazily
  initializes it on the background queue the first time it's used.
* A `StorageSyncService`, which is our singleton. It holds on to a
  configured `StorageSyncArea`, and hands out references to it via
  `getInterface`. Eventually, we'll extend this to support syncing,
  too.

Differential Revision: https://phabricator.services.mozilla.com/D71897
2020-04-27 05:40:54 +00:00
Lina Cambridge
e6e665546f Bug 1626506 - Vendor the webext_storage component. r=markh
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.

Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 05:40:52 +00:00
Mihai Alexandru Michis
807ec47bae Backed out 2 changesets (bug 1626506) for causing bustages.
CLOSED TREE

Backed out changeset f3deedfe235d (bug 1626506)
Backed out changeset 00b40d247500 (bug 1626506)
2020-04-27 08:11:19 +03:00