Commit graph

55 commits

Author SHA1 Message Date
Ed Lee
6497dc1292 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX

--HG--
extra : rebase_source : b3f3e2dbd568e88c0e8461fb4bfadbbdd9baaa99
2018-02-13 16:53:50 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Ursula Sarracini
b4927e95b5 Bug 1413650 - Capture loaded page instead of relying on background screenshot r=Mardak
MozReview-Commit-ID: FWToOSH8uL8

--HG--
extra : rebase_source : d0b84e1cb108234710d1e04b2df57a891c512897
2017-11-07 17:33:44 -05:00
Margareta Eliza Balazs
6e2c9531ea Backed out changeset 44f0f3508112 (bug 1413650) for eslint failure in /builds/worker/checkouts/gecko/toolkit/components/thumbnails/test/browser_thumbnails_bg_topsites.js:11:53 r=backout on a CLOSED TREE
--HG--
extra : rebase_source : bed45864597fd38095fee09485f39916042b693b
extra : amend_source : 144121122d08a56c3abcc7e679d63b336ab45ffb
2017-11-08 00:42:49 +02:00
Ursula Sarracini
3c920c81eb Bug 1413650 - Capture loaded page instead of relying on background screenshot r=Mardak
MozReview-Commit-ID: 7O6c9uI6P8P

--HG--
extra : rebase_source : 87d0b1aecf6d0a7e9d0807bd4c79897fb0b9a940
2017-11-07 16:48:07 -05:00
Perry Jiang
acd548d0b2 Bug 1353584 - replace setTimeout with requestIdleCallback in _delayedCapture and return early on about: page in _shouldCapture. r=mconley
MozReview-Commit-ID: DaAcOTFBY6Q
2017-07-28 10:46:55 -07:00
Florian Quèze
2e4c2cc726 Bug 1381853 - lazy load browser-thumbnails.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Ursula Sarracini
2c3b61c5fb Bug 1367462 - Preemptively get screenshots when page is open for Activity Stream Top Sites r=Ehsan
MozReview-Commit-ID: cORp0JmG17

--HG--
extra : rebase_source : f752dd25a819af4c8dad8be44408cc42e011415f
2017-05-25 15:56:37 -04:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ehsan Akhgari
61f9a00b2f Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-10 10:00:38 -04:00
Phil Ringnalda
cb5344f715 Backed out changeset 228a6487d0c1 (bug 1350781) for eslint failures
CLOSED TREE
2017-04-06 21:16:03 -07:00
Ehsan Akhgari
3ee2f84634 Bug 1350781 - Avoid recomputing gBrowserThumbnails._topSiteURLs for 1 minute after computing it to speed up session restore; r=markh 2017-04-06 23:26:08 -04:00
Jared Wein
2f91e94e57 Bug 1333324 - Check for a potentially null or undefined browser.currentURI in _capture since it runs off of a timeout and the browser may not have a webNavigation associated with it anymore. r=florian
MozReview-Commit-ID: 1FWGSl9yefO

--HG--
extra : rebase_source : 26dfcd85a09d1de614c2fa97ed1b24b609981af8
2017-02-13 18:06:33 -05: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
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
Felipe Gomes
909d49249d Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Curtis Koenig
5de5d73283 Bug 1126253 - Removed redundant NewTabUtils.jsm import. r=dao 2015-01-29 08:46:48 +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
Jim Mathies
f69a69953f Bug 698371 - Fixup front-end callers and enable some thumbnail tests for e10s. r=dao 2014-10-18 09:09:32 -05:00
Wes Kocher
025b96df52 Backed out 4 changesets (bug 698371) for e10s bc3 bustage
Backed out changeset 6c6d420a3acc (bug 698371)
Backed out changeset 81378dee5a62 (bug 698371)
Backed out changeset d004bfd7f706 (bug 698371)
Backed out changeset 17bbdeffa8a6 (bug 698371)
2014-10-17 18:33:34 -07:00
Jim Mathies
53c9506929 Bug 698371 - Fixup front-end callers and enable some thumbnail tests for e10s. r=dao 2014-10-17 18:13:58 -05:00
Ehsan Akhgari
34a29c16e1 Bug 1063020 - Do not attempt to capture screenshots in e10s yet; r=dao 2014-09-04 23:17:42 -04:00
Dão Gottwald
92e019efcb Bug 1058237 - Ctrl-Tab previews should use the PageThumbs API. r=ttaubert 2014-09-03 19:14:01 +02:00
Drew Willcoxon
f6e19dc201 Bug 960941 - Base gBrowserThumbnails's expiration filter on top sites, not open pages. r=markh 2014-01-17 14:57:04 +01:00
Drew Willcoxon
174a50ba42 Bug 809056 - Reduce thumbnailing impact by capturing and storing only top sites. r=markh 2014-01-07 12:59:18 -08:00
Wes Kocher
b63f8189b5 Backed out changeset f552ce04bc36 (bug 809056) for m-bc orange 2014-01-08 22:02:28 -08:00
Drew Willcoxon
05659a73f5 Bug 809056 - Reduce thumbnailing impact by capturing and storing only top sites. r=markh 2014-01-07 12:59:18 -08:00
Drew Willcoxon
8933291a63 Bug 906615 - Background thumbnail service shouldn't overwrite existing thumbnails, and foreground service shouldn't capture when thumbnails are fresh. r=markh 2013-09-12 09:25:57 -07:00
Mark Hammond
0ca51642ad Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin 2013-08-07 11:10:58 +10:00
Bill McCloskey
423a6f81dc Bug 862078 - Use an about:config preference to control multiprocess browsing, part 2 (r=felipe) 2013-04-22 19:47:52 -07:00
Tanvi Vyas
d2e22365a7 Bug 836630 - Fix intermittent failures on try - when the http channel doesn't have an mResponseHead, we can't get the response status. r=ttaubert 2013-02-06 11:00:36 -08:00
Ehsan Akhgari
0d95057a75 Bug 798516 - Remove support for gPrivateBrowsingUI.privateWindow; r=jdm
This patch replaces the privateWindow API with the toolkit
PrivateBrowsingUtils.isWindowPrivate API, which is better in the sense
that it is chrome/content agnostic and is not browser/ specific.
2012-10-05 19:25:52 -04:00
Tim Taubert
661b414c79 Bug 754671 - [Page Thumbnails] size of thumbnails directory (in profiles directory) keeps growing infinitely; r=felipe 2012-08-21 11:17:18 -07:00
Tim Taubert
e283cc98e2 Bug 779618 - [Page Thumbnails] make tabbrowser use the thumbnail service; r=jaws 2012-08-09 08:46:17 +02:00
Raymond Lee
1d50496f1a Bug 748802 - browser-thumbnails.js uses global private browsing state instead of per-window state. r=ehsan 2012-05-02 09:35:12 +08:00
Tim Taubert
7d863c4407 Bug 754608 - Part 1 - don't capture thumbnails for privacy-sensitive pages; r=dao 2012-05-15 08:10:55 +02:00
Tim Taubert
1522ca95eb Bug 744152 - [Page Thumbnails] Capture thumbnails only for the selected tab; r=dietrich 2012-04-14 00:18:27 +02:00
Tim Taubert
75680118d0 Bug 744743 - [Page Thumbnails] Don't capture thumbnails in private browsing mode; r=dao 2012-04-12 14:43:52 +02:00
Tim Taubert
78bdf9e1be Bug 726347 - [Page Thumbnails] add preference to disable capturing thumbnails in the background; r=dao 2012-04-11 21:49:44 +02:00
Tim Taubert
1979778029 Bug 726272 - check if currentDocumentChannel is a valid channel; r=bustage-fix 2012-03-16 18:58:01 +01:00
Tim Taubert
550ff76cfe Bug 726272 - [Page Thumbnails] don't capture error pages; r=dietrich 2012-03-16 16:13:58 +01:00
Paul O'Shannessy
79dfc63a6a Bug 722460 - gBrowserThumbnails uninit sets a property that has only a getter [r=ttaubert] 2012-02-21 00:36:55 +01:00
Tim Taubert
0fa6608049 Bug 725268 - [Page Thumbnails] Reduce API provided by PageThumbs.jsm; r=dietrich 2012-02-09 11:12:15 +01:00
Tim Taubert
039cdf9124 Backed out changeset bcd726a4a258 (bug 725268) 2012-02-09 11:47:08 +01:00
Tim Taubert
3315c38f06 Bug 725268 - [Page Thumbnails] Reduce API provided by PageThumbs.jsm; r=dietrich 2012-02-09 11:12:15 +01:00
Tim Taubert
d5bef2fa4b Bug 720838 - [Page Thumbnails] Use canvas.mozFetchAsStream(); r=dietrich 2012-02-09 09:48:30 +01:00