Brian Grinstead
abf1620630
Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
...
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.
The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):
firstChild->firstElementChild
lastChild->lastElementChild
nextSibling->nextElementSibling
previousSibling->previousElementSibling
childNodes->children
MozReview-Commit-ID: 95NQ8syBhYw
--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Dão Gottwald
2baf8e31d6
Bug 1481321 - Stop eagerly creating thumbnails for the Ctrl+Tab panel. r=jaws
2018-08-07 11:34:42 +02:00
Dave Townsend
389a969138
Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D2489
--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Dão Gottwald
1f4131affa
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Dão Gottwald
0bb0b3faba
Bug 1478646 - Ctrl+Tab previews should use the keydown event and addSystemEventListener to match tabbox.xml. r=jaws
...
MozReview-Commit-ID: HVlLTjrEhpz
--HG--
extra : rebase_source : 13ea5b9d947794662b001a72ac4d204b165e3802
2018-07-26 15:20:57 +02:00
Narcis Beleuzu
91bcab3f74
Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
...
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Dão Gottwald
844b19fbfe
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Mark Striemer
37c6bf8035
Bug 1473974 - Fix opening all tabs panel with cycle recent tabs r=dao
...
MozReview-Commit-ID: EGYJo8AAF2K
--HG--
extra : rebase_source : 28014b84626ff9ae8a748609060091c36fb07782
2018-07-10 13:48:57 -05:00
Paolo Amadini
5c9fd0f400
Bug 1462297 - Remove the "ctrlTab-preview" binding. r=bgrins
...
MozReview-Commit-ID: BPJiakgo3wR
--HG--
extra : rebase_source : d8286c8ff275694ed8ccbc8f755ca208ac979f97
2018-05-18 14:07:00 +01:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dão Gottwald
823836c251
Bug 1430153 - Warm up tabs in the Ctrl+Tab panel. r=mconley
...
MozReview-Commit-ID: IlXLt90MsrB
--HG--
extra : rebase_source : ae3c269ca87051534c6f4c8f109b89f68e0bb82a
2018-01-12 17:09:15 +01:00
Florian Quèze
1158645bdd
Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8.
2017-12-19 23:45:10 +01:00
Dão Gottwald
8c3a23d2da
Bug 1425432 - Maintain original thumbnail aspect ratio for Ctrl-Tab previews. r=jaws
...
MozReview-Commit-ID: F03AHwdplir
--HG--
extra : rebase_source : 3c6f9a162aced52aa51565924f59ceb14a8219f6
2017-12-15 13:32:51 +01:00
Dão Gottwald
6950ac6b52
Bug 1415863 - Rename mTabBox to tabbox. r=florian
...
MozReview-Commit-ID: L2mzJnHHwNu
--HG--
extra : rebase_source : 9959999779d90e5a4d3798ccbccbf1cb831cd602
2017-11-09 13:53:48 +01:00
Dan Banner
f1eb5aaa84
Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
...
MozReview-Commit-ID: JOC1330iFnh
--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Florian Quèze
8a99c9ce27
Bug 1381853 - lazy load browser-ctrlTab.js into the browser window, r=mconley.
2017-07-23 00:17:57 +02:00
Florian Queze
9721c4ea62
Bug 1349761 - uninitialize ctrlTab only if it has been initialized before, r=dao.
2017-03-23 13:00:27 +01:00
Subhdeep Saha
d18ed51d75
Bug 1345773 - Don't call updatePreview for TabAttrModified events for the "select" attribute, r=dao
...
MozReview-Commit-ID: 9GSnGxJoNne
--HG--
extra : rebase_source : 0ecdc19cc6d28c60ab8cc13447db1186225dbb56
2017-03-09 21:06:35 +05:30
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
milindl
8aace91f7a
Bug 1342025 - reduce calls to ctrlTab.updatePreview. r=dao
2017-03-06 10:03:17 +01:00
Florian Quèze
85611a7b6d
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jared Wein
ecab54a7c9
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Dão Gottwald
78f9f64797
Bug 1322889 - Properly set crop attribute on Ctrl+Tab preview titles. r=gijs
...
--HG--
extra : rebase_source : 05f9f56c5aec7d07c58c0622da3bd18313882e67
2016-12-13 15:34:32 +01:00
Dave Townsend
8de07a19a0
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Dão Gottwald
edec54dc91
Bug 1292095 - Implement SSWindowRestored event and use it instead of SSWindowStateReady for the Ctrl+Tab panel. r=mdeboer
2016-08-04 18:58:00 +02:00
Felipe Gomes
909d49249d
Bug 1228627 - Remove #includes from browser.js. r=Gijs
2015-11-30 12:13:57 -02:00
Abdelrhman Ahmed
1c3fab499a
Bug 1142552 - Remove remaining expression closures from browser-ctrlTab.js. r=dao
2015-03-13 13:01:24 +01:00
Abdelrhman Ahmed
104407945b
Bug 1125499 - Use arrow function in allTabs.open. r=dao
2015-01-25 02:04:27 +01:00
Jim Mathies
54f902d7ef
Bug 1088203 - e10sify PageThumbs support for checking page security and error state. r=Dao
2015-01-22 07:07:56 -06:00
Vikram Jadhav
38a39385bd
Bug 1121471 - Remove use of expression closures from browser-ctrlTab.js. r=dao
2015-01-20 09:31:41 +01:00
Vikram Jadhav
e6fee8d796
Bug 1122430 - Use for..of iteration instead of Array.forEach in ctrlTab.suspendGUI. r=dao
2015-01-16 07:56:00 -05:00
Abdelrhman Ahmed
2680f7fb29
Bug 1115038 - Ctrl-Tab panel's "Show all X tabs" button should read "List All X Tabs" instead. r=dao
2014-12-26 14:37:32 +01:00
abdelrhman
8e8a47b40d
Bug 1112556 - Ctrl-Tab previews are oversized with a small number of tabs open. r=dao
...
--HG--
extra : rebase_source : ec1e0f19a6c482ddb8ee65360b4656dfe7b905bd
2014-12-18 23:31:15 +01:00
Ryan VanderMeulen
a8d68856d3
Backed out changeset 08d1470a4042 (bug 1112556) for mass test bustage.
...
CLOSED TREE
2014-12-18 15:52:57 -05:00
abdelrhman
b3b0e4a4e7
Bug 1112556 - Ctrl-Tab previews are oversized with a small number of tabs open. r=dao
...
--HG--
extra : rebase_source : 1cb9531271538fcf6d842db56000e31cd21208d3
2014-12-18 19:38:58 +01:00
Dão Gottwald
84755446f8
Bug 1107354 - Rename browser-tabPreviews.js to browser-ctrlTab.js. r=jimm
...
--HG--
rename : browser/base/content/browser-tabPreviews.js => browser/base/content/browser-ctrlTab.js
2014-12-16 21:42:43 +01:00