DescriptionDOMWindow::navigator should return a navigator w/o frame when detached.
Currently DOMWindow::navigator returns a navigator associated with a frame
even when the window is detached from the frame and another window
is attached to it. That means calling frame()->document() may return
an incorrect document, for example.
This CL makes LocalDOMWindow::navigator return a navigator with
a null frame when the window is not associated to the frame.
BUG=522791
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201055
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 2
Patch Set 7 : #
Messages
Total messages: 21 (7 generated)
|