[Webkit-unassigned] [Bug 72715] Implement AccessKeyLabel attribute.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 5 21:19:41 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72715
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #117549|review+ |review-
Flag| |
--- Comment #28 from Alexey Proskuryakov <ap at webkit.org> 2011-12-05 21:19:41 PST ---
(From update of attachment 117549)
Ah right. You can do something like this for cross-platofrm results:
if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
expected = "⌥A";
else
expected = "Alt+A";
shouldBe("input_item.accessKeyLabel",'expected');
Looking at this part of the test closely, I noticed that you're missing quotes in Mac case (evaluating 'ââ¥A' will give an error).
--
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