Posts

Showing posts from December 30, 2018

alert blocks cross window communication in IE

Image
0 I do have implemented a cross window communication in javascript between a parent-window and an iframe-window. Everything works perfectly, but as soon as an alert-window gets opened on the parent-window, within a timeout: setTimeout(function() { alert('test'); }, 100); the communication from the iframe-window to the parent-window is blocked until I do close the alert-window. If the alert gets opened not within a timeout, not the communication between the iframe and the window gets blocked, but only the alert itself, what would be fine for me. Has somebody made the same experience and how could this be solved ? My code is very simple: window (parent) window.addEventListener('message', receiveMessageFromIFrameFunc); iframe.postMessage( textJson, '*'); iframe window.addEv

What does “his warm weight” refer to in this context?

Image
1 Dumbledore began to tell Sirius everything Barty Crouch had said. Harry was only half listening. So tired every bone in his body was aching, he wanted nothing more than to sit here, undisturbed, for hours and hours, until he fell asleep and didn't have to think or feel anymore. There was a soft rush of wings. Fawkes the phoenix had left his perch, flown across the office, and landed on Harry's knee. “'Lo, Fawkes,” said Harry quietly. He stroked the phoenix's beautiful scarlet-and-gold plumage. Fawkes blinked peacefully up at him. There was something comforting about his warm weight . Dumbledore stopped talking. He sat down opposite Harry, behind his desk. He was looking at Harry, who avoided his eyes. Dumbledore was going to question him. He was going to make Harry re