Commit Graph

2701 Commits

Author SHA1 Message Date
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
Jonathan Kew
b6406524e0 bug 663688 - back out changeset c4b84b05c46c to revert the workaround that disabled downloadable fonts on Lion. r=jdaggett 2011-06-29 14:16:12 +01:00
Justin Lebar
169b00ccad Bug 664486 - Add page fault counts to about:memory on Linux and Mac. r=njn, sr=bz
--HG--
extra : rebase_source : 47dd7501dea7ae69e01828a5c730e8853739dc71
2011-06-16 14:34:09 -04:00
bjarne@runitsoft.com
14b041f05f Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Patrick McManus
ebd9efe793 bug 664305 - websocket max connection limitation r=biesi
--HG--
extra : rebase_source : 7229d30f28b529c0fe7f22277a21c9a0f007d14d
2011-06-25 14:28:27 -04:00
Kyle Huey
ecb9c8319d Merge b-s to m-c 2011-06-25 10:13:14 -07:00
Kyle Huey
f7e6cb86fc Bug 664495: Cleanup a duplicated function in imgLoader.cpp. r=joe 2011-06-24 07:22:33 -07:00
Marco Bonardo
acc6a474c6 Revert to changeset a87ee7550f6a due to incomplete backout 2011-06-24 17:23:04 +02:00
Kyle Huey
f2c6b2d27d Bug 664495: Cleanup a duplicated function in imgLoader.cpp. r=joe 2011-06-24 07:22:33 -07:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Taras Glek
50f827a6a6 Bug 666307 - update zip telemetry r=mwu 2011-06-22 10:24:17 -07:00
Ed Morley
a0de3bc8be Bug 665582 - Fix unused variable warning in nsIconChannel.cpp; r=joedrew
--HG--
extra : rebase_source : 65e449aa4dddab9c51862f591dd212851506b50c
2011-06-22 12:00:27 -04:00
Ed Morley
a92663ec2a Bug 665388 - Remove unused variable rv from imgLoader::Init; r=joedrew
--HG--
extra : rebase_source : c77c9dea614b89265e9a0bf481dc070237c675f9
2011-06-22 12:00:04 -04:00
Frédéric Wang
d0b0bcd4b5 Bug 407439 - Support for Asana Math font in MathML (add in pref). r=karlt
--HG--
extra : rebase_source : ac0adbd039b28a50ff1e8297a9e3aa53b5fe6c8a
2011-06-22 11:49:41 -04:00
Masayuki Nakano
629e43938d Bug 664917 Add Preferences API for getting default pref values r=roc, feedback=bz 2011-06-22 15:39:10 +09:00
Taras Glek
6300397146 Bug 665805 - Adjust telemetry to work with official metrics server r=Mossop 2011-06-21 14:39:11 -07:00
Boris Zbarsky
75eae9e4e4 Bug 548734. Get rid of the footgun ui.use_native_popup_windows preference. r=roc,khuey 2011-06-21 17:00:47 -04:00
Jeff Muizelaar
4ae7d8aa46 Bug 664290. Lower image.mem.min_discard_timeout_ms. r=joe
Lowering this value to try to keep our working set smaller.
The last choice was arbitrarily large, and we've run into
problems with too many images being kept decoded.

--HG--
extra : rebase_source : d439284d15e231055b1daed02f5d90e3ad9d7c79
2011-06-21 16:44:50 -04:00
Daniel Holbert
8a020aa372 Bug 656244: Finish *all* remaining parsing in SVGDocumentWrapper::OnStopRequest. r=hsivonen 2011-06-21 10:38:44 -07:00
Ehsan Akhgari
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
Steven Michaud
cf03bf9786 Bug 663688 - Temporarily default to turning off downloadable fonts on OS X Lion. r=jdaggett,jfkthame 2011-06-20 10:42:39 -05:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00