Side navigation
#14525 closed bug (notabug)
Opened November 08, 2013 10:19AM UTC
Closed November 10, 2013 06:52PM UTC
removeAttr() causes to send an unexpected request on Firefox
Reported by: | nkzawa | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a page has a base tag, $('img').removeAttr('src') sends an unexpected request to the base URI on Firefox, that is because removeAttr() sets empty strings before removing src attributes.
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=444931
Attachments (0)
Change History (1)
Changed November 10, 2013 06:52PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Why are you trying to remove the
src
attribute? It's mirrored in thesrc
property which is why the assignment to""
is required in some browsers. Don't try to remove DOM0 attroperties.