Commit Graph

2734 Commits

Author SHA1 Message Date
Brian Hackett
89a7a7eac5 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Brian Hackett
1b078f3536 Merge TM -> JM 2011-07-05 18:22:24 -07:00
Brian Hackett
dee99963bb Merge TM -> JM 2011-07-01 16:24:32 -07:00
Joe Drew
171af95914 Bug 641748 - Create a simulated GIF webcam, and test to make sure we actually get the second frame. r=jrmuizel
This also implicitly tests that we don't hit this bug, because it was an
NS_ABORT_IF_FALSE, and that will be hit on debug reftest runs.
2011-07-14 14:47:45 -04:00
Joe Drew
bbd5b84790 Bug 641748 - Remove RasterImage::AppendFrame in favour of RasterImage::EnsureFrame, because decoders get re-initialized when using multipart/x-mixed-replace, and this can lead to the frame count for RasterImages being different from the frame count for decoders. r=jrmuizel 2011-07-14 14:47:43 -04:00
Joe Drew
50cdf9643d Bug 641748 - Change imgFrame::mPaletteDepth from signed to unsigned. r=jrmuizel 2011-07-14 14:47:41 -04:00
Joe Drew
73e2449ba9 Bug 664299 - Support CORS in Imagelib by adding load flags for the various CORS modes. r=jrmuizel,bz 2011-07-14 14:47:34 -04:00
Joe Drew
952b8c93a0 Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz 2011-07-14 14:47:32 -04:00
Joe Drew
db615ad885 Bug 619048 - Some "zero" (really max) height and width .ico files as crashtests. r=jrmuizel
The fact that these are interpreted as zero-size is bug 668068.
2011-07-01 13:08:19 -04:00
Joe Drew
088e5533a2 Bug 619048 - Correctly reject zero-height and zero-width images. r=jrmuizel 2011-07-01 13:03:47 -04:00
Joe Drew
2490cf4cd9 Bug 552605 - Tests to make sure a URI always maps to the same image in the same document, even when loaded with cache-control: no-cache. r=bz 2011-07-01 13:03:45 -04:00
Joe Drew
bcb9088b38 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-07-01 13:03:43 -04:00
Joe Drew
ebe4d8577b Bug 552605 - Rely on the necko cache to validate all cache-control headers rather than asking for it to load only if modified. This makes it so we don't have to implement HTTP cache-control correctness on redirects ourselves. r=jrmuizel 2011-07-01 13:03:42 -04:00
Joe Drew
28b8e17396 Bug 552605 - imgRequest::mKeyURI and mURI are now the same because we don't change the cache on redirect. Let's keep track of the current URI instead. r=jrmuizel 2011-07-01 13:03:40 -04:00
Joe Drew
d31fbb1416 Bug 552605 - Keep track of all redirects when validating cache entries, so we make sure cache headers are always kept track of. r=jrmuizel 2011-07-01 13:03:38 -04:00
Joe Drew
8e1674f49a Bug 552605 - check for file:// scheme in SetCacheValidation rather than on cache entry construction, so we don't have to have the URI when constructing cache entries. r=jrmuizel 2011-07-01 13:03:37 -04:00
Joe Drew
2fd2525747 Bug 552605 - Change "must validate if expired" to "must always validate" in the image cache, to fit with the spirit of the HTTP spec. r=jrmuizel f=bz 2011-07-01 13:03:35 -04:00
Joe Drew
fadc80934d Bug 552605 - Set cache expiry and validation on both OnStartRequest and OnRedirectVerifyCallback so that our image cache entries have the union of all cache headers. r=jrmuizel 2011-07-01 13:03:33 -04:00
Joe Drew
7c5a983ab5 Bug 552605 - Keep images in the image cache based on their original URI, not the URI they're redirected to. r=jrmuizel 2011-07-01 13:03:32 -04:00
Joe Drew
183549614c Bug 552605 - Fix some whitespace issues that crept in. r=jrmuizel 2011-07-01 13:03:30 -04:00
Marco Bonardo
e5f62e0edd Merge backout on a CLOSED TREE 2011-07-01 18:09:06 +02:00
Marco Bonardo
6013ac2db8 Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE 2011-07-01 18:08:24 +02:00
Makoto Kato
09ff6f5746 Bug 413019 - Remove PGO workaround for some modules. r=ted 2011-07-01 12:46:02 +09:00
Joe Drew
85e1a7141b Bug 552605 - Some "zero" (really max) height and width .ico files as crashtests. r=jrmuizel
The fact that these are interpreted as zero-size is bug 668068.
2011-06-30 21:58:41 -04:00
Joe Drew
367ea5d97d Bug 619048 - Correctly reject zero-height and zero-width images. r=jrmuizel 2011-06-30 21:58:40 -04:00
Joe Drew
6ee9d7ab14 Bug 552605 - Tests to make sure a URI always maps to the same image in the same document, even when loaded with cache-control: no-cache. r=bz 2011-06-30 21:58:38 -04:00
Joe Drew
301a37eb71 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-06-30 21:58:36 -04:00
Joe Drew
f9164fc9c5 Bug 552605 - Rely on the necko cache to validate all cache-control headers rather than asking for it to load only if modified. This makes it so we don't have to implement HTTP cache-control correctness on redirects ourselves. r=jrmuizel 2011-06-30 21:58:34 -04:00
Joe Drew
fe121634b0 Bug 552605 - imgRequest::mKeyURI and mURI are now the same because we don't change the cache on redirect. Let's keep track of the current URI instead. r=jrmuizel 2011-06-30 21:58:33 -04:00
Joe Drew
829c067539 Bug 552605 - Keep track of all redirects when validating cache entries, so we make sure cache headers are always kept track of. r=jrmuizel 2011-06-30 21:58:31 -04:00
Joe Drew
f7c743d43f Bug 552605 - check for file:// scheme in SetCacheValidation rather than on cache entry construction, so we don't have to have the URI when constructing cache entries. r=jrmuizel 2011-06-30 21:58:30 -04:00
Joe Drew
6861af586e Bug 552605 - Change "must validate if expired" to "must always validate" in the image cache, to fit with the spirit of the HTTP spec. r=jrmuizel f=bz 2011-06-30 21:58:28 -04:00
Joe Drew
1bb88cedf0 Bug 552605 - Set cache expiry and validation on both OnStartRequest and OnRedirectVerifyCallback so that our image cache entries have the union of all cache headers. r=jrmuizel 2011-06-30 21:58:26 -04:00
Joe Drew
408911f38a Bug 552605 - Keep images in the image cache based on their original URI, not the URI they're redirected to. r=jrmuizel 2011-06-30 21:58:25 -04:00
Joe Drew
0a730c4826 Bug 552605 - Fix some whitespace issues that crept in. r=jrmuizel 2011-06-30 21:58:23 -04:00
Justin Lebar
7566d381e7 Bug 666317 - Discard decoded images on a memory-pressure notification. r=joe 2011-06-30 17:13:56 -04:00
Brian Hackett
020c4d8bac Merge TM -> JM 2011-06-06 16:47:40 -07:00
Nicholas Nethercote
3f2c2d551f Bug 656773 - Separate the process and the path in nsIMemoryReporter so that about:memory works in private browsing mode. r=sdwilsh, sr=roc. 2011-06-06 11:22:45 +10:00
Brian Hackett
82abccdd14 [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Brian Hackett
6b8a6b971f [INFER] Fix comment, temporarily turn on -a in browser for tests. 2011-06-01 08:46:29 -07:00
Brian Hackett
1354314184 Merge TM -> JM 2011-05-27 15:08:04 -07:00
Justin Lebar
60f61836d3 Bug 481962 - Force logging on in imagelib. r=joe
--HG--
extra : rebase_source : 110c088d4221d56aede72808e05c202a7e2a3f91
2011-07-08 13:55:03 -04:00
Ehsan Akhgari
2ee50e2446 Backout changeset 7c1a923bea13 (bug 649537) because of mochitest-3 and mochitest-oth oranges 2011-07-12 14:25:53 -04:00
Ben Turner
86f8bb179c Bug 649537 - 'Workers: Make one OS thread and JS runtime per worker, and lose XPConnect'. r=sicking+mrbkap.
--HG--
rename : dom/src/threads/Makefile.in => dom/workers/Makefile.in
rename : dom/src/threads/test/Makefile.in => dom/workers/test/Makefile.in
rename : dom/src/threads/test/WorkerTest.jsm => dom/workers/test/WorkerTest.jsm
rename : dom/src/threads/test/WorkerTest_badworker.js => dom/workers/test/WorkerTest_badworker.js
rename : dom/src/threads/test/WorkerTest_subworker.js => dom/workers/test/WorkerTest_subworker.js
rename : dom/src/threads/test/WorkerTest_worker.js => dom/workers/test/WorkerTest_worker.js
rename : dom/src/threads/test/atob_worker.js => dom/workers/test/atob_worker.js
rename : dom/src/threads/test/chromeWorker_subworker.js => dom/workers/test/chromeWorker_subworker.js
rename : dom/src/threads/test/chromeWorker_worker.js => dom/workers/test/chromeWorker_worker.js
rename : dom/src/threads/test/closeOnGC_server.sjs => dom/workers/test/closeOnGC_server.sjs
rename : dom/src/threads/test/closeOnGC_worker.js => dom/workers/test/closeOnGC_worker.js
rename : dom/src/threads/test/close_worker.js => dom/workers/test/close_worker.js
rename : dom/src/threads/test/fibonacci_worker.js => dom/workers/test/fibonacci_worker.js
rename : dom/src/threads/test/importScripts_worker.js => dom/workers/test/importScripts_worker.js
rename : dom/src/threads/test/importScripts_worker_imported1.js => dom/workers/test/importScripts_worker_imported1.js
rename : dom/src/threads/test/importScripts_worker_imported2.js => dom/workers/test/importScripts_worker_imported2.js
rename : dom/src/threads/test/importScripts_worker_imported3.js => dom/workers/test/importScripts_worker_imported3.js
rename : dom/src/threads/test/importScripts_worker_imported4.js => dom/workers/test/importScripts_worker_imported4.js
rename : dom/src/threads/test/json_worker.js => dom/workers/test/json_worker.js
rename : dom/src/threads/test/location_worker.js => dom/workers/test/location_worker.js
rename : dom/src/threads/test/longThread_worker.js => dom/workers/test/longThread_worker.js
rename : dom/src/threads/test/navigator_worker.js => dom/workers/test/navigator_worker.js
rename : dom/src/threads/test/newError_worker.js => dom/workers/test/newError_worker.js
rename : dom/src/threads/test/recursion_worker.js => dom/workers/test/recursion_worker.js
rename : dom/src/threads/test/relativeLoad_import.js => dom/workers/test/relativeLoad_import.js
rename : dom/src/threads/test/relativeLoad_sub_import.js => dom/workers/test/relativeLoad_sub_import.js
rename : dom/src/threads/test/relativeLoad_sub_worker.js => dom/workers/test/relativeLoad_sub_worker.js
rename : dom/src/threads/test/relativeLoad_sub_worker2.js => dom/workers/test/relativeLoad_sub_worker2.js
rename : dom/src/threads/test/relativeLoad_worker.js => dom/workers/test/relativeLoad_worker.js
rename : dom/src/threads/test/relativeLoad_worker2.js => dom/workers/test/relativeLoad_worker2.js
rename : dom/src/threads/test/simpleThread_worker.js => dom/workers/test/simpleThread_worker.js
rename : dom/src/threads/test/suspend_iframe.html => dom/workers/test/suspend_iframe.html
rename : dom/src/threads/test/suspend_worker.js => dom/workers/test/suspend_worker.js
rename : dom/src/threads/test/terminate_worker.js => dom/workers/test/terminate_worker.js
rename : dom/src/threads/test/testXHR.txt => dom/workers/test/testXHR.txt
rename : dom/src/threads/test/test_404.html => dom/workers/test/test_404.html
rename : dom/src/threads/test/test_atob.html => dom/workers/test/test_atob.html
rename : dom/src/threads/test/test_chromeWorker.html => dom/workers/test/test_chromeWorker.html
rename : dom/src/threads/test/test_chromeWorker.xul => dom/workers/test/test_chromeWorker.xul
rename : dom/src/threads/test/test_chromeWorkerJSM.xul => dom/workers/test/test_chromeWorkerJSM.xul
rename : dom/src/threads/test/test_close.html => dom/workers/test/test_close.html
rename : dom/src/threads/test/test_closeOnGC.html => dom/workers/test/test_closeOnGC.html
rename : dom/src/threads/test/test_errorPropagation.html => dom/workers/test/test_errorPropagation.html
rename : dom/src/threads/test/test_fibonacci.html => dom/workers/test/test_fibonacci.html
rename : dom/src/threads/test/test_importScripts.html => dom/workers/test/test_importScripts.html
rename : dom/src/threads/test/test_json.html => dom/workers/test/test_json.html
rename : dom/src/threads/test/test_location.html => dom/workers/test/test_location.html
rename : dom/src/threads/test/test_longThread.html => dom/workers/test/test_longThread.html
rename : dom/src/threads/test/test_navigator.html => dom/workers/test/test_navigator.html
rename : dom/src/threads/test/test_newError.html => dom/workers/test/test_newError.html
rename : dom/src/threads/test/test_recursion.html => dom/workers/test/test_recursion.html
rename : dom/src/threads/test/test_relativeLoad.html => dom/workers/test/test_relativeLoad.html
rename : dom/src/threads/test/test_simpleThread.html => dom/workers/test/test_simpleThread.html
rename : dom/src/threads/test/test_suspend.html => dom/workers/test/test_suspend.html
rename : dom/src/threads/test/test_terminate.html => dom/workers/test/test_terminate.html
rename : dom/src/threads/test/test_threadErrors.html => dom/workers/test/test_threadErrors.html
rename : dom/src/threads/test/test_threadTimeouts.html => dom/workers/test/test_threadTimeouts.html
rename : dom/src/threads/test/test_throwingOnerror.html => dom/workers/test/test_throwingOnerror.html
rename : dom/src/threads/test/test_xhr.html => dom/workers/test/test_xhr.html
rename : dom/src/threads/test/test_xhrAbort.html => dom/workers/test/test_xhrAbort.html
rename : dom/src/threads/test/threadErrors_worker1.js => dom/workers/test/threadErrors_worker1.js
rename : dom/src/threads/test/threadErrors_worker2.js => dom/workers/test/threadErrors_worker2.js
rename : dom/src/threads/test/threadErrors_worker3.js => dom/workers/test/threadErrors_worker3.js
rename : dom/src/threads/test/threadErrors_worker4.js => dom/workers/test/threadErrors_worker4.js
rename : dom/src/threads/test/threadTimeouts_worker.js => dom/workers/test/threadTimeouts_worker.js
rename : dom/src/threads/test/throwingOnerror_worker.js => dom/workers/test/throwingOnerror_worker.js
rename : dom/src/threads/test/xhrAbort_worker.js => dom/workers/test/xhrAbort_worker.js
rename : dom/src/threads/test/xhr_worker.js => dom/workers/test/xhr_worker.js
2011-07-12 12:32:14 -04:00
Brian Hackett
1e358b51f6 Merge TM -> JM 2011-05-22 08:59:06 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
John Daggett
0cc810376c Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
John Daggett
d513f6e578 Backout 2e0e36b0feae due to odd Linux bustage 2011-05-20 16:13:01 +09:00
John Daggett
43f90511f3 Bug 652754. Eliminate unnecessary font data enumerations at startup. r=jkew 2011-05-20 15:09:30 +09:00
Brian Hackett
afdce01248 Merge TM -> JM 2011-05-15 11:32:09 -07:00