Open amkhullar opened 5 years ago
Launch the Slimer Server from windows cmd line as below:
C:\slimerjs-1.0.0>slimerjs.bat slimer.js
"SLIMERJSLAUNCHER is set to C:\Program Files\Mozilla Firefox\firefox.exe" 1558933328443 addons.xpi WARN List of valid built-in add-ons could not be parsed.: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: startup :: line 2202" data: no] Stack trace: startup()@resource://gre/modules/addons/XPIProvider.jsm:2202 callProvider()@resource://gre/modules/AddonManager.jsm:204 _startProvider()@resource://gre/modules/AddonManager.jsm:655 startup()@resource://gre/modules/AddonManager.jsm:811 startup()@resource://gre/modules/AddonManager.jsm:2804 observe()@resource://gre/modules/addonManager.js:65 1558933328457 addons.xpi WARN No list of valid system add-ons found. Error during the script execution [Exception] [Exception... "Not enough arguments [nsIIOService.newChannel]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: resource://slimerjs/slUtils.jsm :: readChromeFile :: line 180" data: no] line:180
Stack trace: 0:readChromeFile@resource://slimerjs/slUtils.jsm:180:29 launchMainScript@resource://slimerjs/slLauncher.jsm:109:31 startup@chrome://slimerjs/content/slimerjs.js:20:20 onload@chrome://slimerjs/content/slimerjs.xul:1:1
It should not crash.
SlimerJS does not work on Firefox 67, nor is it likely to do so any time soon. The core APIs which SlimerJS uses seem to have been totally removed around Firefox 62.
versions
Steps to reproduce the issue
Launch the Slimer Server from windows cmd line as below:
C:\slimerjs-1.0.0>slimerjs.bat slimer.js
Actual results:
"SLIMERJSLAUNCHER is set to C:\Program Files\Mozilla Firefox\firefox.exe" 1558933328443 addons.xpi WARN List of valid built-in add-ons could not be parsed.: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: startup :: line 2202" data: no] Stack trace: startup()@resource://gre/modules/addons/XPIProvider.jsm:2202 callProvider()@resource://gre/modules/AddonManager.jsm:204 _startProvider()@resource://gre/modules/AddonManager.jsm:655 startup()@resource://gre/modules/AddonManager.jsm:811 startup()@resource://gre/modules/AddonManager.jsm:2804 observe()@resource://gre/modules/addonManager.js:65 1558933328457 addons.xpi WARN No list of valid system add-ons found. Error during the script execution [Exception] [Exception... "Not enough arguments [nsIIOService.newChannel]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: resource://slimerjs/slUtils.jsm :: readChromeFile :: line 180" data: no] line:180
Stack trace: 0:readChromeFile@resource://slimerjs/slUtils.jsm:180:29 launchMainScript@resource://slimerjs/slLauncher.jsm:109:31 startup@chrome://slimerjs/content/slimerjs.js:20:20 onload@chrome://slimerjs/content/slimerjs.xul:1:1
Expected results:
It should not crash.