mozrepl icon indicating copy to clipboard operation
mozrepl copied to clipboard

Error "Exposing privileged or cross-origin callable is prohibited"

Open Logioniz opened this issue 8 years ago • 1 comments

A number of harmless commands leads to such error: "Exposing privileged or cross-origin callable is prohibited"

$ nc localhost 4242

Welcome to MozRepl.

 - If you get stuck at the "...>" prompt, enter a semicolon (;) at the beginning of the line to force evaluation.
 - If you get errors after every character you type, see http://github.com/bard/mozrepl/wikis/troubleshooting (short version: stop using Microsoft telnet, use netcat or putty instead)

Current working context: chrome://browser/content/browser.xul
Current input mode: syntax

repl> content.location.href="https://ya.ru";
"https://ya.ru"
repl> repl.enter(content)
[object Window] - {close: function() {...}, stop: function() {...}, focus: function() {...}, blur: function() {...}, open: function() {...}, alert: function() {...}, confirm: function() {...}, ...}
repl> repl.back()
!!! Error: Exposing privileged or cross-origin callable is prohibited

Details:


repl>

I think that this is bug. What can you say about this problem?

Logioniz avatar Jan 20 '17 16:01 Logioniz

same thing here!

Too bad, because It think it's such a nice tool! And I'd love to use it more often.... Would be really, really nice if that could be fixed..

m-bock avatar May 25 '17 07:05 m-bock