[Webkit-unassigned] [Bug 38434] Use HTML5 number parsing in HTMLProgressElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 3 08:19:18 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38434


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54920|review?                     |review+
               Flag|                            |




--- Comment #4 from Darin Adler <darin at apple.com>  2010-05-03 08:19:18 PST ---
(From update of attachment 54920)
> +try {
>  p.value = "200A";
> -p.max = 100;
> -shouldBe("p.value", "0");
> -shouldBe("p.max", "100");
> -shouldBe("p.position", "0");
> +} catch (e) {
> +debug(e.message);
> +}

The shouldThrow function is a cleaner way to do a test like this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list