setAttribute's documentation is confusing. It is actually doing a completely different thing.
Created attachment 98173 [details] Patch
Comment on attachment 98173 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=98173&action=review > Source/WebCore/inspector/Inspector.json:883 > + { "name": "text", "type": "string", "description": "Text with a number of attributes. Will parse this text using HTML parser." } We should be explicit about what should happen to the existing attributes with same names should the text contain such attributes.
Committed r89439: <http://trac.webkit.org/changeset/89439>