Commit ad7d15e1 authored by Romain Courteaud's avatar Romain Courteaud

Post real content...

parent 48b8c894
......@@ -16,7 +16,7 @@
};
var handler = function (event) {
console.log(event.origin);
console.log(event.data);
console.log("hello inside handler");
console.log(event);
};
......
......@@ -1108,7 +1108,8 @@
if (key === "topwindow") {
// XXX hardcoded * necessarity to send in case of file URL
// Fix needed!!!
window.top.postMessage(this.body, "*");
window.top.postMessage(this.requestBody, "*");
this.respond(204, {}, "");
} else {
this.respond(404, {}, "");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment