Commit Graph

163 Commits

Author SHA1 Message Date
Chris Manchester
a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Olivier Yiptong
2b31b34d35 Bug 1239119 - BackgroundPageThumbs captureIfMissing promise resolves when task is truly done r=ursula
MozReview-Commit-ID: LmN9Phdrspv
2016-03-08 14:20:51 -05:00
Mike Conley
fcec1af3ee Bug 1254865 - Set disableglobalhistory on the thumbnail browser. r=Felipe
MozReview-Commit-ID: 9SXEAo0H0ko
2016-03-24 16:18:25 -04:00
Drew Willcoxon
2d9904ed3e 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
186040d255 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
a215a4a95a Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Dave Townsend
8e54bd9bcf Bug 1245649: Turn on linebreak-style. r=Gijs 2016-02-03 17:04:56 -08:00
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Dave Townsend
2e4b5d2078 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Wes Kocher
76523a8efd 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
16d02cdeb5 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
78f75957bc 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
d4d98b3b37 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
5fc9700de6 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
ef75c405fd merge mozilla-inbound to mozilla-central a=merge 2016-01-05 11:58:56 +01:00
Dave Townsend
8dc7f59eb3 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
a9e6ee79a9 Bug 1231518. Load about:blank if thumbnail service fails. r=adw 2016-01-04 16:24:58 -08:00
Andrea Marchesini
97f1b0d683 Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
74abde342e Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Dave Townsend
ca0061ea0a Bug 1229519: Fix toolkit/components/thumbnails to pass eslint checks. r=rhelmer 2015-12-03 09:59:44 -08:00
Oliver Henshaw
f3ae4d2011 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
1c276d46bd Bug 1215659. Use destination canvas for thumbnail size if provided one. r=adw 2015-10-30 12:26:30 -07:00
Oliver Henshaw
be94614774 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
7b85ab126c 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
d871d11e13 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
55921c6d1a Bug 1210944 - Return a promise in BackgroundPageThumbs.captureIfMissing. r=adw 2015-10-07 15:44:30 -04:00
Carsten "Tomcat" Book
036e6d2fa3 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
190bccea7d 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
12369728f5 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
474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Tooru Fujisawa
33909699d9 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
afbd2956bc 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
3d13712ac2 Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:50 +09:00
Tooru Fujisawa
8624800172 Backed out changeset 55b45f61cfd2 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:27 +09:00
Tooru Fujisawa
c8e217312c 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
f2efd2a948 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
aebc25375e Followup for bug 1197361, fix typo in mochitest. r=me 2015-09-25 11:51:40 -07:00
Mason Chang
6bc63c25ba Bug 1197361. Optimize page thumbnails based on screen size. r=ttaubert 2015-09-25 11:27:16 -07:00
Shu-yu Guo
37989840cd 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
6e5fcd4b19 Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-06 11:11:32 -07:00
Carsten "Tomcat" Book
24bab71afa 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
65acc2a8ec Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-05 12:55:14 -07:00
David Rajchenbach-Teller
530ad877b1 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak 2015-05-05 12:44:16 +02:00
Ryan VanderMeulen
6e8ebcf333 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
fe8f4d68b5 Bug 1043863 - Use AsyncShutdown to shutdown Places. r=mak 2015-05-05 12:44:16 +02:00
Seth Fowler
375f6d817b Bug 1163866 - Set originalURI correctly for moz-page-thumb:// channels. r=adw 2015-05-12 18:45:49 -07:00
Christoph Kerschbaumer
e57b36cb13 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
0c959e674c Bug 1148961 - Add missing QI in thumbnail code (r=markh) 2015-03-30 20:13:05 -07:00
Bill McCloskey
f932cd6e3b Bug 1084637 - Enable thumbnail test in e10s (r=jimm) 2015-03-05 22:03:22 -08:00