loadFrameScript seems to do main thread IO

NEW
Unassigned

Status

()

Core
DOM
3 years ago
25 days ago

People

(Reporter: mstange, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
After adding two loadFrameScript calls to Talos, (at http://hg.mozilla.org/build/talos/annotate/8ef116144662/talos/pageloader/chrome/pageloader.js#l213 ), our Talos xperf main thread IO test complains that these files are being accessed on the main thread. This caused us to revert to a previous Talos revision in bug 1123852.

I don't have call stacks for these file accesses.

Comment 1

3 years ago
nsFrameScriptExecutor::TryCacheLoadAndCompileScript

We do cache the scripts so after startup the scripts are just cloned to new tabs etc.

Comment 2

3 years ago
...and that setup is quite similar to mozJSSubScriptLoader.cpp
See Also: → bug 1412114
You need to log in before you can comment on or make changes to this bug.