|
Fix DOMWindow::isCurrentlyDisplayedInFrame to return false when detached
Right now, this can return true even if the frame is detached, since it
doesn't check that the frame has a non-null host.
The remaining changes in DOMWindow are to preserve current web visible
behavior, as well as fixing a null pointer dereferences that this exposes
in Performance and ScreenOrientation.
BUG= 347331
R=abarth@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168256
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+503 lines, -77 lines) |
Patch |
|
D |
LayoutTests/fast/dom/Window/BarInfo-after-frame-removed.html
|
View
|
|
1 chunk |
+0 lines, -35 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/dom/Window/BarInfo-after-frame-removed-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/open-after-frame-detached.html
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/open-after-frame-detached-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated.html
|
View
|
1
2
3
4
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed.html
|
View
|
1
2
3
4
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated.html
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+62 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed.html
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/dom/Window/resources/window-property-collector.js
|
View
|
1
2
3
4
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/BarProp.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/frame/DOMWindow.cpp
|
View
|
1
2
3
4
|
15 chunks |
+2 lines, -31 lines |
2 comments
|
Download
|
|
M |
Source/core/timing/Performance.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/modules/screen_orientation/ScreenOrientation.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/screen_orientation/ScreenOrientation.cpp
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|