Side navigation
#14735 closed bug (notabug)
Opened January 28, 2014 06:26PM UTC
Closed January 29, 2014 06:32PM UTC
Last modified February 14, 2014 09:31PM UTC
getUserData() or setUserData() deprecation warning in Firefox
Reported by: | tegskywalker@hotmail.com | Owned by: | tegskywalker@hotmail.com |
---|---|---|---|
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.
Attachments (0)
Change History (4)
Changed January 28, 2014 06:31PM UTC by comment:1
owner: | → tegskywalker@hotmail.com |
---|---|
status: | new → pending |
Changed January 28, 2014 06:57PM UTC by comment:2
I love that message. I will gladly update the data module to use WeakMaps :)
Changed January 29, 2014 06:32PM UTC by comment:3
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.
Changed February 14, 2014 09:31PM UTC by comment:4
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?