Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

window object is not fixed #27

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

window object is not fixed #27

GoogleCodeExporter opened this issue Aug 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: Browser-All, Module-base2.DOM, Type-Enhancement
  • 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant