https://bugzilla.wikimedia.org/show_bug.cgi?id=65373

Krinkle <krinklem...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krinklem...@gmail.com

--- Comment #5 from Krinkle <krinklem...@gmail.com> ---
Most likely, such as was with Ia7db42b7727b8ca16ae, this is one of three
things:

1) We're giving the DOM or jQuery garbage, and previous versions silently just
assumed stupidity and used a default. Now it's throwing the garbage back at us.
In case of Ia7db42b77, we passed a VeDmDocument object as second parameter to
$() for creating a new <div>. That was a nonsensical function call. It
defaulted to the global Document. In many cases this would never be merged as
that would obviously conflict with iframes, but it happened to be right one
here.

* We're relying on an undocumented behaviour (e.g. an old bug, or feature was
that really just tolerance or coincidence). E.g. weird code was written, it
code worked, got shipped. A good example is eg. doing something like:
 .css( 'font-size', '100potatoes' )
or
 .css( 'font-size', '100pxlz' )

Maybe it previously used parseFloat to strip off 'px' and just assumed it was
px, and changed to stripping only 'px' and passing on to the DOM without taking
the blame for it and we'd now be getting weird exceptions.

(example, afaik this was not an actual change).

2) We're relying on something that was intentionally changed. Happy reading:

 http://blog.jquery.com/2013/01/15/jquery-1-9-final
 http://blog.jquery.com/2013/02/04/jquery-1-9-1-released/
 http://blog.jquery.com/2013/05/24/jquery-1-10-0
 http://blog.jquery.com/2013/05/30/jquery-1-10-1
 http://blog.jquery.com/2013/07/03/jquery-1-10-2
 http://blog.jquery.com/2014/01/24/jquery-1-11
 http://blog.jquery.com/2014/05/01/jquery-1-11-1
 http://jquery.com/upgrade-guide/1.9/

3) Oh my, jQuery can have new bugs?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to