Carlos would like to use these and we have no reason to not put this into the tree. For safaridriver's purposes, I think we can load these from WebKit2's bundle resources at runtime.
<rdar://problem/32168187>
Ping :-)
Created attachment 315098 [details] Patch
Comment on attachment 315098 [details] Patch r=me, but I have changed my mind about where these should go. It would be better to put these in Source/WebKit2/UIProcess/Automation/atoms/, so they can be bulk copied without having to specify each by name.
Comment on attachment 315098 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=315098&action=review > Source/WebKit2/ChangeLog:16 > + * UIProcess/Automation/ElementAttribute.js: Added. > + (lowercaseAttributeName.string_appeared_here.lowercaseAttributeName.string_appeared_here.switch): > + (tagName.string_appeared_here.lowercaseAttributeName.string_appeared_here): > + (catch): > + * UIProcess/Automation/ElementDisplayed.js: Added. > + (isShown.nodeIsElement): > + (isShown.parentElementForElement): > + (isShown.enclosingNodeOrSelfMatchingPredicate): You can probably stop this to just the file names. I don't think the functions add value here.
> You can probably stop this... I meant strip this =)
Committed r219388: <http://trac.webkit.org/changeset/219388>