[Webkit-unassigned] [Bug 30997] [Gtk] Implement AtkDocument's attribute support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 2 03:09:29 PST 2009


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


Jan Alonzo <jmalonzo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #42301|review?                     |review-
               Flag|                            |




--- Comment #3 from Jan Alonzo <jmalonzo at gmail.com>  2009-11-02 03:09:29 PDT ---
(From update of attachment 42301)
Thanks for writing the test.

> diff --git a/LayoutTests/accessibility/document-attributes-expected.txt b/LayoutTests/accessibility/document-attributes-expected.txt
> new file mode 100644
> index 0000000..863339f
> --- /dev/null
> +++ b/LayoutTests/accessibility/document-attributes-expected.txt
> @@ -0,0 +1 @@
> +Passed

Is the result platform-specific? If so, we should put the -expected.txt into
the platform-specific folders. See "add-platform-exceptions" option of
run-webkit-tests to generate a platform-specific expected result.

> --- a/WebKitTools/DumpRenderTree/mac/AccessibilityUIElementMac.mm
> +++ b/WebKitTools/DumpRenderTree/mac/AccessibilityUIElementMac.mm
> @@ -577,3 +577,13 @@ JSStringRef AccessibilityUIElement::accessibilityValue() const
>      // FIXME: implement
>      return JSStringCreateWithCharacters(0, 0);
>  }
> +
> +JSStringRef AccessibilityUIElement::documentEncoding()
> +{
> +    return JSStringCreateWithCharacters(0, 0);
> +}
> +
> +JSStringRef AccessibilityUIElement::documentURI()
> +{
> +    return JSStringCreateWithCharacters(0, 0);
> +}
> diff --git a/WebKitTools/DumpRenderTree/win/AccessibilityUIElementWin.cpp b/WebKitTools/DumpRenderTree/win/AccessibilityUIElementWin.cpp
> index 2a8eaf6..89e9a5c 100644
> --- a/WebKitTools/DumpRenderTree/win/AccessibilityUIElementWin.cpp
> +++ b/WebKitTools/DumpRenderTree/win/AccessibilityUIElementWin.cpp
> @@ -392,3 +392,14 @@ JSStringRef AccessibilityUIElement::accessibilityValue() const
>  
>      return JSStringCreateWithCharacters(value.data(), value.length());
>  }
> +
> +
> +JSStringRef AccessibilityUIElement::documentEncoding()
> +{
> +    return JSStringCreateWithCharacters(0, 0);
> +}
> +
> +JSStringRef AccessibilityUIElement::documentURI()
> +{
> +    return JSStringCreateWithCharacters(0, 0);
> +}

Since Mac & Win are stubbed, I think this test will need to be added to Mac &
Win's Skipped list (see LayoutTests/platform/{mac,win}/Skipped). Ditto with Qt.

You also missed the impl for Qt :).

r- for now until the above points are addressed.

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