This pull request introduce changes needed to fix the repl injection in content privileged contexts (e.g. after a repl.enter(content);) on Firefox >= 36 and introduces a basic test suites (which connect a mozrepl instance exposed on the standard 4242 tcp port from a "node + mocha" process) to guard the fix.
The test suites is executed integrated with travis (where it runs on Firefox >= 36 and <= 40.0b8)
NOTE:
jpm dependency is only used to integrate the execution and prefs customization of the firefox instance in the "nodejs + mocha" test suite
on Firefox >= 40, these changes work correctly only if the e10s tabs are disabled (during the test suite runs the preferences are customized using the test/fixtures/test-prefs.json)
This pull request introduce changes needed to fix the repl injection in content privileged contexts (e.g. after a
repl.enter(content);
) on Firefox >= 36 and introduces a basic test suites (which connect a mozrepl instance exposed on the standard 4242 tcp port from a "node + mocha" process) to guard the fix.The test suites is executed integrated with travis (where it runs on Firefox >= 36 and <= 40.0b8)
NOTE:
test/fixtures/test-prefs.json
)