6×10 title spoiler? Jafar in Storybrooke by the end of the episode and a wish that comes back to bite people in the ass?
If there’s a wish to bring Robin back done with the genie lamp (Aladdin has it in 6×08), that means the rules of magic are going to be severely broken, and some people will end up paying the price for it.
And maybe that’s the reason Emma is having this vision of her impending death?
We’re also supposed to find out in this episode who is under the hood.
If they’re really going to respect the canon of OUATIW, Jafar’s whole endgame was to have enough power in the genie lamp to be able to break the rules of magic to bring people back from the dead, in that plot there were 3 different genies that were brothers and had been “cursed” to be genies for refusing to pay the price to save their mother from death, and he eventually succeeded in getting three wishes from the three different genies so he could raise an undead army basically and then kill his father (it’s a bit more complicated there but it’s been a while since I watched OUATIW and my memory’s a bit fuzzy); anyway, if like A&E said this plot with Jafar is happening before the events of OUATIW, maybe one of the reasons he hates Aladdin is because his lamp’s Genie actually was powerful enough to break that rule of magic and bring someone back from the dead, and Aladdin hid it from him so he couldn’t use it (and also maybe why he is a Savior?)
So I do think it’s likely that Aladdin’s lamp will come into play and I don’t think the theory that Regina (or EQ?) wishes Robin to come back from the dead is that far-fetched, I think it would be a good way to tie into the OUATIW storyline, again if they were serious about them still considering OUATIW canon.

