#14735 closed bug (notabug)
getUserData() or setUserData() deprecation warning in Firefox
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 2.1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I don't know if this is in older versions of Firefox, but in version 26, I get this message in the console when using jQuery 2.1.0:
Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead.
I haven't tested this in Chromium/Chrome, but I wanted to let you know about the warning for 1.11.1 and 2.1.1.
Change History (4)
comment:1 Changed 9 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 9 years ago by
I love that message. I will gladly update the data module to use WeakMaps :)
comment:3 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | pending → closed |
Fun aside, there is not a single use of either getUserData or setUserData in the entire jQuery source, so I'm closing this.
comment:4 Changed 9 years ago by
In case anyone else gets this, I followed the reference error and it was coming from the Adblock Plus addon. For cleanliness, I simply disabled the addon during jQuery development.
Your test case wasn't included, can you attach one?