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

window object is not fixed #27

Closed
GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments
Closed

window object is not fixed #27

GoogleCodeExporter opened this issue Mar 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

I'm not sure is it a bug or a feature ;-) ..following:

base2.DOM.bind(document)
window.addEventListener("unload", function () {}, false)

will return "undefined" error in IE (window has not implemented
addEventListener).
I assume that window object is not fixed at all.

I'm using latest base2: Fri, 13 Jul 2007 17:39:33



Original issue reported on code.google.com by marius...@gmail.com on 19 Jul 2007 at 10:23

@GoogleCodeExporter
Copy link
Author

The window object is not really standardised (although the WHATWG are 
specifying it).
I'm changing this to "enhancement".

Original comment by dean.edw...@gmail.com on 21 Jul 2007 at 7:24

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Browser-All, Module-base2.DOM
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

At the moment one can use something like this:
base2.DOM.Element.addEventListener(window, "unload", function () {}, false);

Original comment by ffreak@gmail.com on 1 Aug 2007 at 9:18

@GoogleCodeExporter
Copy link
Author

I'm changing this "WontFix". The window object is not part of the DOM and it is 
not a
standard object.

Original comment by dean.edw...@gmail.com on 10 Aug 2007 at 4:57

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant