Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html

Issue 2272773002: Use intersection observer to control frame throttling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update LeakExpectations Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html b/third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html
index 1482afadbeabedaea38b295accb5a6cd36f4d730..5a5626d7b15f8e130b7bf0f1ad141e27d6496c45 100644
--- a/third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html
+++ b/third_party/WebKit/LayoutTests/http/tests/activedomobject/media.html
@@ -10,13 +10,13 @@
window.iframe = document.querySelector('iframe').contentDocument;
log('Before Reparenting');
- shouldBe('window.internals.activeDOMObjectCount(document)', 2);
+ shouldBe('window.internals.activeDOMObjectCount(document)', 3);
shouldBe('window.internals.activeDOMObjectCount(iframe)', 3);
document.body.appendChild(window.iframe.querySelector('video'));
log('After Reparenting');
- shouldBe('window.internals.activeDOMObjectCount(document)', 3);
+ shouldBe('window.internals.activeDOMObjectCount(document)', 4);
shouldBe('window.internals.activeDOMObjectCount(iframe)', 2);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698