-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevantlibrary-htmltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
This issue was originally filed by [email protected]
What steps will reproduce the problem?
- Set a MessageEvent listener: window.onMessage.listen((MessageEvent e) { /* Verify source here */ });
- Open a window: newWindow = window.open("some_page.html", "");
- newWindow sends a message back to its opener: window.opener.postMessage("Message.", "*");
- Source verification (newWindow == e.source) returns TRUE on Dart, but FALSE on JavaScript build.
What is the expected output? What do you see instead?
JavaScript build must work as Dart does (expected TRUE on both cases).
What version of the product are you using?
Dart Editor version 1.8.0.dev_04_06 (DEV)
Dart SDK version 1.8.0-dev.4.6
On what operating system?
Linux: Debian Testing (Jessie) - 3.16.0-4-amd64
What browser (if applicable)?
Chrome and Iceweasel (Firefox).
Please provide any additional information below.
No additional information.
felipefv
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevantlibrary-htmltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)