Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom events are not correctly dispatched in Dartium #11192

Closed
DartBot opened this issue Jun 10, 2013 · 5 comments
Closed

Custom events are not correctly dispatched in Dartium #11192

DartBot opened this issue Jun 10, 2013 · 5 comments
Assignees
Labels
closed-obsolete Closed as the reported issue is no longer relevant

Comments

@DartBot
Copy link

DartBot commented Jun 10, 2013

This issue was originally filed by andrejnav...@yahoo.com


What steps will reproduce the problem?
I have noticed that custom events are not correctly dispatched in Dartium.
Steps to reproduce an error are as follows:

  1. Create Web project with dependencies defined in 'pubspec.yaml';
  2. Create 'web' directory and copy attached 'customevents.dart' and
      'customevents.html' files into it;
  3. Select 'customevents.html' file and run it in Dartium;
  4. Note that the exception is thrown:

   Breaking on exception: type 'String' is not a subtype of type 'Person' of 'p'.

Program prints 'Jack' correctly if it is run as JavaScript in Chrome browser.

What is the expected output? What do you see instead?
Program should not throw an exception.

What version of the product are you using? On what operating system?
Dart Editor version 0.5.13_r23552, Dart SDK version 0.5.13.1_r23552
Microsoft Windows [Version 6.1.7601]

Please provide any additional information below.


Attachments:
pubspec.yaml (119 Bytes)
customevents.dart (489 Bytes)
customevents.html (151 Bytes)

@kasperl
Copy link

kasperl commented Jun 11, 2013

Added Area-Dartium, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 11, 2013

This comment was originally written by antonm@google.com


Set owner to @vsmenon.
Added this to the Later milestone.

@DartBot
Copy link
Author

DartBot commented Oct 13, 2013

This comment was originally written by gerald1968...@gmail.com


also occurs on Dartium Version 31.0.1612.0 (219647) (MacOSX 10.8, 10.9)


Attachment:
gwt_contact_sample_modified.zip (5.57 KB)

@DartBot
Copy link
Author

DartBot commented Oct 13, 2013

@vsmenon
Copy link
Member

vsmenon commented Jun 30, 2014

The attached program now prints Jack. I believe this was related to a bug fixed a few months ago.


Added AssumedStale label.

@DartBot DartBot added Type-Defect closed-obsolete Closed as the reported issue is no longer relevant labels Jun 30, 2014
@DartBot DartBot added this to the Later milestone Jun 30, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

3 participants