Commit Graph
92 Commits
Author SHA1 Message Date
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
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
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
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
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 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
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
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
Bill McCloskey f932cd6e3b Bug 1084637 - Enable thumbnail test in e10s (r=jimm) 2015-03-05 22:03:22 -08:00
Tim Taubert a9070b8209 Bug 1129978 - Replace custom addVisits() implementations with the one in PlacesTestUtils r=mak 2015-02-05 21:58:58 +01:00
Jim Mathies ac600d7244 Bug 1088203 - e10sify PageThumbs support for checking page security and error state. r=Dao 2015-01-22 07:07:56 -06:00
abdelrhman 64233c145f Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao 2014-12-15 22:05:46 +01:00
Jim Mathies 1cf0a642a1 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 6790c99984 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 06afcb44ee Bug 698371 - Fixup front-end callers and enable some thumbnail tests for e10s. r=dao 2014-10-17 18:13:58 -05:00
Christian Holler 4bc1651a64 Bug 982600 - Disable tests that only make sense with crashreporter. r=markh 2014-09-30 14:59:41 +02:00
Mark Hammond fc525b6726 Bug 1066537 - avoid intermittent thumbnail orange. r=unfocused 2014-09-18 14:49:35 +10:00
Dão Gottwald d1c3f18b6e Bug 990322 - Don't show multiple thumbnails from the same base domain. r=adw 2014-08-09 00:57:46 +02:00
Alexandre Poirot 6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Tom Schuster 5c8f488254 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Blair McBride 8975e08fe3 Bug 1033972 - BackgroundPageThumbs.captureIfMissing() and PageThumbs.captureAndStoreIfStale() both incorrectly use PromiseWorker. r=adw 2014-07-07 14:28:00 +12:00
Blair McBride e29c821136 Bug 994915 - Part 2: Add error handling in BackgoundPageThumbs for invalid URLs. r=adw 2014-07-01 22:27:40 +12:00
Mark Hammond 03e90c911b Bug 916497 - PageThumbs no longer expires thumnails being tested to fix intermittent oranges. r=adw 2014-05-14 11:09:31 +10:00
Mark Hammond d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Gregory Szorc dffb8830ba Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
2014-02-06 13:00:20 -08:00
Drew Willcoxon 430f328d55 Bug 809056 - Reduce thumbnailing impact by capturing and storing only top sites. r=markh 2014-01-07 12:59:18 -08:00
Wes Kocher 2d9fcb0db4 Backed out changeset f552ce04bc36 (bug 809056) for m-bc orange 2014-01-08 22:02:28 -08:00
Drew Willcoxon 9b665cc687 Bug 809056 - Reduce thumbnailing impact by capturing and storing only top sites. r=markh 2014-01-07 12:59:18 -08:00
Bill McCloskey ff36ddc3aa Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Drew Willcoxon d19707795e Bug 923345 - Fix intermittent failure in test/browser_thumbnails_background_crash.js by splitting it up. r=markh 2013-12-09 19:52:51 -08:00
Ryan VanderMeulen 8df43cb7cf Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey 1ca8c3fbd0 Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Drew Willcoxon 73d5c025eb Bug 931889 - Split browser_thumbnails_background.js into multiple smaller files. r=markh 2013-11-21 17:38:17 -08:00
Tim Taubert b09de45638 Bug 934207 - Add browser_thumbnails_background_crash.js to browser.ini r=jhammel,markh
From 866d4df33b0e9fd8b8a28eea4dfa690a10b7fa83 Mon Sep 17 00:00:00 2001
2013-11-02 20:35:38 +01:00
Ed Morley a4685a541c Bug 931889 - Disable browser_thumbnails_background.js on Linux for too many intermittent failures 2013-10-28 17:01:51 +00:00
Drew Willcoxon cfc3c6471e Bug 927688 - Enable background thumbnailing on beta and release. r=markh,gps 2013-10-24 17:17:46 -07:00
Gregory Szorc d3405d579f Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Ed Morley 697a1cc250 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc 3bbbcf0fd0 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Christian Holler 167821d8c4 Bug 915384 - use a longer timeout for browser_thumbnails_background. r=markh 2013-09-23 11:27:26 +02:00
Christian Holler 7c36b4f7ee Bug 919438 - Disable thumbnails test in non-crashreporter builds. r=markh 2013-09-23 11:04:03 +02:00
Jared Wein 6580fe1985 Bug 917887 - Move tests in browser/base/content/tests to browser/base/content/tests/general. r=gavin 2013-09-19 02:06:20 -04:00