Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pageController.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,3 +533,8 @@ function onlyRunOnce(f, t) {
console.info("Joining session #" + remote_slide.session + " as host (" + remote_slide.injector + ")");
status("orange", "question", "");
socket.connect({session: remote_slide.session, role: "host", injector: remote_slide.injector});
// The extension injects this file with scripting.executeScript(), which hands
// the script's last value back to it. Firefox rejects the whole call when that
// value cannot be structured-cloned - as the socket connect() returns cannot -
// and the extension would never go on to load the overlay. So end on a plain value.
undefined;