19. Reftests (work in progress)
• HTML
• Port
• Mozilla
https://developer.mozilla.org/en/Creating_reftest-based_unit_tests
• W3C
Tuesday, March 8, 2011
26. DRT API
// from editing/input/emacs-ctrl-o.html
...
if (window.eventSender)
eventSender.keyDown("o", ["ctrlKey"]);
...
// from editing/spelling/.../spelling-attribute-at-child.js
...
var marked = layoutTestController.hasSpellingMarker(1, 2);
...
// from fast/speech/input-onspeechchange-event.html
...
if (window.layoutTestController && window.eventSender) {
layoutTestController.addMockSpeechInputResult(....);
...
Tuesday, March 8, 2011