Closed Bug 91617 Opened 23 years ago Closed 23 years ago

window.open( ) fails if memory cache is set too small

Categories

(Core :: Networking: Cache, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla0.9.6

People

(Reporter: tarahim, Assigned: gordon)

References

()

Details

(Keywords: regression)

2001071913 trunk for MacOS
Goto URL.
Click one of the images.
Result:No pop up windows show up.
Expected result:Pop up window should show up and then crash (due to bug 89367)
or play video.
This does not happen in 071809 build, which results in crash of bug 89367.
I am aware that there have been a lot of window.open( problems, and there might
be a dupe, but this particular problem started in this build.
WFM in 2001072304 trunk.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
REGRESSION
2001072618trunk for MacOS9.1.
Status: RESOLVED → REOPENED
Keywords: regression
Resolution: WORKSFORME → ---
Summary: window.open( fails. → window.open( fails, again.
The regression occurred in this build but not in yesterday's, therefore the
offending check in must have taken place between 2001072508 and 072618 in trunk.
I have realized that setting memory cache too small causes window.open to fail.
It was set at 16 kb to test another problem.
Changing Summary and downgrading the severity.
Severity: critical → minor
Summary: window.open( fails, again. → window.open( ) fails if memory cache is set too small
window.open() should never rely in any way on the cache, the cache must be doing
something wrong if changing the size of the cache affects how window.open()
works. Over to the cache component.
Assignee: jst → gordon
Status: REOPENED → NEW
Component: DOM Level 0 → Networking: Cache
QA Contact: desale → tever
Couldn't I also say that window.open() must be doing something wrong if changing
the cache size somehow affects its behavior?

It's likely to be an ImgLib problem.  With only a 16kb memory cache, there is
probably a lot of thrashing going on with the image cache.  From my
understanding of ImgLib2, however, I don't think it should fail to draw even if
it can't hold an image in the cache.  Cc'ing Pav for his comments.

While we should break with just a 16kb memory cache, there's probably no point
having one that small.
I have filed several window failure problems including this one and bug 92051,
which ultimately results in bug 73893.
My question is why it can not be made so that some default window is drawn (or
virtually in the backend) and its parameter table updated before Mozilla tries
to gather information to draw the actual window. Since it is listed under Task
menu, some table that keep track of the windows has been updated by the time it
waits for those information, it should not be so difficult.
Severity: minor → normal
An interesting observation.
If I set the memory cache and disk cache = 8192 kbytes in  preferences and click
the "Listen Online" link in http://www.wrni.org or http://www.wbur.org ,
the pop up window is not drawn, but correct window title is listed under task
menu, and the popup window functions correctly with Windows Media Player plugin.
You can select the undrawn window from Task menu and command+W to close it.
If the cache size are much smaller, say 2048 kb each, the pop up window can not
become functional nor window title listed under Task menu.
Target Milestone: --- → mozilla0.9.6
WFM in 2001110612 trunk.
Similar bug is bug 88259, which is WFM, too.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.