NoScript 5.1.9rc1
new profile
STR:
1) install NoScript
2) install this test WebExtension -
manifest.json
Code: Select all
{
"manifest_version": 2,
"name": "ServiceWorker content script test",
"version": "1",
"author":"barbaz",
"permissions": [
"<all_urls>"
],
"content_scripts": [
{
"js": ["content.js"],
"matches": ["<all_urls>"],
"run_at": "document_idle",
"all_frames": true,
"match_about_blank": true
}
],
"applications": {
"gecko": {
"id": "{e3a8bcb2-637c-4b77-a7c6-89be91615514}"
}
}
}
Code: Select all
if (navigator.serviceWorker) {
navigator.serviceWorker.ready.then((reg) => {
alert('A ServiceWorker is ready.');
});
}
Expected results: alert box
Actual results: Waterfox says "Gah. Your tab just crashed."
Firefox 56.0.2 works as expected, no tab crash. Is this a NoScript issue or a Waterfox issue?