https://bugzilla.wikimedia.org/show_bug.cgi?id=68048
--- Comment #3 from Alex Monk <[email protected]> --- <Krenair> So we're not destroying the surface, because the SaveDialog closing promise doesn't get resolved <Krenair> it's rejected with "Cannot close window: window already closing with different data" <TrevorParscal> Krenair: that's not good <TrevorParscal> Krenair: have you identified why it doesn't get resolved? <Krenair> Not past that error, yet <Krenair> Even if I check !this.saveDialog.getManager().isClosing() before trying to this.saveDialog.close() it does that <Krenair> It's fine if I check !this.saveDialog.getManager().closing instead though <Krenair> well, then I get "Uncaught TypeError: Cannot read property 'getComputedStyle' of undefined", but the surface is torn down <Krenair> TrevorParscal, want to investigate further? <TrevorParscal> that's to do with removing the window from the dom before it's done with teardown <TrevorParscal> I added code in my rewrite which used promises in init to wait for the window to close before removing things, I saw that same error <TrevorParscal> maybe I missed something? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
