Drew Willcoxon
4440844edb
Bug 1247641 - When loading a background thumbnail, load about:blank asynchronously when a load fails to avoid endless redirects. r=markh
2016-02-16 16:34:25 -08:00
Tracy Walker
5b03e7d747
Bug 1245225 - [e10s] Renabled working test cases. Remove relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm
2016-02-05 10:18:36 -06:00
Dave Townsend
4dd6b34d65
Bug 1245649: Turn on no-extra-semi. r=markh
2016-02-03 17:27:36 -08:00
Dave Townsend
309dc8a792
Bug 1245649: Turn on linebreak-style. r=Gijs
2016-02-03 17:04:56 -08:00
Dave Townsend
db523ac819
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Dave Townsend
dd99c04a73
Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
2016-02-03 13:12:18 -08:00
Wes Kocher
c3799c8915
Backed out changeset 69ec780e039c (bug 1245225) for enabling a bunch of tests that frequently fail CLOSED TREE
2016-02-04 11:17:03 -08:00
Tracy Walker
89ed8c18ef
Bug 1245225 - [e10s] Renabled working test cases. Simple case of removing relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_during_capture.js, browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm
2016-02-02 13:49:18 -06:00
Jeff Walden
c86cd2047c
Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz
2016-01-25 18:10:22 -08:00
Mike Hommey
701930ba6c
Bug 1240660 - Remove "+" prefixes in jar manifests. r=gps
...
Now that the faster make backend is enabled by default avoiding
cross-jar.mn file conflicts, and now that individual files can't
overlap with wildcards in the same jar.mn files, which were two
main things that the "+" prefix was used for (apart from
cargo-culting), the "+" prefixes in the tree are not necessary
anymore.
2016-01-20 07:24:40 +09:00
Jim Mathies
b0f1365512
Bug 1096804 - Add support to PageThumbs for requesting non-downsampled content screenshots. r=dao
2016-01-12 11:08:33 -06:00
Carsten "Tomcat" Book
f3a72c9035
merge mozilla-inbound to mozilla-central a=merge
2016-01-05 11:58:56 +01:00
Dave Townsend
fb1e757d42
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08:00
Mason Chang
31c26ad14d
Bug 1231518. Load about:blank if thumbnail service fails. r=adw
2016-01-04 16:24:58 -08:00
Andrea Marchesini
220f9adea0
Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking
2015-12-09 15:52:38 -05:00
Andrea Marchesini
b47ee21ee3
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Dave Townsend
cc6b786d3f
Bug 1229519: Fix toolkit/components/thumbnails to pass eslint checks. r=rhelmer
2015-12-03 09:59:44 -08:00
Oliver Henshaw
5302f3388b
Bug 1192394 - Force an image load whenever the thumbnail file changes. r=adw
...
Add a revision tag to moz-page-thumb URLs. Change it whenever a new
thumbnail is captured and stored to disk. This prevents new loads from
re-using the old cached value even if the document context matches the
stored loadId of the cache entry.
Also drop no-longer needed wait in browser_thumbnails_update.js test.
Restores behaviour of test/head.js:retrieveImageDataForURL to that of
before bug 897880 - i.e. load the thumbnail image in the context of the
top level chrome document (rather than a new tab every time). It's
likely that bug 1192394 is the reason for the test failures observed in
bug 897880 comment #11 .
2015-10-29 16:03:00 +01:00
Mason Chang
5cf786611f
Bug 1215659. Use destination canvas for thumbnail size if provided one. r=adw
2015-10-30 12:26:30 -07:00
Oliver Henshaw
7247d368b4
Bug 1180715 (3/4) - Drop parseURI from newChannel2. review=ttaubert
...
Extract the nsIFile from aURI instead.
2015-10-20 10:45:46 +05:30
Oliver Henshaw
e05518af25
Bug 1180715 (4/4) - Use nsIURL methods instead of RegExp. review=ttaubert
...
Also move host check from the parseURI caller to parseURI itself.
2015-10-20 10:45:40 +05:30
Oliver Henshaw
99a9fbf8cb
Bug 1180715 (2/4) - Provide a nsIFileURL interface for thumbnails. review=ttaubert
...
Use nsISubstitutingProtocolHandler to return a SubstitutingURL and to
resolve the thumbnail URL to the backing nsIFile.
Now the image loader code will realise that moz-page-thumb:// URLs are
backed by a file and will be able to use the file mtime to evaluate
whether the cached imgRequest has expired.
* Implement the nsISubstitutingProtocolHandler methods in the thumbnail
protocol handler. The resolveURI method does all the work, the other
methods are just stubs.
* moz-page-thumb:// is now an URL rather than an URI, so update the
signature accordingly.
* Add xpcshell-test to affirm that SubstitutingURL::EnsureFile()
resolves the backing file correctly.
* Adjust the mochitest to account for the one second granularity of the
mtime tracking.
2015-10-20 10:45:32 +05:30
Marcos Caceres
8394d99937
Bug 1210944 - Return a promise in BackgroundPageThumbs.captureIfMissing. r=adw
2015-10-07 15:44:30 -04:00
Carsten "Tomcat" Book
d7f143eaad
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cd93f441eb
Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE
2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book
b9e5717f50
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Shu-yu Guo
f0cdd04e91
Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest)
2015-10-06 14:00:30 -07:00
Tooru Fujisawa
8400a47e1b
Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
2015-09-24 20:36:01 +09:00
Tooru Fujisawa
7e055fc962
Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
2015-09-24 20:32:23 +09:00
Tooru Fujisawa
7c5be5da3e
Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure
2015-09-27 23:42:50 +09:00
Tooru Fujisawa
7ee09dcdfe
Backed out changeset 55b45f61cfd2 (bug 1207498) for Linux pgo M(oth) failure
2015-09-27 23:42:27 +09:00
Tooru Fujisawa
cf92e0a6fe
Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
2015-09-24 20:36:01 +09:00
Tooru Fujisawa
930055842c
Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
2015-09-24 20:32:23 +09:00
Mason Chang
b12c88a6be
Followup for bug 1197361, fix typo in mochitest. r=me
2015-09-25 11:51:40 -07:00
Mason Chang
82e06156ca
Bug 1197361. Optimize page thumbnails based on screen size. r=ttaubert
2015-09-25 11:27:16 -07:00
Shu-yu Guo
45211869c8
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Christoph Kerschbaumer
16aada7e20
Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking)
2015-08-06 11:11:32 -07:00
Carsten "Tomcat" Book
5341b6ceb3
Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
...
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
695a2b926c
Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking)
2015-08-05 12:55:14 -07:00
David Rajchenbach-Teller
ff95abb3a3
Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
2015-05-05 12:44:16 +02:00
Ryan VanderMeulen
58a227ed02
Backed out changesets ddad4d54c31e and ef85fdfd2fc7 (bug 1043863) for making browser_thumbnails_storage.js permafail on WinXP opt.
2015-05-26 14:05:18 -04:00
David Rajchenbach-Teller
d71c6f46ad
Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak
2015-05-05 12:44:16 +02:00
Seth Fowler
aa5329e9b3
Bug 1163866 - Set originalURI correctly for moz-page-thumb:// channels. r=adw
2015-05-12 18:45:49 -07:00
Christoph Kerschbaumer
f0b3089602
Bug 1147562 - Update remaining callsites of newChannel before landing the shim in toolkit/ (r=gijs)
2015-04-09 10:10:45 -07:00
Bill McCloskey
85cfb832c9
Bug 1148961 - Add missing QI in thumbnail code (r=markh)
2015-03-30 20:13:05 -07:00
Bill McCloskey
a4f4374394
Bug 1084637 - Enable thumbnail test in e10s (r=jimm)
2015-03-05 22:03:22 -08:00
Christoph Kerschbaumer
efb0cd2a6d
Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs)
2014-10-24 15:25:34 -07:00
Tim Taubert
7d230131e1
Bug 1129978 - Replace custom addVisits() implementations with the one in PlacesTestUtils r=mak
2015-02-05 21:58:58 +01:00
Jim Mathies
9821108dab
Bug 1088203 - e10sify PageThumbs support for checking page security and error state. r=Dao
2015-01-22 07:07:56 -06:00