chromium/third_party/blink/web_tests/http/tests/subresource_filter/ad-highlight-frame-resized.html

<!DOCTYPE html>
<html>
<head><script src="resources/ad-iframe-writer.js"></script></head>
<body>
<script type="text/javascript">
if (window.testRunner) {
  testRunner.setHighlightAds();
}

ad_frame = createAdFrame();
ad_frame.width = 100;
ad_frame.height = 200;
// Finish the test once the ad frame is loaded.
ad_frame.onload = function () {
  // Resize the frame to verify that the highlight is also resized.
  ad_frame.width = 300;
  if (window.testRunner)
    testRunner.notifyDone();
}
ad_frame.src = "about:blank";

if (window.testRunner)
  testRunner.waitUntilDone();
</script>
</body>
</html>