Remove InspectorFrontendAPI.evaluateForTest

The method was used by stanalone inspector test harness that has been removed.

BUG=364013

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171771 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Avoid invalidation cycles.

Currently, there is no mechanism to prevent cycles in the
SVGDocumentExtensions reference sets.
RenderSVGResource::markForLayoutAndParentResourceInvalidation() and his
buddy removeFromCacheAndInvalidateDependencies() use these sets to
transitively invalidate dependencies -> cycles cause indefinite
recursion.

There are two ways we can go about this:

1) Avoid adding SVGDocumentExtensions references which would introduce
cycles in the first place: this may require some convoluted logic for
reconstructing the sets when references are removed (as previous cycles
can turn into valid dependency chains). It's also unclear how it
interacts with cross-document references.

2) Detect & break cycles at invalidation time: simply track the
references being invalidated and avoid entering cycles.

This CL implements the latter, using a hash set for tracking
invalidating references.

BUG=361808
R=schenney@chromium.org,pdr@chromium.org,fs@opera.com

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

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