[DevTools] Add JSDocs to utilities.js and fix discovered problems.

It turns out that String.escapeForRegExp doesn't work.
Bonus: type coverage increased by 0,2%.

BUG=

Review URL: https://chromiumcodereview.appspot.com/18659003

git-svn-id: svn://svn.chromium.org/blink/trunk@153665 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Node::setNodeValue does not throw an exception.

We should stop claiming that it does in the implementation and IDL file.

BUG=240693

Review URL: https://chromiumcodereview.appspot.com/16728002

git-svn-id: svn://svn.chromium.org/blink/trunk@153666 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CanvasProfiler] Remove Canvas.getResourceInfo protocol method.

Instead add to the TraceLog response info about all contexts.

BUG=None
R=pfeldman

Review URL: https://chromiumcodereview.appspot.com/18040005

git-svn-id: svn://svn.chromium.org/blink/trunk@153667 bbb929c8-8fbe-4397-9dbb-9b2b20218538