[webkit-reviews] review granted: [Bug 28899] WebKit should broadcast an MSAA event when jumping to a named anchor : [Attachment 39565] DRT changes, layout test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 14 12:53:34 PDT 2009
Adam Roben (aroben) <aroben at apple.com> has granted Jon Honeycutt
<jhoneycutt at apple.com>'s request for review:
Bug 28899: WebKit should broadcast an MSAA event when jumping to a named anchor
https://bugs.webkit.org/show_bug.cgi?id=28899
Attachment 39565: DRT changes, layout test
https://bugs.webkit.org/attachment.cgi?id=39565&action=review
------- Additional Comments from Adam Roben (aroben) <aroben at apple.com>
> + function test()
> + {
> + if (window.layoutTestController)
> + document.getElementById("notDRT").style.visibility =
"hidden";
> +
> + accessibilityController.logScrollingStartEvents();
> + layoutTestController.waitUntilDone();
> + layoutTestController.dumpAsText();
> + setTimeout(scrollToAnchor, 0);
> + }
> +
> + function scrollToAnchor()
> + {
> + if (window.eventSender) {
> + var input = document.getElementById('ANCHORLINK');
> + var x = input.offsetLeft;
> + var y = input.offsetTop;
> + eventSender.mouseMoveTo(x, y);
> + eventSender.mouseDown();
> + eventSender.mouseUp();
> + }
> +
> + layoutTestController.notifyDone();
> + }
This will throw a bunch of JS exceptions when window.layoutTestController or
window.accessibilityController don't exist.
r=me
More information about the webkit-reviews
mailing list