Open Bug 1123947 Opened 9 years ago Updated 2 years ago

loadFrameScript seems to do main thread IO

Categories

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

defect

Tracking

()

People

(Reporter: mstange, Unassigned)

References

Details

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.
nsFrameScriptExecutor::TryCacheLoadAndCompileScript

We do cache the scripts so after startup the scripts are just cloned to new tabs etc.
...and that setup is quite similar to mozJSSubScriptLoader.cpp
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.