editing/pasteboard/copy-standalone-image-crash.html does:
* eventSender.contextClick()
* enumerates the actionitems
* looks for an item with title == "Copy Image"; if found, calls click() on it
* passes if there's no crash
The problem is that it passes if "Copy Image" is not found, which it isn't, for multiple reasons. For one, all of the actionitems are strings, so they have no .title or .click(). For another, "Copy Image" is nowhere to be seen:
"Back"
"Reload Page"
"Open in Dashbaord"
"<separator>"
"View Source"
"Save Page As"
"Print Page"
"Inspect Element"
This is from kNonEditableMenuStrings in content/shell/test_runner/event_sender.cc
Note "Dashbaord" because are are awesome.
Comment 1 by jsb...@chromium.org
, Jul 12 2017