[Webkit-unassigned] [Bug 36683] For compatibility, execCommand should support deprecated 'useCSS' alias for 'styleWithCSS'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 13 15:41:46 PDT 2011


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





--- Comment #39 from Ryosuke Niwa <rniwa at webkit.org>  2011-09-13 15:41:46 PST ---
(In reply to comment #36)
> Do you know which shouldBe macro it is? I was looking at LayoutTest/fast/js/resources/js-test-pre.js and the shouldBe function seemed to require that both arguments be strings. Here, we are trying to test that it is the boolean true/false as opposed to strings. The (===) is to avoid JS's notorious type coercions.

shouldBe evaluates both strings and then compare so shouldBe('true', '1 == 1') will PASS.

-- 
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