Closed Bug 1261434 Opened 8 years ago Closed 2 years ago

32-bit Windows Large JavaScript Resource Not Loaded

Categories

(Core :: JavaScript Engine, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: andrew.suckow, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.57 Safari/537.36

Steps to reproduce:

In a script tag of a local html file, load a large JavaScript file (80+ MB) from local file source.
<script src="data.js"></script>
data.js:
var data = [{...},{...},...];


Actual results:

The referenced file and its JavaScript will not load in recent versions of Firefox on 32-bit Windows (other OSs not tested, but 64-bit Windows 7 of same FF version does NOT have this problem). This bug began occurring recently (confirmed in FF v43,45); the large JavaScript resource previously was loading correctly for 32-bit FF in Windows 7.
There is no error shown in the console about why it doesn't work, the JS resource is just not loaded. If I use a data file around 200KB in size, then it works as expected on 32-bit FF in Windows 7, so it could be a memory mgmt issue for 32-bit systems.
In browser console trying to reference the "data" JS variable:
>> data
>> ReferenceError: data is not defined


Expected results:

The JavaScript object referenced in the script tag should be loaded in the DOM context of that local html file.
In browser console trying to reference the "data" JS variable:
>> data
>> Array [ Object, Object, ... ]
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.