Commit Graph

26959 Commits

Author SHA1 Message Date
Csoregi Natalia
ff0a68004d Backed out changeset 7cad986c81a5 (bug 1605305) for failures on test_trr.js. CLOSED TREE 2020-08-18 23:38:17 +03:00
Sean Feng
f59ae11633 Bug 1518999 - Refactor some performance.getEntries related tests r=mstange
Some tests made some assumptions about the number of returned entries
by performance.getEntries, and these assumptions are not valid
anymore once we added new entries.

Depends on D66463

Differential Revision: https://phabricator.services.mozilla.com/D68645
2020-07-31 19:20:41 +00:00
Akihiko Odaki
7f71e11e00 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 16:32:43 +00:00
Punam Dahiya
a4e1780103 Bug 1657976 - Multistage welcome screen should pick FxA endpoint dynamically r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D87016
2020-08-18 05:00:51 +00:00
Razvan Maries
44ae0cd57e Backed out changeset 1047cef8519b (bug 1605305) for perma failures on test_trr.js. CLOSED TREE 2020-08-18 17:39:29 +03:00
Akihiko Odaki
77429bc942 Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 13:15:27 +00:00
Andrei Oprea
334b3c58f4 Bug 1649524 - Add targeting attribute for total session count r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D85392
2020-08-14 13:17:53 +00:00
Mark Banner
52ac364a8c Bug 1659106 - Rename TopSiteAttribution.jsm to PartnerLinkAttribution.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D87073
2020-08-18 08:04:07 +00:00
Adam Gashlin
659f21a530 Bug 1639067 part 4 - Generalize internal handlers in the Applications list. r=Gijs,preferences-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86653
2020-08-17 21:24:47 +00:00
Adam Gashlin
a4c25ac405 Bug 1639067 part 3 - Extend "Open In System Viewer" from PDF to all viewable internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86652
2020-08-17 21:24:45 +00:00
Adam Gashlin
c681abc203 Bug 1639067 part 1 - Open more downloaded file types internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86650
2020-08-17 21:24:52 +00:00
Rob Wu
8103eaba24 Bug 1659074 - Regression tests for undefined/uncloneable error in onMessage r=zombie,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D85644
2020-08-14 10:23:51 +00:00
Dorel Luca
806d75bb33 Backed out 4 changesets (bug 1639067) for XPCshell failures in tests/unit/test_getMIMEInfo_pdf.js. CLOSED TREE
Backed out changeset 1e400fafd80b (bug 1639067)
Backed out changeset 7bb3c2ec5c7a (bug 1639067)
Backed out changeset 755fd5771648 (bug 1639067)
Backed out changeset 951e10b7354f (bug 1639067)
2020-08-18 00:18:32 +03:00
Drew Willcoxon
999a645aa0 Bug 1659309 - UrlbarProviderHeuristicFallback should return a search heuristic when in search mode, not a URL heuristic, even when not restricting results to search. r=harry
* Add a check for `queryContext.searchMode` in
  `UrlbarProviderHeuristicFallback._matchUnknownUrl`. We should not match a URL
  when search mode is active, in addition to the existing check for a
  restricting source.
* Move the aforementioned checks to the top of the method so that we avoid when
  possible the more expensive string escaping and parsing currently at the top
  of that method.
* Add a test task.
* Beef up the existing test tasks.

Differential Revision: https://phabricator.services.mozilla.com/D87189
2020-08-17 14:55:21 +00:00
Drew Willcoxon
4a6570ffd6 Bug 1659128 - Exit search mode as appropriate when input.setURI is called. r=harry
We need to exit search mode when a page loads in the current tab. We may need to
exit search mode for page loads in other tabs too: If you're in search mode,
click a slow link, switch tabs, and the page loads in the meantime, then search
mode should be not be entered when you switch back. I don't think we handle that
case correctly right now, and this patch doesn't address that at all. That's
worth doing in another bug because I think the fix will be different.

At first I added an `onLocationChange` method to UrlbarInput that was called by
`XULBrowserWindow.onLocationChange` in browser.js [1], just like we have an
`onLocationChange` in UrlbarProviderSearchTips called by
`XULBrowserWindow.onLocationChange`. But we need to potentially exit search mode
any time `input.setURI` is called. `setURI` happens to be called by
`XULBrowserWindow.onLocationChange`, one of the several places that calls it
[2].

`setURI` is also called when switching tabs. Bug 1647899 already took care of
handling search mode for tab switches, but it would be nice to handle all this
in one place. `setURI` is also how `userTypedValue` is restored in the input,
and of course `userTypedValue` is something we need to restore when switching
tabs, just like search mode. For these reasons I moved per-tab search mode
restoration to `setURI` as part of this.

I'm also changing the name of the second parameter in `setURI`. I wasn't sure
whether it's true iff we're switching tabs, so I tracked down why that param was
added. It was added in bug 1478348, and comment 21 confirms it was added to tell
`setURI` and `XULBrowserWindow.onLocationChange` when they're being called due
to a tab switch. To make this clearer, I renamed the param and added some
javadoc for `XULBrowserWindow.onLocationChange`.

[1] https://searchfox.org/mozilla-central/rev/50cb0892948fb4291b9a6b1b30122100ec7d4ef2/browser/base/content/browser.js#5205
[2] https://searchfox.org/mozilla-central/search?q=symbol:%23setURI&redirect=false

Differential Revision: https://phabricator.services.mozilla.com/D87172
2020-08-17 20:31:44 +00:00
Kris Maglione
0c976d908a Bug 1651519: Part 2 - Also remove nsIDOMWindowUtils::outerWindowID. r=nika,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D82957
2020-08-17 20:22:12 +00:00
Kris Maglione
3af8c4138c Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.

Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Adam Gashlin
949f6d3592 Bug 1639067 part 4 - Generalize internal handlers in the Applications list. r=Gijs,preferences-reviewers,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86653
2020-08-17 20:13:27 +00:00
Adam Gashlin
e23be88936 Bug 1639067 part 3 - Extend "Open In System Viewer" from PDF to all viewable internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86652
2020-08-17 19:14:00 +00:00
Adam Gashlin
5f2bd16956 Bug 1639067 part 1 - Open more downloaded file types internally. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D86650
2020-08-17 19:15:02 +00:00
Sean Feng
ccdcd7603f Bug 1200896 - Force frame flushes when needed to fix browser pioneer test r=rhelmer
When a modal dialog is cancelled, the inertness for other elements
is reverted. However, in order to have the new state (non-inert)
effective, Firefox needs to do a frame flush. This flush is taken
place when it's really needed.

In browser_pioneer_us.js, we have some usage of some buttons when
the flush hasn't taken place yet, so the test fails because the
buttons are not clickable. To fix the test, we add a
getBoundingClientRect() call to force frame flushes to the
corresponding buttons.

Differential Revision: https://phabricator.services.mozilla.com/D86877
2020-08-14 06:15:06 +00:00
julianwels
01a1e3a57e Bug 1659115: Removed Icon from HTTPS-Only Mode section in about:preferences r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87295
2020-08-17 16:53:18 +00:00
Andrei Oprea
e49ac22568 Bug 1656500 - Use bucketConfig for bucketing in Experiment Manager r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D86713
2020-08-17 15:46:37 +00:00
pbz
1058f2522e Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-17 10:26:22 +00:00
Andrea Marchesini
6b8618a091 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00
Harry Twyford
39cb08ad68 Bug 1647917 - Announce search mode to screen readers. r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D87082
2020-08-14 19:06:47 +00:00
Bogdan Tara
ca92527f50 Backed out changeset 4a85d32ba77f (bug 1658829) for browser_pioneer_ui.js failures CLOSED TREE 2020-08-14 23:32:06 +03:00
Bogdan Tara
f3e186366b Backed out 7 changesets (bug 1650795, bug 1651958) for test_master_password.html failures CLOSED TREE
Backed out changeset 4812945bfaf2 (bug 1651958)
Backed out changeset a3f28fadcdf3 (bug 1651958)
Backed out changeset 70a61c971427 (bug 1651958)
Backed out changeset e7194e7e7ecc (bug 1651958)
Backed out changeset 7e66e5431ef7 (bug 1651958)
Backed out changeset a6c58935e1d8 (bug 1650795)
Backed out changeset b79f254df4cb (bug 1650795)
2020-08-14 23:29:33 +03:00
Bogdan Tara
694be205aa Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini
8d8dfa8e36 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Robert Helmer
19fd43ceda Bug 1658829 - make all about:pioneer content available off-train r=sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D86865
2020-08-14 17:10:32 +00:00
Yura Zenevich
c46d7dc606 Bug 1613468 - remove "Prevent accessibility services from accessing your browser" from about:preferences/Privacy & Security. r=chutten,fluent-reviewers,preferences-reviewers,Gijs
* Removing front end for the checkbox that allows users disable accessibility services
* Removing already expired telemtry probe for preferences.prevent_accessibility_services

Differential Revision: https://phabricator.services.mozilla.com/D86994
2020-08-14 15:40:28 +00:00
Gijs Kruitbosch
651a73e8d9 Bug 1652296 - test that we do not delete files immediately when the user chooses to overwrite for a download, r=mkaply
Depends on D86985

Differential Revision: https://phabricator.services.mozilla.com/D86986
2020-08-14 15:57:47 +00:00
Mihai Alexandru Michis
91527a2bb0 Bug 1656277 - Fix lint failure regarding missing spaces. a=lint-fix
CLOSED TREE
2020-08-14 19:30:38 +03:00
Jared Wein
972dd7e8cd Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is behind a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-14 15:56:36 +00:00
pbz
509eea0b25 Bug 1650795 - Implemented TabDialogBox to show chrome dialogs embedded on tab level. r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83631
2020-08-14 11:31:04 +00:00
Harry Twyford
13a0e9233c Bug 1658646 - Show local results for search modes other than general purpose search engines. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86998
2020-08-14 03:57:15 +00:00
Sam Foster
7e28671750 Bug 1657796 - Ensure downloads requested to open with system viewer always do. r=Gijs
* Check both the useSystemViewer flag and the preferredAction for that mime-type when deciding to not open PDFs into pdf.js
* Don't set alwaysAskBeforeHandling to true when toggling off the "Always open in system viewer" context menu item.

Differential Revision: https://phabricator.services.mozilla.com/D86992
2020-08-14 09:13:05 +00:00
Mihai Alexandru Michis
fc1c9759fc Backed out 3 changesets (Bug 1200896) for causing Bug 1659042.
CLOSED TREE

Backed out changeset 17df14f0b129 (bug 1200896)
Backed out changeset 5d9e9bd12cd2 (bug 1200896)
Backed out changeset 7f016de8d52f (bug 1200896)
2020-08-14 09:06:45 +03:00
Mihai Alexandru Michis
ff85a31698 Backed out changeset 8b917683232d (bug 1656277) for causing xpcshell failures in test_IE_bookmarks.js
CLOSED TREE
2020-08-14 08:36:35 +03:00
Jared Wein
2f679b3933 Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is behind a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-14 03:27:22 +00:00
Csoregi Natalia
764a7a6ede Backed out changeset e5655c6b1c5f (bug 1658646) for failures on browser_oneOffs_searchSuggestions.js. CLOSED TREE 2020-08-14 06:30:46 +03:00
Csoregi Natalia
a59efd3c0a Backed out changeset 55175e7ad95b (bug 1658829) for failures on browser_pioneer_ui.js . CLOSED TREE 2020-08-14 06:28:22 +03:00
Harry Twyford
f51ddfbfeb Bug 1658646 - Show local results for search modes other than general purpose search engines. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D86998
2020-08-14 01:15:43 +00:00
Csoregi Natalia
324be7e980 Backed out changeset 4fc26e678c18 (bug 1656277) for failures on test_Edge_db_migration.js. CLOSED TREE 2020-08-14 04:21:35 +03:00
Drew Willcoxon
bb98fe7927 Bug 1659011 - Fix intermittent TV browser/components/urlbar/tests/browser/browser_oneOffs.js. r=harry
I can reproduce this reliably after refreshing my tree and applying the patch to
bug 1657918. It seems to be permanent in fact. The problem is that a previous
test (or the test itself, since this is a failure in verify mode) leaves the
mouse over the heuristic result, which causes it to be highlighted and show its
action text ("Search with Google"). The test is checking that the action text is
hidden.

We just need to synthesize a mousemove away from the view as the test starts. We
do something similar in a few tests already, although sometimes we use
`EventUtils.synthesizeNativeMouseMove` instead of what I use here. I tried that
function first but it didn't work here, so I went with the other one we use,
`EventUtils.synthesizeMouse` with `mousemove`.

Differential Revision: https://phabricator.services.mozilla.com/D87015
2020-08-14 00:35:18 +00:00
Jared Wein
3cce4b4e65 Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is controlled by a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-13 21:56:40 +00:00
Robert Helmer
fb27fbd2c6 Bug 1658829 - make all about:pioneer content available off-train r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D86865
2020-08-13 22:20:50 +00:00
Noemi Erli
fd115ffc27 Backed out changeset c2c4b8d6b915 (bug 1656277) for causing build bustages in nsDocShell.cpp CLOSED TREE 2020-08-14 01:13:41 +03:00
Jared Wein
d0ce281442 Bug 1656277 - Show the bookmarks toolbar after migration if bookmarks were in the other browsers toolbar. r=MattN,Standard8
This is controlled by a pref so we can run a study on it.

Differential Revision: https://phabricator.services.mozilla.com/D85956
2020-08-13 21:56:40 +00:00