CSSGrammar.y: Fix error recovery for invalid @import rule

The change removes the "import" nonterm from block_rule_body and from invalid_rule.

The import recovery is removed from invalid_rule because if it is not paired with a valid rule, the grammar incorrectly recovers in block_rule_body (it finds "{}" but not ";", which is described in the "import" nonterm).

BUG=321540

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162623 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Correctly resolve empty script URLs in Worker constructors.

When creating workers via thei constructors, the spec permits empty
strings to be given to the URL resolution step,

  http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#dedicated-workers-and-the-worker-interface
  (or http://dev.w3.org/html5/workers/#dedicated-workers-and-the-worker-interface .)
  [ The shared worker case just below has the same resolution step. ]

Resolving such an URL should result in the base URL being
returned. Align with this, and drop restriction on the string having
to be non-empty. This mirrors how Gecko, Trident and Presto behaves.

It also aligns with how importScripts() behaves when resolving its
arguments.

R=
BUG=301575

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162624 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve HTMLOptionsCollection exception messages.

BUG=270033

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162625 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[DevTools] Extract ScreencastFrameMetadata in protocol.json.

Step 2 of 3.

BUG=318188

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

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