Refactoring: Remove HTMLImportResourceOwner

This change HTMLImportResourceOwner with ResourceOwner,
a generic version of it. ResourceOwner was actually
introduced as a generalized version of HTMLImportResourceOwner
but hasn't been used here. It's time to replace it.

TEST=none
BUG=none
R=tkent,haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165742 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSP: Fire 'load' events even when blocking loads via 'frame-src'.

If we fire a 'load' event, the frame looks just like any other
cross-origin load that succeeded. If we don't fire a 'load' event,
timing attacks can gain knowledge about the URL in the frame by blocking
the URL in a page's CSP, and waiting long enough to be sure that a 'load'
event _would_ have fired if the load wasn't blocked.

R=japhet@chromium.org, jochen@chromium.org

This is a re-land of https://src.chromium.org/viewvc/blink?view=rev&revision=165587
which was reverted due to a browser_test failure. Carrying over japhet's
LGTM from https://codereview.chromium.org/143323012, TBRing the reverter.

TBR=eustas@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165743 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devtools: Unused variable this._stepping in SourcePanel was removed

BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165744 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Change the color of weak references in heap snapshot

Make it similar to the color of internal refs, not the color of user properties.

R=yurys@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165745 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Eliminate large chunks of nearly duplicated code for table-row-group border calculation.

calcOuterBorderBefore() and calcOuterBorderAfter() were almost identical.
So were calcOuterBorderStart() and calcOuterBorderEnd().

Merge them into calcBlockDirectionOuterBorder() and calcInlineDirectionOuterBorder().

This is just code cleanup; no behavior changes intended.

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165746 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't use gradient for strips on network panel.

BUG=335095

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

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

Double negative like "#if !ASSERT_DISABLED" is hard to understand, and
additional "|| defined(ADDRESS_SANITIZER)" makes much harder.

BUG=none
TEST=none; no behavior changes
R=morrita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165748 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move [StrictTypeChecking] to interface (from members), where possible

No changes to generated bindings: just simplification.

kouhei:
there's one case in an SVG IDL that might need fixing,
namely createSVGTransformFromMatrix in
Source/core/svg/SVGSVGElement.idl
(only case of an SVG method not having [StrictTypeChecking]
when others on the interface do)

[StrictTypeChecking] is almost always applied to all members of an interface.
Thus it's clearer and safer to put in on the interface, instead of the members.
This requires minimal CG changes (just check [StrictTypeChecking] on interface),
and allows *massive* simplification of IDL files.

This is ultimately in support of the SVG bindings rewrite,
as we want strict type checking there for null.

There are only 3 IDL files left with [StrictTypeChecking] on members:
(outside of test cases)
* Source/core/html/HTMLMediaElement.idl
* Source/core/svg/SVGSVGElement.idl  ::  kouhei?
* Source/modules/mediastream/RTCPeerConnection.idl

Also some formatting fixes to WebGLRenderingContext.idl,
which is v. long and was quite inconsistent.
(And a few to SVGPathElement.idl, due to long argument lists.)

Followup to:
Add null-correctness checking to [StrictTypeChecking] methods
https://codereview.chromium.org/141523002/

BUG=249598
R=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165749 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations API: Start implementation of timing input objects.

BUG=327564

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165750 bbb929c8-8fbe-4397-9dbb-9b2b20218538
We've replaced SharedPersistent with ScopedPersistent or ScriptValue before, but a couple of SharedPersistents are remaining. So this CL replaces them.

Ideally we want to remove SharedPersistent though.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@165751 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid asserting because fuzzer takes this code path and crashes.

BUG=337561

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

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