Doug Thayer
b3eef35a05
Bug 1421703 - replace onVisit with onVisits r=mak
...
There's a heavy enough overhead to going through XPConnect for
every observer for every visit on the nsINavHistoryObserver
interface, so this patch reduces that by replacing the single-
visit notification with one which accepts an array of visits.
Some notes: To avoid problems with the orderings of the various
ways in which we notify about visits, we have to send our bulk
onVisits notification before doing any of the others. This does
mean it technically behaves slightly different than the prior
approach of interleaving the notifications, but I can't find any
way in which this has any consequences to the end result, and it
doesn't break any tests.
MozReview-Commit-ID: GdeooH8mCkg
--HG--
extra : rebase_source : 48b5f886c4650a756e70f4657cb9d62c8ce40f74
2017-12-20 14:27:24 -08:00
Valentin Gosu
0203cc4abd
Bug 1426501 - Change C++ code to use NS_MutateURI when changing URI r=mayhemer
...
MozReview-Commit-ID: 4VzZlhWrtSJ
--HG--
extra : rebase_source : 9c872dc14c8e5f03e6354ab76c8bf750a7e10260
2018-01-08 15:20:35 +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
Bill McCloskey
9f4d083047
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
89531e8dc3
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Mark Banner
82fc47320e
Bug 1409691 - Fix initialisation of doneReason in Capture (BackgroundPageThumbs.jsm). r=Mardak
...
MozReview-Commit-ID: G30XiYMScHr
--HG--
extra : rebase_source : 20bf9a19aa3f1b3f6aa109cd27da030f3caa2948
2017-11-22 12:35:52 +00:00
JW Wang
17d248e04d
Bug 1417869. P1 - Backed out changeset bf0e4dd83b3b of bug 1412505. r=adw,Mardak
...
MozReview-Commit-ID: KdxxwIsHZJS
--HG--
extra : rebase_source : d751873923c0a5f838c203ae82ff54800d3b7b57
2017-11-21 13:54:01 +08:00
Ed Lee
7da9e15ced
Bug 1412505 - Background thumbnail request of go.twitch.tv strains CPU. r=adw
...
MozReview-Commit-ID: 9z20fvHMtcD
--HG--
extra : rebase_source : 59894811281b5b52ff863885af6414f2ea2300da
2017-11-13 16:09:00 -08: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
Mark Banner
99e91ded27
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 2. r=florian
...
MozReview-Commit-ID: 44oBXPP88Lc
--HG--
extra : rebase_source : 6625ac73eca1fa63d474eda3d1146baf910eac8c
2017-10-30 17:22:17 +00:00
Ursula Sarracini
df4f8ff8c2
Bug 1373258 - Convert PageThumbsProtocol.js to PageThumbsProtocol.cpp r=adw
...
MozReview-Commit-ID: tdNee2EPdV
--HG--
extra : rebase_source : 436ef616173f22b6d8386b8e7b3f482f1acabca4
2017-06-05 10:04:06 -04:00
Dan Banner
7caa92d5d8
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Ursula Sarracini
d5385401c2
Bug 1400562 - BackgroundPageThumbs.captureIfMissing leaks when hidden capturing_disabled pref is true r=Mardak
...
MozReview-Commit-ID: 6zb3uBCYTk5
--HG--
extra : rebase_source : f76bca00e79e5b6e1bfc79e0b67c99ec88b7097e
2017-10-10 13:22:54 -04:00
Andrea Marchesini
baa04d619a
Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
2017-08-06 20:47:00 +03:00
Kris Maglione
47159e662a
Bug 1399646: Part 1 - Destroy BackgroundPageThumbs instance at shutdown. r=Gijs
...
During extremely short sessions (such as the ones triggered by many tests),
the code run by BackgroundPageThumbs during shutdown can trigger
hard-to-diagnose issues, among the most serious being a deadlock in the
service worker registrar.
Calling the (currently unused) _destroy() method at the start of shutdown
seems to prevent the majority of these problems.
MozReview-Commit-ID: Go7OLzVM24G
--HG--
extra : rebase_source : 7e5f619f8eed0e0ce3f1b94e8285d12a4be29d51
extra : histedit_source : 8b9c73b9e85a430381e2e1ee48e7fef5b56ab6e3
2017-09-13 13:34:57 -07:00
ahillier
6d16f3b2dd
Bug 1399200 - Don't stop loading thumbnail when image redirects r=Mardak
...
MozReview-Commit-ID: 1sADsZM6uYj
--HG--
extra : rebase_source : 4a6b1322e5301181beae4292ccd1f869b3815dc3
2017-09-12 14:07:33 -04:00
ahillier
afd4276b35
Bug 1397390 - Support better thumbnails for image urls r=k88hudson,Mardak
...
MozReview-Commit-ID: Ksxo6Gj2rIO
--HG--
extra : rebase_source : e46bbbdbd0ba87eb7475c6c49b46104ae77d9c40
2017-09-07 21:18:45 -04:00
Sebastian Hengst
6896082b75
Backed out changeset 4a955a640a52 (bug 1397390) for eslint failure at toolkit/components/thumbnails/PageThumbUtils.jsm:142: 'error' is not defined. r=backout
2017-09-07 23:59:05 +02:00
ahillier
2ffe678f02
Bug 1397390 - Support better thumbnails for image urls r=k88hudson,Mardak
...
MozReview-Commit-ID: Ksxo6Gj2rIO
--HG--
extra : rebase_source : d79d2ddff71f49ec378f7b95fa46761b9bb08886
2017-09-07 15:12:54 -04:00
Kirk Steuber
6fa578ce4b
Bug 1348280 - Try to ensure thumbnail creation happens when the thread is idle r=markh
...
MozReview-Commit-ID: HoEb5J0QCyw
--HG--
extra : rebase_source : 940538a35924a7be96e344f021ccfa9a8135b23e
2017-08-16 13:24:22 -07:00
Masatoshi Kimura
b3d2965807
Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
...
MozReview-Commit-ID: 8F1DtgakxM3
--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09: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
Kris Maglione
0ecfcbc93e
Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
...
MozReview-Commit-ID: APoFwUhDFdj
--HG--
extra : rebase_source : 15761873b91efaf1d338b6361bf7168ab4348e0d
2017-08-09 13:03:36 -07:00
Ed Lee
51d9e20da8
Bug 1387682 - Screenshots missing when thumbnailer Promise is garbage collected. r=ursula
...
Properly clean up on unload from newTab.js to release strong references in the background thumbnailer.
MozReview-Commit-ID: IJNSYjwKUW3
--HG--
extra : rebase_source : c0d9b87ee6b8dd7f3b57f4c3a89fe9a2e324f1a9
2017-08-04 20:38:00 -07:00
Ed Lee
97f29a6cfb
Bug 1387580 - Some top sites never get screenshots of redirected pages. r=adw
...
MozReview-Commit-ID: IzmzXhGnPcH
--HG--
extra : rebase_source : 48b7e3425268af2cfdc8ab8f8ea5c31a366915bc
2017-08-05 00:34:25 -07:00
Masatoshi Kimura
8b713b2b0f
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Geoff Brown
82199df876
Bug 1314039 - Fix incorrect skip-if for browser_thumbnails_capture.js; r=me,test-only
2017-07-10 17:06:17 -06:00
Joel Maher
44b697bb9a
Bug 1314039 - Intermittent toolkit/components/thumbnails/test/browser_thumbnails_capture.js. temporarily disable on osx. r=gbrown
...
MozReview-Commit-ID: HJXMo89pJGd
2017-06-29 08:36:28 -04:00
Florian Quèze
721c3ada5e
Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley.
2017-06-23 11:25:18 +02:00
Paolo Amadini
10ee6a5c4e
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Gabriele Svelto
3148018ed7
Bug 1359326 - Run the minidump analyzer directly from the CrashService code; r=bsmedberg
...
This patch removes the C++ code used to run the minidump analyzer when a
content process crashes, and replaces it with JS code within the CrashService
object. This removes the need for a separate shutdown blocker in C++ code and
allows end-to-end testing of the crash service functionality. Additionally
the exception handler code can be simplified since it's now only used to run
the crash reporter client.
The test added to test_crash_service.js covers computing the minidump SHA256
hash (bug 1322611) and of the minidump analyzer itself (bug 1280477).
MozReview-Commit-ID: LO5w839NHev
2017-05-11 14:03:50 +02:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Honza Bambas
d6d727a69e
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b
Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
...
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
70f62bdec1
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-12 22:13:49 +02:00
Florian Quèze
97f401c644
Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop.
2017-05-12 14:55:27 +02:00
Florian Quèze
67e56b7404
Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop.
2017-05-12 14:54:42 +02:00
Florian Quèze
4e937e42a2
Bug 1353542 - Cleanup the script output and fix tests, r=Mossop.
2017-05-12 14:54:05 +02:00
Florian Quèze
1d0e28a791
Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop.
2017-05-12 14:47:41 +02:00
Florian Quèze
5e3539e504
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Honza Bambas
a1b64b4694
Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01: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
4c6a68d1c9
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +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
Masatoshi Kimura
7e1158fd16
Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame
...
MozReview-Commit-ID: 6Ha8XrJBSiU
--HG--
extra : rebase_source : a83a64acf01dc9d1a0593c0ddbff76f74809a79b
2017-04-13 07:20:35 +09:00