Commit Graph

77 Commits

Author SHA1 Message Date
Tim Nguyen
6140e8f32d Bug 1698048 - Move browser/themes/shared/reader/readerMode.svg to the browser/themes/shared/icons directory. r=desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108178
2021-03-12 12:24:18 +00:00
Nika Layzell
1ba8e0199f Bug 1209947 - Part 1: Skip more of XULBrowserWindow.onLocationChange for subframes, r=Gijs
With the changes in this patch stack, it will become more common for frontend
code to receive onLocationChange notifications for subframes, as we will now
correctly report events for oop subframes, and will also deliver notifications
for the first document loaded in subframes in order to update the current remote
URI on CanonicalBrowsingContext.

This change makes more of the callbacks fired by onLocationChange be guarded by
the isTopLevel check, including setting the "URL" crash annotation and updating
the macOS touchbar, which should hopefully both fix existing latent bugs, and
ensure that these issues don't occur with the more frequent onLocationChange
callbacks.

Differential Revision: https://phabricator.services.mozilla.com/D105554
2021-03-09 15:29:39 +00:00
Magnus Melin
0f56a88072 Bug 1524836 - Move new HTML about:config page from browser to toolkit. r=fluent-reviewers,preferences-reviewers,geckoview-reviewers,Gijs,agi
Unbitrot and change strategy for geckoview: now map about:config directly in nsAboutRecirector.cpp

Differential Revision: https://phabricator.services.mozilla.com/D25938
2021-01-26 00:27:56 +00:00
harry
4c2d1a7bb6 Bug 1683762 - Remove the Title search shortcut from the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D100276
2020-12-22 15:17:20 +00:00
Marco Bonardo
4830941a5f Bug 1665049 - Remove browser.urlbar.update2. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99487
2020-12-18 10:01:24 +00:00
smolnar
7b08899f40 Backed out 4 changesets (bug 1665049) for causing bustages in browser.ini CLOSED TREE
Backed out changeset fd06f6552ad0 (bug 1665049)
Backed out changeset 156a323cd31a (bug 1665049)
Backed out changeset 011f54945acb (bug 1665049)
Backed out changeset 028644c366d5 (bug 1665049)
2020-12-18 11:45:30 +02:00
Marco Bonardo
59fc3065cf Bug 1665049 - Remove browser.urlbar.update2. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99487
2020-12-18 09:26:35 +00:00
Nika Layzell
ed9e85fc9a Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Razvan Maries
beb7584870 Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
f6849f1603 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Ricky Stewart
31b8ca9716 Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
612312a64c Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Joel Maher
832d381b9d Bug 1663160 - adjust browser_touchbar_searchrestrictions.js to skip waitForCondition if already met to avoid a timeout. r=harry
adjust browser_touchbar_searchrestrictions.js to skip waitForCondition if already met to avoid a timeout

Differential Revision: https://phabricator.services.mozilla.com/D93342
2020-10-13 15:12:57 +00:00
Harry Twyford
e0c0c73321 Bug 1657414 - Support search mode in the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91077
2020-09-25 20:45:48 +00:00
Kris Maglione
6616abd1e6 Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9bddbcfdd1 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Gijs Kruitbosch
1e63ce3253 Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Harry Twyford
ec8de786ce Bug 1641360 - Skip Touch Bar mochitests on non-Mac platforms. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D77153
2020-06-03 11:23:21 +00:00
Harry Twyford
2ec0db64b0 Bug 1629966 - Remove Touch Bar telemetry. r=mikedeboer,chutten
Differential Revision: https://phabricator.services.mozilla.com/D70904
2020-04-15 17:57:42 +00:00
Mark Banner
d375cfec54 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703
2020-03-07 10:09:44 +00:00
Harry Twyford
c9c8eefc85 Bug 1616290 - Fix the inconsistent naming of the "Exit fullscreen" Touch Bar button. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D64100
2020-03-06 20:11:39 +00:00
Harry Twyford
76e8fc66a0 Bug 1608336 - Disable Touch Bar for non-chrome windows. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D62259
2020-02-11 09:49:11 +00:00
Harry Twyford
5d74facb66 Bug 1603321 - Replace Touch Bar "Search or enter address" button with an "Exit Fullscreen" button while in fullscreen. r=mikedeboer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D57350
2020-01-22 21:08:45 +00:00
Harry Twyford
d8e28e4f50 Bug 1581555 - Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58463
2020-01-06 18:03:21 +00:00
Ryan VanderMeulen
8728517fac Backed out changeset 83762a3e8989 (bug 1581555) for suspicion of causing bug 1607140. 2020-01-06 12:59:04 -05:00
Harry Twyford
536169378d Bug 1581555 - Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58463
2020-01-03 18:06:57 +00:00
harry
638a2384ce Bug 1600356 - Part 3 - Streamline Touch Bar image loading. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D55314
2020-01-03 17:07:25 +00:00
Harry Twyford
a25d83e8db Bug 1603573 - Remove context function from JS TouchBarInputs. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D56998
2019-12-12 22:09:59 +00:00
Harry Twyford
8598de9acb Bug 1599265 - Resolve async issues in browser_touchbar_searchrestrictions.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D54809
2019-11-26 21:32:42 +00:00
Sylvestre Ledru
1a521debcf Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato
Depends on D54430

Differential Revision: https://phabricator.services.mozilla.com/D54431
2019-11-25 10:06:12 +00:00
Harry Twyford
298dfe6ae4 Bug 1598655 - Touch Bar Search In feature should clear out the URL from the Urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D54314
2019-11-25 19:05:53 +00:00
Cosmin Sabou
0a238cc129 Backed out changeset 3a7f5b6a794f (bug 1598655) for browser chrome facilures on browser_touchbar_searchrestrictions.js. 2019-11-23 07:21:22 +02:00
Harry Twyford
90f631de12 Bug 1598655 - Touch Bar Search In feature should clear out the URL from the Urlbar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D54314
2019-11-23 01:35:31 +00:00
harry
7ed3debd8a Bug 1595082 - Ensure every Touch Bar input is updated at least once. r=mikedeboer,spohl
Differential Revision: https://phabricator.services.mozilla.com/D53176
2019-11-19 19:19:24 +00:00
Dorel Luca
77ebeeaa6c Backed out 2 changesets (bug 1595082) for Browser-chrome failures on /touchbar/tests/browser/browser_touchbar_tests.js. CLOSED TREE
Backed out changeset 86d5143e79c8 (bug 1595082)
Backed out changeset 23bffe0e868d (bug 1595082)
2019-11-19 19:10:08 +02:00
Daniel Varga
eecbcba924 Bug 1595082 - fixing ESlint. On a CLOSED TREE 2019-11-19 18:04:13 +02:00
harry
82f93b0b02 Bug 1595082 - Ensure every Touch Bar input is updated at least once. r=mikedeboer,spohl
Differential Revision: https://phabricator.services.mozilla.com/D53176
2019-11-19 15:01:27 +00:00
Harry Twyford
50ff1b7cd0 Bug 1589135 - Add Touch Bar documentation. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D49665
2019-11-05 10:05:49 +00:00
Harry Twyford
9f9609e5fa Bug 1593953 - Make Touch Bar telemetry optional in execCommand. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D51790
2019-11-05 12:54:19 +00:00
harry
762bc8afee Bug 1593001 - Add more stringent Touch Bar null-checks. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D51645
2019-11-05 10:02:34 +00:00
harry
b2b00a0cf7 Bug 1588084 - Add null-checking to isUrlbarFocused to avoid crashes on window shutdown. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D48966
2019-10-11 13:35:04 +00:00
harry
e3307960b2 Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892
2019-10-09 10:45:33 +00:00
harry
0d8bfe9f28 Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563
2019-10-10 19:57:32 +00:00
harry
1bcab39853 Bug 1563349 - Part 1 - JS changes to support TouchBarInput children. r=mikedeboer
Depends on D34926

Differential Revision: https://phabricator.services.mozilla.com/D47618
2019-10-09 15:25:43 +00:00
shindli
86ace83d9c Backed out 8 changesets (bug 1563350, bug 1563351, bug 1563349, bug 1567939) on suspicion of causing OS X crashes https://bugzilla.mozilla.org/show_bug.cgi?id=1587351 CLOSED TREE a=backout
Backed out changeset 86ed8b9bee5f (bug 1563351)
Backed out changeset 355b0329bd95 (bug 1563350)
Backed out changeset 653caa0c494a (bug 1567939)
Backed out changeset 4b4a71e170bd (bug 1563349)
Backed out changeset 81b93962243b (bug 1563349)
Backed out changeset cff2050ff540 (bug 1563349)
Backed out changeset db50ea44f0b1 (bug 1563349)
Backed out changeset dcbddc5738c3 (bug 1563349)
2019-10-09 13:33:05 +03:00
harry
27d44f3f5f Bug 1563351 - Insert search shortcuts into the Urlbar with Touch Bar buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D38892
2019-10-08 15:10:20 +00:00
harry
e7afc636fd Bug 1563350 - Add popover to the Touch Bar that displays when the Urlbar has focus. r=mikedeboer,spohl,fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D38563
2019-10-08 00:52:07 +00:00