Improve 'ApplicationCache' exception messages.

Rather than throwing generic 'InvalidStateError' exceptions, we should
add enough detail to allow the developer to diagnose the reasons behind
the throw.

BUG=270033

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156204 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CanvasProfiler] Show resources state during replay in a sidebar.

With this patch users will be able to view current state of any resource (WebGL/2D rendering context, WebGLTexture, WebGLBuffer, etc.) involved into a given replay.

BUG=253854
R=caseq@chromium.org, pfeldman@chromium.org

Review URL: https://codereview.chromium.org/19948003

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