Commit Graph

1086 Commits

Author SHA1 Message Date
Gurzau Raul
8fcb9066e6 Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE.
Backed out changeset f5bb5f6a148f (bug 1483631)
Backed out changeset c5e562c1d590 (bug 1483631)
Backed out changeset 7ef09193a7ef (bug 1483631)
Backed out changeset a909dcbbea2b (bug 1483631)
2019-12-03 21:57:55 +02:00
Thomas Nguyen
05f0fb8b2e Bug 1483631 - Restrict nested permission requests in ContentPermissionPrompt with permission delegate r=baku,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D47416
2019-12-03 16:25:51 +00:00
Gabriele Svelto
159147f204 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

Differential Revision: https://phabricator.services.mozilla.com/D46848
2019-12-02 13:18:35 +00:00
Moritz Birghan
1e31d3fe0c Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614
2019-11-18 13:03:58 +00:00
Razvan Maries
c08f62f65a Backed out changeset 1603f5abc56e (bug 1420363) for perma fails on test_busy_hang.xul. CLOSED TREE 2019-11-16 13:00:43 +02:00
Gabriele Svelto
9b86cc24c2 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

Differential Revision: https://phabricator.services.mozilla.com/D46848
2019-11-16 08:29:07 +00:00
Andreea Pavel
459d2e80b0 Bug 1528429 - disable browser_urlBar_zoom.js on mac r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D52687
2019-11-14 18:36:28 +00:00
Cosmin Sabou
598dd5b8ca Bug 1456807 - Add quotes to the skip-if syntax. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D52734
2019-11-12 22:18:08 +02:00
Coroiu Cristina
f70410fea4 Backed out changeset 96048cce4b80 (bug 1571656) for xpcshell failures at toolkit/components/places/tests/unifiedcomplete/test_autofill_origins.js on a CLOSED TREE 2019-11-06 22:59:45 +02:00
Moritz Birghan
b5199f27d9 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614
2019-11-06 18:07:54 +00:00
Anny Gakhokidze
d69701479e Bug 1585777 - Part 3: Enable browser/modules/test/browser/browser_UsageTelemetry_domains.js for Fission, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D51279
2019-10-31 17:52:00 +00:00
Harry Twyford
e58fba1911 Bug 1582339 - Let tip results hide the help button and remove the details object from onResultPicked. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49779
2019-10-23 15:26:08 +00:00
Sean Feng
8ea638f443 Bug 1578271 - Remove the expired FX_PAGE_RELOAD_KEY_COMBO probe r=Gijs,chutten a=test-fix
Differential Revision: https://phabricator.services.mozilla.com/D48361
2019-10-07 17:41:41 +02:00
Mark Banner
ba9c1f273e Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652
2019-10-18 18:53:36 +00:00
Oana Pop Rus
aef736992d Backed out 2 changesets (bug 1588785) for causing bc perma failures in browser_searchDefaultEngine.js on a CLOSED TREE
Backed out changeset 6ad4b26b21d7 (bug 1588785)
Backed out changeset 4a4afa268baf (bug 1588785)
2019-10-18 18:45:58 +03:00
Mark Banner
485bc47f09 Bug 1588785 - Make the search service also detect when the UI is not enabled. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49652
2019-10-18 13:48:17 +00:00
Marco Bonardo
799e29bf9e Bug 1587803 - Check BrowserContentHandler.jsm::doSearch() uses the private engine when appropriate. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49446
2019-10-18 10:24:52 +00:00
Mike de Boer
ba9bb1d4fd Bug 1587817 - Move the default search engine in Private Browsing mode for in-content search access points to be contained in ContentSearch.jsm. r=Mardak,Standard8
This reverts part of bug 1576158, so that all current and future in-content pages share the same implementation.

Differential Revision: https://phabricator.services.mozilla.com/D49559
2019-10-17 13:02:09 +00:00
Mark Banner
b6ce80f521 Bug 1578381 - Rename HomePage.init to delayedStartup to better describe when it gets called normally. r=mixedpuppy
Depends on D48169

Differential Revision: https://phabricator.services.mozilla.com/D48195
2019-10-07 17:05:09 +00:00
Mark Banner
41811d39de Bug 1583479 - Fix case-insensitive comparison when comparing against the home page ignore list when setting the home page value. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48169
2019-10-04 11:45:19 +00:00
Mark Banner
05d71a249a Bug 1576158 - Display the private browsing engine on the private browsing page. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D47208
2019-09-27 14:54:38 +00:00
Drew Willcoxon
a08ef6e3f5 Bug 1578584 - Quantumbar WebExt API: Add onResultPicked event. r=harry,mixedpuppy
Adds a new event listener to `browser.urlbar` called `onResultPicked`. This event is fired for tip results when they don't specify a URL. Hypothetically it could be fired for any type of result that didn't specify a URL, but that's only tips for now.

The listener is passed two arguments: the payload of the result that was picked, and a "details" object whose properties depend on the type of result. For tips, details is `{ helpPicked }`, where `helpPicked` is true if the help button was picked and false if the main button was picked.

Differential Revision: https://phabricator.services.mozilla.com/D46254
2019-09-26 13:53:14 +00:00
Paul Zuehlcke
48dcc049a1 Bug 1402957 - Refactored SitePermission tests to use principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47055
2019-09-25 11:42:10 +00:00
Olli Pettay
7a95df6b51 Bug 1518410, try to make browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js fail a bit less likely, r=Ehsan
There is still another related bug 1579591, which this may make a bit less likely, since that seems to be timing dependent, but
the patch is not trying to fix that.

Differential Revision: https://phabricator.services.mozilla.com/D46242
2019-09-19 14:29:09 +00:00
Paul Zuehlcke
c5e936b798 Bug 1201618 - Removed image permission from pageInfo permission ui. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46149
2019-09-18 16:56:16 +00:00
Drew Willcoxon
9779ec04ca Bug 1581989 - Properly account for tip results in histogram telemetry. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D46243
2019-09-18 13:42:14 +00:00
Harry Twyford
68801d5118 Bug 1580808 - Change UrlbarTestUtils.get[set]SelectedIndex to get[set]SelectedRowIndex. r=adw
Depends on D45455

Differential Revision: https://phabricator.services.mozilla.com/D45724
2019-09-12 21:05:22 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Johann Hofmann
22473a0c2b Bug 1570674 - Default to "Never Allow" for notification permission prompt denials. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D43081
2019-08-22 16:24:56 +00:00
Drew Willcoxon
9d25555968 Bug 1572500 - Count internal @search keyword searches separately from other urlbar searches in the SEARCH_COUNTS histogram. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D42569
2019-08-22 09:37:45 +00:00
Abdoulaye O. Ly
8b5052d827 Bug 1571080 - [Fission] Port form validation to JSWindowActor. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D40483
2019-08-19 18:20:19 +00:00
Ciure Andrei
c0802578d1 Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
Moritz Birghan
ecdc572dbd Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614
2019-08-19 07:17:12 +00:00
Paul Zuehlcke
ac97e1d7ca Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490
2019-08-15 14:35:38 +00:00
Paul Zuehlcke
368d5d5647 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029
2019-08-15 14:32:48 +00:00
Ciure Andrei
087fb2a215 Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke
4d66010a73 Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490
2019-08-14 08:31:39 +00:00
Paul Zuehlcke
0b3621645a Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029
2019-08-14 08:31:23 +00:00
Mark Banner
967c3814e1 Bug 1535049 - Add telemetry for the homepage ignore actions. r=daleharvey,chutten,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40394
2019-08-05 21:53:09 +00:00
Mark Banner
bf6f936245 Bug 1535049 - Disallow setting homepages to ignored urls. r=daleharvey,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D40393
2019-08-05 21:52:59 +00:00
Mark Banner
e2895c8f4b Bug 1535049 - If the homepage is referenced in the ignore list, reset it soon after startup or when the ignore list is updated. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D40392
2019-08-05 21:52:43 +00:00
Ciure Andrei
48dbfa7888 Merge inbound to mozilla-central. a=merge 2019-07-18 06:46:41 +03:00
Kris Maglione
9f00b7395d Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
harry
2c58cfd2ac Bug 1551233 - Remove legacy urlbar mochitests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D36346
2019-07-09 21:48:05 +00:00
Sean Feng
412ab8d85f Bug 1551965 - Add telemetry for page reload key combinations r=bdekoz,Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D35035
2019-07-17 14:04:31 +00:00
Victor Porof
9a78b195ab Bug 1561435 - Format browser/modules/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36046
2019-07-05 09:55:19 +02:00
Andrew Swan
a74f65b714 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

Differential Revision: https://phabricator.services.mozilla.com/D34648
2019-06-11 14:49:46 -07:00
Ciure Andrei
360ee087a8 Backed out 3 changesets (bug 1555060) for causing test_tabbar.py to perma fail CLOSED TREE
Backed out changeset a5c6deeda8a9 (bug 1555060)
Backed out changeset f4e21e465f38 (bug 1555060)
Backed out changeset c71c45fe3e63 (bug 1555060)
2019-06-28 00:21:50 +03:00
Andrew Swan
795b5037d0 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

Differential Revision: https://phabricator.services.mozilla.com/D34648
2019-06-11 14:49:46 -07:00
Gijs Kruitbosch
2029dcd209 Bug 1519434 - remove permissions popup and page info code catering to flash permissions, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34218
2019-06-13 08:42:53 +00:00