Bug 1592839 - Add new inline script in test document doc-scripts.html r=Honza

Adding this new inline scripts avoids frequent timeouts for browser_dbg-breakpoints-reloading.js

Differential Revision: https://phabricator.services.mozilla.com/D73231
This commit is contained in:
Julian Descottes 2020-05-01 09:25:44 +00:00
Родитель 08758993f7
Коммит 92ac7d30b9
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -25,6 +25,11 @@
// This is a second inline script element whose breakpoints won't be
// known until after the script element has been added.
var x = 3;
// XXX: This second inline script is only here to avoid intermittent
// failures on browser_dbg-breakpoints-reloading.js which occur when we
// try to set a breakpoint on the line `var x = 3;` above.
// See Bug 1592839.
inline_script2 = function () { var x = 5; };
</script>
</body>
</html>