Implement setPluginsEnabled in window.internals and remove duplicated code from WebKitTestRunner and DumpRenderTree.
This is an API on Mac, and likely such on most mature platforms. I think that it is helpful and not costly to test through WebKit layer because of that.
(In reply to comment #1) > This is an API on Mac, and likely such on most mature platforms. I think that it is helpful and not costly to test through WebKit layer because of that. Agreed. I'll also mark this as a duplicate of bug 58593. That bug better follows your thinking. I also sent a patch to it. *** This bug has been marked as a duplicate of bug 58593 ***