Open Bug 1029124 Opened 6 years ago Updated 9 months ago

Cap the size of window that can be specified by window.open

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: kairo, Unassigned)

References

Details

bsmedberg asked me in bug 1011864 comment #17 to file a bug on catching the large OOM cases discussed there already on the DOM level so we can hopefully react in a better way than just OOM-crashing.

See the discussion in that bug for more details.
Wasn't about the OOM per-se, just that we allow the page to request an unreasonable window size:

width=9999999999,height=9999999999

We should cap this at something reasonable before we open the window.
Summary: Catch large OOM at DOM level before hitting PushClipsToDT → Cap the size of window that can be specified by window.open
OS: Linux → All
Hardware: x86_64 → All
Priority: -- → P5
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.