Skip to content
Snippets Groups Projects
Commit 311bddee authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Debug messages for the relay.

parent 907043f2
No related branches found
No related tags found
No related merge requests found
......@@ -44,20 +44,14 @@
};
var ipServer = "https://browserid.org",
transaction,
origin,
chan = Channel.build( {
window: window.parent,
origin: "*",
scope: "mozid"
} ),
transaction,
origin;
} );
chan.bind("getVerifiedEmail", function(trans, s) {
origin = trans.origin;
trans.delayReturn(true);
transaction = trans;
});
window.register_dialog = function(callback) {
// register the dialog, tell the dialog what the origin is.
......@@ -78,4 +72,14 @@
}
}
};
console.log('adding browserid_relay functions');
chan.bind("getVerifiedEmail", function(trans, s) {
origin = trans.origin;
trans.delayReturn(true);
transaction = trans;
});
}());
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment