Commit Graph

181 Commits

Author SHA1 Message Date
Kevin Chan
9aa31fa024 Bug 1140286 - Remove CPOW usage from browser_thumbnails_bg_no_cookies_stored.js. r=adw 2016-09-13 16:32:00 -04:00
Thomas Wisniewski
a482d8a784 Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Michael Layzell
8724b6835f Bug 1279285 - Set the SANDBOXED_AUXILARY_NAVIGATION flag when rendering thumbnails in the background, r=bz
MozReview-Commit-ID: 4grdy6evhrb
2016-09-01 14:24:52 -04:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Drew Willcoxon
69039298eb Bug 1294509 - Enable browser_thumbnails_bg_crash_during_capture.js on e10s. r=markh
MozReview-Commit-ID: 6cVbhXWdS0X
2016-08-11 20:12:38 -07:00
Carsten "Tomcat" Book
e2a4027c20 merge fx-team to mozilla-central a=merge 2016-08-10 15:52:07 +02:00
Drew Willcoxon
e44e4c9932 Bug 1293842 - Enable browser_thumbnails_update.js on e10s. r=adw
MozReview-Commit-ID: 8ZMnCag9bV7
2016-08-09 17:48:54 -07:00
Drew Willcoxon
336904f640 Bug 1293499 - Fix PageThumbs.captureAndStore for e10s: redirects and channel errors. r=markh
MozReview-Commit-ID: HULg4Ja0NmF
2016-08-09 17:48:34 -07:00
Mike de Boer
9e4a7c375b Bug 1280876 - don't take screenshots of pages that have the findbar open. r=jaws,mconley
MozReview-Commit-ID: Dmz0MaukNVq
2016-08-10 11:23:47 +02:00
Drew Willcoxon
2bfd957253 Bug 1254843 - Intermittent e10s browser_thumbnails_bg_no_cookies_sent.js | uncaught exception - Error: operation not possible on dead CPOW at :0. r=markh
MozReview-Commit-ID: JH6zieXx2Sz
2016-08-08 13:14:13 -07:00
Jared Wein
4518d81cb5 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Jared Wein
e8b20b6db5 Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES
2016-08-04 03:20:25 -04:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Tim Huang
9d0bd9c921 Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku 2016-07-11 20:03:00 +02:00
Jonathan Hao
eefc856bb1 Bug 1279568 - Capture thumbnails in an internal-only container. r=baku,markh 2016-07-09 21:41:32 +08:00
Jonathan Hao
c78e9f372e Bug 1279568 - Modify thumbnails tests to make sure cookies can't be set by document.cookies or xhr. r=markh 2016-07-09 21:41:30 +08:00
Ben Kelly
5e2e5285a7 Bug 1279389 P3 Fix OS.File.DirectoryIterator leaks throughout tree. r=yoric 2016-06-28 18:47:55 -07:00
Gijs Kruitbosch
3ca3a5e02f Bug 1265055 - move a bunch of tests to the urlbar directory, r=adw
MozReview-Commit-ID: 67eb9v4blas
2016-04-15 21:11:15 +01:00
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