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

Unified Diff: LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt

Issue 131113003: Fix DOMWindow::isCurrentlyDisplayedInFrame to return false when detached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ScreenOrientation + test window.open. Created 6 years, 10 months 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: LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
diff --git a/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt b/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..79f26c3e3fc5bcdde6ea60be30a0f96a599f339c
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
@@ -0,0 +1,62 @@
+CONSOLE WARNING: 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
+Tests property access on a cached DOMWindow after the associated frame is navigated. Test should not crash and properties read from the cached DOMWindow should be identical to properties through the 'current' DOMWindow.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS oldChildWindow.devicePixelRatio is newChildWindow.devicePixelRatio
+PASS oldChildWindow.history.length is newChildWindow.history.length
+PASS oldChildWindow.innerHeight is newChildWindow.innerHeight
+PASS oldChildWindow.innerWidth is newChildWindow.innerWidth
+PASS oldChildWindow.jsTestIsAsync is newChildWindow.jsTestIsAsync
+PASS oldChildWindow.length is newChildWindow.length
+PASS oldChildWindow.location.href is newChildWindow.location.href
+PASS oldChildWindow.location.origin is newChildWindow.location.origin
+PASS oldChildWindow.location.pathname is newChildWindow.location.pathname
+PASS oldChildWindow.location.protocol is newChildWindow.location.protocol
+PASS oldChildWindow.locationbar.visible is newChildWindow.locationbar.visible
+PASS oldChildWindow.menubar.visible is newChildWindow.menubar.visible
+PASS oldChildWindow.navigator.appCodeName is newChildWindow.navigator.appCodeName
+PASS oldChildWindow.navigator.appName is newChildWindow.navigator.appName
+PASS oldChildWindow.navigator.appVersion is newChildWindow.navigator.appVersion
+PASS oldChildWindow.navigator.cookieEnabled is newChildWindow.navigator.cookieEnabled
+PASS oldChildWindow.navigator.language is newChildWindow.navigator.language
+PASS oldChildWindow.navigator.onLine is newChildWindow.navigator.onLine
+PASS oldChildWindow.navigator.platform is newChildWindow.navigator.platform
+PASS oldChildWindow.navigator.product is newChildWindow.navigator.product
+PASS oldChildWindow.navigator.productSub is newChildWindow.navigator.productSub
+PASS oldChildWindow.navigator.userAgent is newChildWindow.navigator.userAgent
+PASS oldChildWindow.navigator.vendor is newChildWindow.navigator.vendor
+PASS oldChildWindow.offscreenBuffering is newChildWindow.offscreenBuffering
+PASS oldChildWindow.outerHeight is newChildWindow.outerHeight
+PASS oldChildWindow.outerWidth is newChildWindow.outerWidth
+PASS oldChildWindow.performance.timing.connectEnd is newChildWindow.performance.timing.connectEnd
+PASS oldChildWindow.performance.timing.connectStart is newChildWindow.performance.timing.connectStart
+PASS oldChildWindow.performance.timing.domContentLoadedEventEnd is newChildWindow.performance.timing.domContentLoadedEventEnd
+PASS oldChildWindow.performance.timing.domContentLoadedEventStart is newChildWindow.performance.timing.domContentLoadedEventStart
+PASS oldChildWindow.performance.timing.domInteractive is newChildWindow.performance.timing.domInteractive
+PASS oldChildWindow.performance.timing.domLoading is newChildWindow.performance.timing.domLoading
+PASS oldChildWindow.performance.timing.domainLookupEnd is newChildWindow.performance.timing.domainLookupEnd
+PASS oldChildWindow.performance.timing.domainLookupStart is newChildWindow.performance.timing.domainLookupStart
+PASS oldChildWindow.performance.timing.fetchStart is newChildWindow.performance.timing.fetchStart
+PASS oldChildWindow.performance.timing.navigationStart is newChildWindow.performance.timing.navigationStart
+PASS oldChildWindow.performance.timing.requestStart is newChildWindow.performance.timing.requestStart
+PASS oldChildWindow.performance.timing.responseEnd is newChildWindow.performance.timing.responseEnd
+PASS oldChildWindow.performance.timing.responseStart is newChildWindow.performance.timing.responseStart
+PASS oldChildWindow.personalbar.visible is newChildWindow.personalbar.visible
+PASS oldChildWindow.screen.availHeight is newChildWindow.screen.availHeight
+PASS oldChildWindow.screen.availWidth is newChildWindow.screen.availWidth
+PASS oldChildWindow.screen.colorDepth is newChildWindow.screen.colorDepth
+PASS oldChildWindow.screen.height is newChildWindow.screen.height
+PASS oldChildWindow.screen.orientation is newChildWindow.screen.orientation
+PASS oldChildWindow.screen.pixelDepth is newChildWindow.screen.pixelDepth
+PASS oldChildWindow.screen.width is newChildWindow.screen.width
+PASS oldChildWindow.scrollbars.visible is newChildWindow.scrollbars.visible
+PASS oldChildWindow.statusbar.visible is newChildWindow.statusbar.visible
+PASS oldChildWindow.styleMedia.type is newChildWindow.styleMedia.type
+PASS oldChildWindow.toolbar.visible is newChildWindow.toolbar.visible
+PASS oldChildWindow.wasPostTestScriptParsed is newChildWindow.wasPostTestScriptParsed
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698