Refactor setTimeout() in several files to avoid triggering eval() assertion.
Categories
(Core :: DOM: Security, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: jallmann, Assigned: jallmann)
References
(Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-backlog1])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Several occurences of setTimeout() can be refactored to be passed anonymous functions instead of string literals. This way, they don't trigger the eval()-assertion from Bug 1473549 and the respective files can be removed from the whitelist for this assertion.
The affected files are:
https://searchfox.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/TestRunner.js
https://searchfox.org/mozilla-central/source/layout/base/tests/chrome/file_bug1018265.xul
https://searchfox.org/mozilla-central/source/toolkit/mozapps/downloads/HelperAppDlg.jsm
Assignee | ||
Comment 1•6 years ago
|
||
Refactor several occurences of setTimeout()
to avoid triggering the eval()
assertion.
Assignee | ||
Updated•6 years ago
|
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9847a8b2005e
Remove several files from eval()-assertion whitelist, r=ckerschb
Comment 3•6 years ago
|
||
bugherder |
Description
•