Open Bug 1456933 Opened 2 years ago Updated 2 years ago

add error page for "allocation size overflow"

Categories

(Developer Documentation :: JavaScript, defect, P3)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: nkharvey, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180416175245

Steps to reproduce:

not sure if this is needed here, but one way to cause this error is the string doubling bomb (from https://stackoverflow.com/q/27511015/1739000):
var a = 'a';
for (var i = 0; i < 100; i++) {
    a += a;
}



Expected results:

I'm requesting a page under https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors to explain the "allocation size overflow" error. What does the allocation size mean (RAM allocated to process? to a particular object?) How big is it (and is this configurable)? Who can use it (e.g. web workers)?
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.