Closed
Bug 810781
Opened 12 years ago
Closed 12 years ago
CSS does not get applied especially when navigation backed
Categories
(Core :: Networking: Cache, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: alice0775, Assigned: michal)
References
Details
(Keywords: regression)
Attachments
(2 files)
Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/cf7575ceef5a
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0 ID:20121111030749
This is a spin-off of Bug 808532.
CSS does not get applied especially when I perform navigation back.
Reproducible: very often
Steps to reproduced:
1. Clear Cache
2. Restart browser
3. Wait for 5 min (maybe necessary)
4. Open http://xboxforums.create.msdn.com/ in new tab and switch to the tab
--- observe the page appearance
5. Click link "Account Management"
--- observe the page appearance
6. Click Back button
--- observe the page appearance
Actual results:
CSS does not get applied
Expected results:
CSS should be applied
Regression window(cached m-c)
Good;
http://hg.mozilla.org/mozilla-central/rev/9677eb19a6a5
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120906054802
Bad:
http://hg.mozilla.org/mozilla-central/rev/233441ff53af
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120906173834
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9677eb19a6a5&tochange=233441ff53af
Regression window(cached m-i)
Good;
http://hg.mozilla.org/integration/mozilla-inbound/rev/48ae6c0a626c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120906062901
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/42777635165a
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/18.0 Firefox/18.0 ID:20120906071302
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=48ae6c0a626c&tochange=42777635165a
Suspected:
c12db325f863 Josh Aas — Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal
Reporter | ||
Updated•12 years ago
|
tracking-firefox18:
--- → ?
tracking-firefox19:
--- → ?
Updated•12 years ago
|
Assignee: nobody → joshmoz
status-firefox17:
--- → unaffected
status-firefox18:
--- → affected
status-firefox19:
--- → affected
Reporter | ||
Comment 1•12 years ago
|
||
set NSPR_LOG_MODULES=timestamp,nsHttp:5,cache:5,nsOfflineCacheUpdate:5,nsHostResolver:5
log with Step 2 to 6 and exit browser.
Reporter | ||
Comment 2•12 years ago
|
||
Before becoming β, I think it is time to back Bug 405407 out .
Michal - can you have a fix soon or should we back out my patch? If we don't have a fix in the next 48 hours we should definitely back my patch out. It isn't worth all this trouble.
Assignee: joshmoz → michal.novotny
Comment 4•12 years ago
|
||
2012-11-16 04:21:21.609000 UTC - 0[2b10140]: nsHttpChannel::ReadFromCache [this=6ebe800] Using cached copy of: http://xboxforums.create.msdn.com/assets/css/main_Default_UpLevel.css?version=3.0.10335
2012-11-16 04:21:21.644000 UTC - 0[2b10140]: nsHttpChannel::OnStartRequest [this=6ebe800 request=13c30830 status=80520012]
Apparently duplicate. I don't have right now time to try the STR (thanks for it btw!), but for a real fix (Josh or Michal are probably more proper to do this) it might be good to test and even try to turn it to an automated test.
Reporter | ||
Comment 5•12 years ago
|
||
I cannot reproduce this problem in Nightly20.a2(hourly build)
http://hg.mozilla.org/mozilla-central/rev/a9d59073400b
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20.0 Firefox/20.0 ID:20121120065452
It seems to be fixed by back out Bug 405407.
status-firefox20:
--- → fixed
This should be resolved with the backout of 405407.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 8•12 years ago
|
||
Marking 18/19 as fixed in that case, and requesting verification.
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
I have found proof that this problem (as reported in comment #1) is caused by something else:
The same .css file can be found at different times with different sizes in the cache: In one case the size is 1789 and in the other 555 bytes. The latter is then gzip'ed.
It seems that the site offers the same file sometimes compressed and sometimes not.
An example
http://xboxforums.create.msdn.com/assets/RadControls/Menu/Scripts/4_4_5/menu.css 1789 bytes 9 2012-11-29 08:43:22 1970-01-01 01:00:00
http://xboxforums.create.msdn.com/assets/RadControls/Menu/Scripts/4_4_5/menu.css 555 bytes 6 2012-11-29 10:06:12 1970-01-01 01:00:00
Cache entry information
key: http://xboxforums.create.msdn.com/assets/RadControls/Menu/Scripts/4_4_5/menu.css
fetch count: 10
last fetched: 2012-11-29 10:15:02
last modified: 2012-11-29 08:43:22
expires: 1970-01-01 01:00:00
Data size: 1789
file on disk: none
Security: This document does not have any security info associated with it.
Client: HTTP
necko:classified: 1
request-method: GET
response-head: HTTP/1.1 200 OK Cache-Control: max-age=0 Content-Type: text/css Last-Modified: Fri, 19 Oct 2012 17:11:24 GMT Accept-Ranges: bytes Etag: "08657c41caecd1:0" Server: Microsoft-IIS/7.0 CommunityServer: 1.0.0.0 P3P: CP="CAO DSP COR CUR ADM TAI PSA IVA IVD CONi OUR IND STA ONL CNT PRE LOC" X-Powered-By: ASP.NET Date: Thu, 29 Nov 2012 07:43:25 GMT Content-Length: 1789
00000000: 2e 72 61 64 6d 65 6e 75 0d 0a 7b 0d 0a 09 77 68 .radmenu..{...wh
00000010: 69 74 65 2d 73 70 61 63 65 3a 6e 6f 77 72 61 70 ite-space:nowrap
00000020: 3b 0d 0a 09 66 6c 6f 61 74 3a 6c 65 66 74 3b 0d ;...float:left;.
00000030: 0a 09 70 6f 73 69 74 69 6f 6e 3a 72 65 6c 61 74 ..position:relat
00000040: 69 76 65 3b 0d 0a 7d 0d 0a 0d 0a 0d 0a 2e 72 61 ive;..}.......ra
00000050: 64 6d 65 6e 75 3a 61 66 74 65 72 20 0d 0a 7b 0d dmenu:after ..{.
00000060: 0a 20 20 20 20 63 6f 6e 74 65 6e 74 3a 20 22 2e . content: ".
00000070: 22 3b 20 0d 0a 20 20 20 20 64 69 73 70 6c 61 79 "; .. display
00000080: 3a 20 62 6c 6f 63 6b 3b 20 0d 0a 20 20 20 20 68 : block; .. h
00000090: 65 69 67 68 74 3a 20 30 3b 20 0d 0a 20 20 20 20 eight: 0; ..
000000a0: 63 6c 65 61 72 3a 20 62 6f 74 68 3b 20 0d 0a 20 clear: both; ..
000000b0: 20 20 20 76 69 73 69 62 69 6c 69 74 79 3a 20 68 visibility: h
000000c0: 69 64 64 65 6e 3b 0d 0a 7d 0d 0a 0d 0a 2e 72 61 idden;..}.....ra
Cache entry information
key: http://xboxforums.create.msdn.com/assets/RadControls/Menu/Scripts/4_4_5/menu.css
fetch count: 7
last fetched: 2012-11-29 10:06:39
last modified: 2012-11-29 10:06:12
expires: 1970-01-01 01:00:00
Data size: 555
file on disk: none
Security: This document does not have any security info associated with it.
Client: HTTP
necko:classified: 1
request-method: GET
request-Accept-Encoding: gzip, deflate
response-head: HTTP/1.1 200 OK Cache-Control: max-age=0 Content-Type: text/css Content-Encoding: gzip Last-Modified: Fri, 19 Oct 2012 17:11:22 GMT Accept-Ranges: bytes Etag: "05926c31caecd1:0" Vary: Accept-Encoding Server: Microsoft-IIS/7.0 CommunityServer: 1.0.0.0 P3P: CP="CAO DSP COR CUR ADM TAI PSA IVA IVD CONi OUR IND STA ONL CNT PRE LOC" X-Powered-By: ASP.NET Date: Thu, 29 Nov 2012 09:05:36 GMT Content-Length: 555
00000000: 1f 8b 08 00 00 00 00 00 04 00 8c 54 3d 8f db 30 ...........T=..0
00000010: 0c 9d 1d 20 ff c1 b8 39 36 72 1d 75 53 81 02 45 ... ...96r.uS..E
00000020: 87 ce 1d 0f b2 a5 c4 44 64 d1 90 e8 24 77 45 ff .......Dd...$wE.
00000030: 7b 25 2b 72 fc 99 4b 32 f9 91 12 df 7b a4 98 1b {%+r..K2....{...
00000040: 2e 6a a9 db ed e6 ef 76 93 5c 2a 20 99 d9 86 97 .j.....v.\* ....
00000050: 92 69 bc 18 de bc 39 f4 a0 90 13 53 f2 40 fe ab .i....9....S.@..
00000060: 41 0b 04 a8 99 91 8a 13 9c a5 03 ff 6d 37 fe 1f A...........m7..
00000070: 2f 63 fc 40 d2 a4 dd 9d a9 fb 95 a8 49 6a 62 e9 /c.@........Ijb.
00000080: 4b fe f2 96 06 4c 80 6d 14 ff 60 69 a1 b0 3c 45 K....L.m..`i..<E
00000090: b4 92 70 ac 5c e2 3e 02 a5 92 dc b8 24 a4 2a 42 ..p.\.>.....$.*B
000000a0: 67 b0 50 80 02 72 87 2b 10 42 ea c8 20 d6 4f 5b g.P..r.+.B.. .O[
000000b0: 95 57 68 e0 d3 d5 e5 6a 37 0e 9c a5 21 28 b9 0a .Wh....j7...!(..
000000c0: 8a 6b 6e 8e a0 d9 be 53 c6 85 00 7d 0c 1f 91 9f .kn....S...}....
000000d0: 46 2d d7 64 27 de 93 90 3e f2 68 4c 26 77 9e d6 F-.d'...>.hL&w..
000000e0: a1 da d7 4e 26 0a 2c 65 96 3e 94 cc a0 e6 47 c9 ...N&.,e.>....G.
000000f0: d2 c8 60 10 e9 4f 62 4b 16 c4 24 1c 38 27 0e 7b ..`..ObK..$.8'.{
00000100: 8f 2a 40 2b d0 0b 9d 4a 07 3e 0d 89 06 db 6f 95 .*@+...J.>....o.
00000110: 27 72 a2 81 f3 fc ae 4b f3 1a ce 74 5e 7a 7d 93 'r.....K...t^z}.
00000120: 4e 18 44 fa 69 b0 6d c2 1d 91 6b 18 88 59 59 ab N.D.i.m...k..YY.
00000130: 9c d0 9d 9b 81 bc 1b a7 2b fd ee c7 b6 b7 83 17 ........+.......
00000140: 16 55 4b 9d 1f e8 78 3a bf 2f ac 9f 91 59 4f df .UK...x:./...YO.
00000150: 6f e3 f6 da 5c 57 7a 38 2b f5 99 81 16 f2 ca 5e o...\Wz8+......^
00000160: f7 fb fd 9c a3 cf 7d 46 0c cf 5d 3b 4e 37 eb 5a ......}F..];N7.Z
00000170: 63 d1 30 21 0f bc 55 34 a4 19 ce 26 77 43 6d 69 c.0!..U4...&wCmi
00000180: 50 a9 3f ee 59 3e d0 3d 9e b1 05 17 fa a1 9d 90 P.?.Y>.=........
00000190: f7 f8 77 63 f0 b2 1b 49 c2 66 0e ba 46 13 d6 73 ..wc...I.f..F..s
000001a0: dc 78 3b 3b f8 01 c1 68 e1 b7 60 61 e2 4d eb 20 .x;;...h..`a.M.
000001b0: b7 21 32 ef ab ac 1f 90 fb 01 96 17 4a 8a 45 92 .!2.........J.E.
000001c0: 8b c1 01 d9 c5 f8 9d 74 0c 8f 5b 18 a7 e5 29 9e .......t..[...).
000001d0: 6b ce 2c 90 18 2e a0 2c c4 59 9a 85 59 5c 50 ff k.,....,.Y..Y\P.
000001e0: cb 6f 83 70 a6 40 23 a4 59 5f 3c a4 86 eb a6 d3 .o.p.@#.Y_<.....
000001f0: 37 0c 2e ac c7 00 8e 57 e3 da e9 d9 3e 0b 29 c9 7......W....>.).
00000200: 28 a7 67 7c bb fe f6 90 9e 90 32 29 b8 ba 2e 42 (.g|......2)...B
00000210: 76 ff 94 1f 2d e0 fb 63 bb 80 a0 8a f1 96 d0 67 v...-..c.......g
00000220: fd 1f 00 33 7c 1a 70 fd 06 00 00 ...3|.p....
Comment 11•12 years ago
|
||
Saw the issue on Nightly 2012-11-12 using the STR in comment 0. Verified fixed on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0b2
Keywords: qawanted
Updated•12 years ago
|
QA Contact: paul.silaghi
Comment 12•12 years ago
|
||
(In reply to Paul Silaghi [QA] from comment #11)
> Saw the issue on Nightly 2012-11-12 using the STR in comment 0. Verified
> fixed on Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101
> Firefox/18.0b2
Verified fixed FF 19b3 Win 7
Comment 13•12 years ago
|
||
Verified fixed FF 20b1 Win 7
You need to log in
before you can comment on or make changes to this bug.
Description
•