[Webkit-unassigned] [Bug 130037] New: Web Inspector: Feature check for accessibility support before using it (DOMAgent.getAccessibilityPropertiesForNode)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 10 14:08:17 PDT 2014


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

           Summary: Web Inspector: Feature check for accessibility support
                    before using it
                    (DOMAgent.getAccessibilityPropertiesForNode)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, jcraig at apple.com,
                    joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


DOMAgent.getAccessibilityPropertiesForNode won't exist on iOS 6 and 7 remote inspector backends. It looks like our frontend will add UI and unconditionally ask for accessibility information. This will throw an exception inspecting an iOS 6 or iOS 7 device and cause issues.

I think Views/DOMNodeDetailsSidebarPanel.js should add an "_accessibilitySupported() { return !!DOMAgent.getAccessibilityPropertiesForNode; }" function, and only add the UI / refresh accessibility when it is supported.

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