Commit Graph

10810 Commits

Author SHA1 Message Date
Gabriel Luong
71f1656cb5 Bug 1738012 - Fetch content meta data only after the page is loaded. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D129733
2022-05-30 17:46:02 +00:00
Molnar Sandor
84cba2a6db Backed out 4 changesets (bug 1770727) for causing mochitest failures in test_bug1180105/test_access_control. CLOSED TREE
Backed out changeset 6323b526b0ac (bug 1770727)
Backed out changeset fc7ea80aa2ff (bug 1770727)
Backed out changeset 2a358ba86652 (bug 1770727)
Backed out changeset 464d1af6523b (bug 1770727)
2022-05-24 17:24:40 +03:00
Mark Banner
2b13cf4485 Bug 1770727 - Fix some more ESLint rules on sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147080
2022-05-24 12:59:08 +00:00
Florian Quèze
7c84d50b61 Bug 1745024 - avoid keeping an 'Accessibility notifications' refresh observer for initial about:blank documents, r=Jamie.
Differential Revision: https://phabricator.services.mozilla.com/D143747
2022-05-21 00:23:09 +00:00
Mark Banner
cc09541457 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Andrew McCreight
5cedd55c3f Bug 1514936, part 1 - Remove the outer argument to nsIFactory::createInstance. r=xpcom-reviewers,preferences-reviewers,nika,Gijs
This patch won't actually build, because a few bits of code are used
for both nsIFactory::createInstance and static components, and static
components are not fixed until the next patch.

The first place is nsLoadGroupConstructor, which uses an nsIFactory
macro to create a static component constructor. (This could be worked
around by expanding the macro to the state before this patch.)

The other issue is that nsAppShellConstructor is used in an nsIFactory
on OSX, but as a static component on all other platforms. This could
be worked around by wrapping nsAppShellConstructor in an adaptor that
passes in the extra null argument to nsAppShellConstructor.

Differential Revision: https://phabricator.services.mozilla.com/D146456
2022-05-17 20:24:19 +00:00
Sebastian Hengst
e8e4f38731 Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
82aef582ff Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Emilio Cobos Álvarez
afb69e165e Bug 1768278 - Prevent negative margins from causing us to flip / resize / slide popups. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D145879
2022-05-17 14:37:23 +00:00
Andrew McCreight
6a442ce2c4 Bug 1769442 - Remove nsIFactory::lockFactory, breaking compatibility with IClassFactory. r=xpcom-reviewers,Jamie,necko-reviewers,kershaw,nika
nsIFactory is binary compatible with Windows COM's IClassFactory,
but nothing seems to depend on it. This patch removes the test
for compatibility, TestCOM, and removes the lockFactory
method that isn't otherwise needed.

Differential Revision: https://phabricator.services.mozilla.com/D146386
2022-05-16 22:38:51 +00:00
Mark Banner
48a6237060 Bug 1745459 - Move the osfile.jsm block in browser_startup.js to deny loading anytime before becoming idle. r=barret
Depends on D146190

Differential Revision: https://phabricator.services.mozilla.com/D146191
2022-05-13 09:38:49 +00:00
Timothy Nikkel
5f54b26a21 Bug 1769020. Send a couple of test events a little further into the window. r=hiro
This was failing on Linux only. I thought maybe we were hitting the title bar and so weren't seeing the events so tried moving the events further into the window and it started working.

Depends on D146160

Differential Revision: https://phabricator.services.mozilla.com/D146161
2022-05-12 23:40:14 +00:00
Timothy Nikkel
5cf1edbf77 Bug 1769020. Fix up and re-enable browser/base/content/test/general/browser_gestureSupport.js. r=hiro
The bulk of the changes are to make the sending of events much more similar to how widget/tests/browser/browser_test_swipe_gesture.js works (because that is a test that is currently working well).

browser_test_swipe_gesture.js opens a tab and uses tab.linkedBrowser to target the events. This makes sense because when we add the event listeners here https://searchfox.org/mozilla-central/rev/b72e9d7d63bf499d1d8168291b93d4ec7fde236e/browser/base/content/browser-gestureSupport.js#49 we add them to the tabbox.

We create synthesizeSimpleGestureEvent in apz_test_native_event_utils.js so we can target other elements (rather than widget relative coords) more easily. This makes several functions async so we propagate that through.

We also change the coords from 0,0 to 10,10 to make sure it's within the bounds of the tabbox event listener (not sure if this is necessary or not, I didn't test without this).

And then I ran eslint on the file. That's should cover everything, hopefully that explanation makes review relatively easy.

Differential Revision: https://phabricator.services.mozilla.com/D146160
2022-05-12 23:40:13 +00:00
Henrik Skupin
4f9d321576 Bug 1768742 - browser_preferences_usage.js - reduce min values for gfx.*.azure.backends to account for pre-allocated content processes. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D146120
2022-05-12 08:04:36 +00:00
Henrik Skupin
9be96ca9b7 Bug 1768689 - browser_preferences_usage.js - bump the maximum times the Nightly only browser.startup.record preference can be accessed during startup. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D145997
2022-05-10 19:01:26 +00:00
Henrik Skupin
55c503496c Bug 1726465 - Don't update remote control cue for startup performance tests. r=florian
Startup performance tests are browser-chrome tests which use Marionette
to install required extensions. Because Marionette will be initialized
earlier during the startup of Firefox this can cause a partially updated
remote control cue for the first opened browser window.

As such stop updating the remote control cue by guarding this behavior
behind two flags - when the browser is in automation and a special
preference set.

Depends on D145933

Differential Revision: https://phabricator.services.mozilla.com/D145934
2022-05-10 15:08:18 +00:00
criss
ba242a0c40 Backed out 8 changesets (bug 1726465) for causing failures on browser_preferences_usage.js. CLOSED TREE
Backed out changeset 4b57310622a0 (bug 1726465)
Backed out changeset 0c6c4a15621a (bug 1726465)
Backed out changeset 081a0f91e0a7 (bug 1726465)
Backed out changeset 60bceb18ff57 (bug 1726465)
Backed out changeset f241655ea876 (bug 1726465)
Backed out changeset 7bc0a3aeb254 (bug 1726465)
Backed out changeset b2f7c710daef (bug 1726465)
Backed out changeset e9b90fd1b4ec (bug 1726465)
2022-05-10 13:59:54 +03:00
Henrik Skupin
e0b4a7ad89 Bug 1726465 - Don't update remote control cue for startup performance tests. r=florian
Startup performance tests are browser-chrome tests which use Marionette
to install required extensions. Because Marionette will be initialized
earlier during the startup of Firefox this can cause a partially updated
remote control cue for the first opened browser window.

As such stop updating the remote control cue by guarding this behavior
behind two flags - when the browser is in automation and a special
preference set.

Differential Revision: https://phabricator.services.mozilla.com/D145934
2022-05-10 09:04:03 +00:00
Csoregi Natalia
de4ea00d8a Backed out 2 changesets (bug 1764318) for causing failures on browser_fullscreen_window_open.js. CLOSED TREE
Backed out changeset d96b05389abc (bug 1764318)
Backed out changeset 103e4bfe0224 (bug 1764318)
2022-05-06 15:06:16 +03:00
Iulian Moraru
e990cbaab0 Bug 1764318 - fix eslint failures on browser_fullscreen_window_open.js. r=fix CLOSED TREE 2022-05-06 14:26:31 +03:00
Sam Foster
d7e35a511b Bug 1764139 - Rename about:myfirefox to about:firefoxview and all the other files and references. r=dao,fluent-reviewers,flod
Depends on D145697

Differential Revision: https://phabricator.services.mozilla.com/D145699
2022-05-06 10:31:47 +00:00
Edgar Chen
3da4ca8f33 Bug 1764318 - Add more test for fullscreen; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D143489
2022-05-06 10:29:52 +00:00
Paul Zuehlcke
baea1e17e5 Bug 1767973 - Test cleanup fixes for browser_protectionsUI_dfpi_rollout_phase2.js. r=anti-tracking-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D145630
2022-05-05 19:01:29 +00:00
Emilio Cobos Álvarez
cb73028091 Bug 1768004 - Remove proton places tooltip code. r=dao
There's nobody working on it, and tooltips should hopefully be nice
enough after recent changes (bug 1765423).

Having it enabled causes artifacts like bug 1767815 comment 3. We can
always rescue this from hg history if needed.

Differential Revision: https://phabricator.services.mozilla.com/D145621
2022-05-05 16:18:17 +00:00
Paul Zuehlcke
7d704efbdf Bug 1767508 - When applying tcpByDefault Nimbus feature, avoid overwriting enterprise policy cookie behavior. r=timhuang,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D145369
2022-05-05 10:27:33 +00:00
Paul Zuehlcke
803d1640d3 Bug 1767415 - Updates tests for tcpByDefault telemetry probe. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D145317
2022-05-04 15:16:12 +00:00
Tooru Fujisawa
67706e03c2 Bug 1765156 - Part 2: Use SpecialPowers.ChromeUtils.import in browser/. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D144083
2022-05-03 06:32:25 +00:00
Alexandre Lissy
ae52a02003 Bug 1756407 - Make about:restartrequired tests more robust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D144953
2022-04-29 13:44:12 +00:00
Hannah Peuckmann
59dd3c308e Bug 1766223 - Fix cookie exceptions for subdomains in container tabs.r=pbz
In case of multiple subdomains without an own cookie permission we need to be able to check the cookie permission
of the domain those subdomains get their permissions from multiple times,
so we can not remove it after the first subdomain.

Differential Revision: https://phabricator.services.mozilla.com/D144573
2022-04-28 17:27:38 +00:00
Paul Zuehlcke
e9da6b1efc Bug 1766628 - Increase timeout for browser_protectionsUI_dfpi_rollout_phase2.js. r=anti-tracking-reviewers,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D144942
2022-04-28 14:01:20 +00:00
Florian Quèze
fd9655a0e2 Bug 1732447 - browser_preferences_usage.js - adjust minimum counts for prefs accessed while creating content processes on Linux, to account for preallocated content processes, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D144795
2022-04-28 08:37:43 +00:00
Paul Zuehlcke
0033c3026b Bug 1766401 - Tests for tcpByDefault Nimbus feature. r=timhuang,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D144720
2022-04-27 10:35:52 +00:00
Paul Zuehlcke
cf639de6ec Bug 1766441 - Remove study prefs set on TCP rollout opt-in/out. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D144721
2022-04-27 10:35:50 +00:00
Mark Banner
b3245af218 Bug 1766238 - Stop using the target argument for ChromeUtils.import in services. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D144558
2022-04-27 08:38:33 +00:00
Sarah Clements
699d42dff7 Bug 1761784 - Firefox View Recently closed tabs implementation r=fluent-reviewers,dao,flod
* Sketch in recently-closed-tabs section and listing
* Add some styles and suggested markup for the page-level sections & headers

Differential Revision: https://phabricator.services.mozilla.com/D143365
2022-04-26 11:00:30 +00:00
Calixte
4356c3f7ec Bug 1766222 - Update pdf.js to version 2.14.224 r=pdfjs-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D144544
2022-04-25 19:44:06 +00:00
Gabriele Svelto
466839214d Bug 1762949 - Explicitly flag all crash reports as throttleable when they've not been submitted manually r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143185
2022-04-25 06:37:17 +00:00
Tim Huang
99f2096654 Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 15:38:14 +00:00
Narcis Beleuzu
7b13e833aa Backed out changeset 4c742ffdfbbf (bug 1765949) as req by timhuang in order to divide the fixes. CLOSED TREE 2022-04-22 18:02:43 +03:00
Tim Huang
7570afe58a Bug 1765949 - Change the search params for TCP rollout. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D144397
2022-04-22 09:42:40 +00:00
Gabriele Svelto
54aa942464 Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-21 12:43:11 +00:00
Oriol Brufau
ce0f675cd9 Bug 1764452 - Avoid tabs.onUpdated events for 'attention' when value doesn't change. r=Gijs,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D143553
2022-04-21 08:30:07 +00:00
criss
e3df4d1993 Backed out changeset 5382bd66d8f7 (bug 1702509) for causing failures on browser_UnsubmittedCrashHandler.js . CLOSED TREE 2022-04-20 14:18:20 +03:00
Gabriele Svelto
c7f1d8027d Bug 1702509 - Add an annotation describing how a crash report was submitted r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D143184
2022-04-20 08:08:28 +00:00
Andreas Farre
ea19a48880 Bug 1739450 - Part 1: Move ownership of session store scroll and form data to platform. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D130389
2022-04-19 15:19:22 +00:00
Peter Van der Beken
4ff32f17f9 Bug 1763833 - Fixes for tests with SHIP without Fission and/or on Android. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D143303
2022-04-16 09:24:52 +00:00
Shane Hughes
0604bb580c Bug 1747343 - Add pref to set default action for new mimetypes. r=Gijs,fluent-reviewers,preferences-reviewers
When downloading a file, we check for existing mime types and construct
a new one if it's unrecognized. Mime types have a flag,
alwaysAskBeforeHandling, that determines whether the unknown content
type dialog should be opened before handling the file. Before bug
1733492, the default value for that flag was simply true. Since the new
downloads flow is intended to avoid unnecessary steps, the default value
was changed to the inverted value of the new downloads panel
improvements pref. This patch adds a new pref that the mime info
constructor will read in configuring the flag's value. If the
improvements pref is not enabled, then the flag will be true, so the UCT
dialog will open. If the improvements pref is enabled, then it'll use
the value of the new pref. Also add a an interface for the pref to the
about:preferences UI, and automatically migrate a false value for
browser.download.improvements_to_download_panel to a true value for this
pref. I'm updating some tangentially related test files since they
happen to be touched slightly by this change. Strictly speaking they
would still work, but if the pref value was somehow changed from the
default they would fail.

Differential Revision: https://phabricator.services.mozilla.com/D143002
2022-04-15 18:13:11 +00:00
Calixte
098ac875cb Bug 1764886 - Update pdf.js to version 2.14.171 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D143819
2022-04-15 14:39:47 +00:00
criss
99ab290c14 Backed out changeset a1e9e031f3a1 (bug 1764886) for causing failures on browser_parsable_script.js . CLOSED TREE 2022-04-15 16:57:08 +03:00
Calixte
787c2e38ec Bug 1764886 - Update pdf.js to version 2.14.171 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D143819
2022-04-15 12:50:55 +00:00