diff options
Diffstat (limited to 'WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm')
-rw-r--r-- | WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm b/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm index d2a6f79..c5d5a90 100644 --- a/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm +++ b/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm @@ -422,7 +422,7 @@ void LayoutTestController::setFrameFlatteningEnabled(bool enabled) void LayoutTestController::setSpatialNavigationEnabled(bool enabled) { - // FIXME: Implement for SpatialNavigation layout tests. + [[[mainFrame webView] preferences] setSpatialNavigationEnabled:enabled]; } void LayoutTestController::setAllowUniversalAccessFromFileURLs(bool enabled) @@ -944,3 +944,8 @@ void LayoutTestController::abortModal() { [NSApp abortModal]; } + +bool LayoutTestController::hasSpellingMarker(int from, int length) +{ + return [mainFrame hasSpellingMarker:from length:length]; +} |