WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
98370
[GTK] accessibility/loading-iframe-sends-notification.html is failing
https://bugs.webkit.org/show_bug.cgi?id=98370
Summary
[GTK] accessibility/loading-iframe-sends-notification.html is failing
Zan Dobersek
Reported
2012-10-04 00:41:56 PDT
accessibility/loading-iframe-sends-notification.html is failing on all GTK platforms.
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&tests=accessibility%2Floading-iframe-sends-notification.html
Attachments
Patch
(6.91 KB, patch)
2013-09-10 08:13 PDT
,
Denis Nomiyama (dnomi)
no flags
Details
Formatted Diff
Diff
Patch
(7.10 KB, patch)
2013-09-10 09:55 PDT
,
Denis Nomiyama (dnomi)
no flags
Details
Formatted Diff
Diff
Patch
(7.11 KB, patch)
2013-09-10 10:08 PDT
,
Denis Nomiyama (dnomi)
no flags
Details
Formatted Diff
Diff
Patch
(7.02 KB, patch)
2013-09-10 10:26 PDT
,
Denis Nomiyama (dnomi)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Denis Nomiyama (dnomi)
Comment 1
2013-09-10 08:13:13 PDT
Created
attachment 211203
[details]
Patch This patch requires
bug 70606
chris fleizach
Comment 2
2013-09-10 09:08:49 PDT
Comment on
attachment 211203
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211203&action=review
> Source/WebCore/ChangeLog:10 > + No new tests are required because this feature will use an existing a11y
I'm not a fan of using a11y to describe accessibility, since it's a colloquialism that may not be familiar to the casual observer
> Source/WebCore/accessibility/atk/AXObjectCacheAtk.cpp:169 > + else if (notification == AXInvalidStatusChanged)
we should think about changing this if/else chain to a switch statement in the future
Mario Sanchez Prada
Comment 3
2013-09-10 09:37:38 PDT
Comment on
attachment 211203
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211203&action=review
> Source/WebCore/dom/Document.cpp:2463 > +#if PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK)
You probably want to comment on
bug 112003
to let them that EFL platform might be just a single step away from fixing that bug (that is, adding here PLATFORM(EFL)). Not saying that you add it now, though.
> Source/WebCore/page/FrameView.cpp:1315 > +#if PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK)
Ditto.
> Tools/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:109 > + if (!g_strcmp0(g_value_get_string(¶mValues[1]), "layout-complete"))
I agree with Chris we might eventually switch into a "switch" statement, but in the meantime I would use here an "else if" for consistency with the rest of the code.
Denis Nomiyama (dnomi)
Comment 4
2013-09-10 09:55:22 PDT
Created
attachment 211209
[details]
Patch Many thanks for the review. Modified the patch according to the comments.
chris fleizach
Comment 5
2013-09-10 09:56:33 PDT
Comment on
attachment 211209
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211209&action=review
> Tools/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:109 > + if (!g_strcmp0(g_value_get_string(¶mValues[1]), "layout-complete"))
this should also be else if
Denis Nomiyama (dnomi)
Comment 6
2013-09-10 10:05:18 PDT
Comment on
attachment 211209
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211209&action=review
>> Tools/DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:109 >> + if (!g_strcmp0(g_value_get_string(¶mValues[1]), "layout-complete")) > > this should also be else if
Ops. I will fix it.
Denis Nomiyama (dnomi)
Comment 7
2013-09-10 10:08:36 PDT
Created
attachment 211210
[details]
Patch Modified the patch according to the review.
WebKit Commit Bot
Comment 8
2013-09-10 10:14:22 PDT
Comment on
attachment 211210
[details]
Patch Rejecting
attachment 211210
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 211210, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit /Volumes/Data/EWS/WebKit/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output:
http://webkit-queues.appspot.com/results/1735567
Denis Nomiyama (dnomi)
Comment 9
2013-09-10 10:26:04 PDT
Created
attachment 211213
[details]
Patch Mistakenly the line with the reviewer name was missing in the ChangeLog. Fixed it.
WebKit Commit Bot
Comment 10
2013-09-10 10:54:50 PDT
Comment on
attachment 211213
[details]
Patch Clearing flags on attachment: 211213 Committed
r155456
: <
http://trac.webkit.org/changeset/155456
>
WebKit Commit Bot
Comment 11
2013-09-10 10:54:54 PDT
All reviewed patches have been landed. Closing bug.
Joanmarie Diggs
Comment 12
2013-10-17 10:28:39 PDT
Comment on
attachment 211213
[details]
Patch Sorry for just now catching this, but.... + } else if (notification == AXLayoutComplete) + g_signal_emit_by_name(axObject, "state-change", "layout-complete", true); There's no such "state-change" event called "layout-complete." As a result, AT-SPI2 is now complaining, and Orca is becoming non-responsive. I will see if there's a way to detect and not get hung up over bogus events. In the meantime, could you please fix this? Assuming that layout complete is not the same thing as load complete, the immediate fix would be to not emit this signal at all -- at least not until the signal is added to ATK. But if layout complete is the same thing as load complete, then you could emit that signal on the document interface. See
https://developer.gnome.org/atk/unstable/AtkDocument.html#AtkDocument.signals
Joanmarie Diggs
Comment 13
2013-10-17 10:29:07 PDT
Reopening because this "fix" just breaks stuff for ATs.
Mario Sanchez Prada
Comment 14
2013-10-18 02:04:26 PDT
I'm "resolving" this bug again, as this issue will be tracked down by
bug 122970
instead.
Mario Sanchez Prada
Comment 15
2013-10-18 03:55:46 PDT
(In reply to
comment #12
)
> [...] > Assuming that layout complete is not the same thing as load complete, the > immediate fix would be to not emit this signal at all -- at least not until > the signal is added to ATK.
At the moment, the only AtkObject that implements AtkDocument is the one wrapping the webArea AccessibilityObject: // Document if (role == WebAreaRole) interfaceMask |= 1 << WAI_DOCUMENT; So, even though I agree AXLayoutComplete is not the same than AXLoadComplete (in WebCore's jargon), the signal AtkDocument::load-complete will serve well anyway to implement the needed stuff in DRT/WKTR that we need to pass this test. After all, the test is called "loading-iframe-sends-notification", doesn't have nothing to do with completing the layout process.
> But if layout complete is the same thing as load complete, then you could > emit that signal on the document interface. See >
https://developer.gnome.org/atk/unstable/AtkDocument.html#AtkDocument.signals
It is not, but as I said above, the AtkDocument::load-complete signal will serve us well in this case. Denis is currently working in a patch now to do the right thing here, and will hopefully be ready today.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug