WebCrypto: the refactor layout tests.

Cleans up the layout tests to use a more idiomatic pattern for Promises. Before it was using a wrapper to serialize a set of async tests, whereas now it is creating a chain of Promises.

This change also adds some additional tests for algorithm normalization.

BUG=245025
R=abarth@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@156487 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make fast/canvas/draw-custom-focus-ring.html not crash when we turn lazyAttach on for the parser.

This does not appear to change behavior of any test.
I'm not sure what triggers this exactly, but clearly the test
did not depend on focus rings doing anything when the canvas has no renderer.

BUG=276687
R=esprehn

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

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