Skip to content

SlimerJS not compatible with Firefox 62 #707

Open
@kaosko

Description

@kaosko

versions

SlimerJS: 1.0.0, 1.1.0-pre
Firefox: 62 (59 works ok, up to 61 with a patch for #694)
Operating system:
Ubuntu 16.04.2 LTS

Steps to reproduce the issue

Try to take a screenshot of any webpage with slimer.js

Actual results:

Error during the script execution
[Exception] TypeError: ioService.newChannel is not a function filename:resource://slimerjs/slUtils.jsm line:180

Stack trace:
0:readChromeFile@resource://slimerjs/slUtils.jsm:180:19
launchMainScript@resource://slimerjs/slLauncher.jsm:109:23
startup@chrome://slimerjs/content/slimerjs.js:20:9
onload@chrome://slimerjs/content/slimerjs.xul:1:1

Expected results:

Able to take a screenshot and operate normally.

Besides #694 that affects compatibility with FF 60, 61, FF 62 has apparently removed obsolete (since FF 48) functions newChannel(...) is nsIIOService (https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIIOService) used in slUtils.jsm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions