Descriptiondocument.querySelector[All]() should check selector context
Blink failed to check whether the left-most matched selector ends up
in Document TreeScope.
The check was only enabled for querySelector*() is called on
a regular element, not on document.
This issue can be exposed by passing "::shadow" or "/deep/"
which pierces shadow boundary and the selector can
incorrectly match inside shadow.
BUG=511486
TEST=fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201461
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #Patch Set 4 : . #Patch Set 5 : always use scope.context #Patch Set 6 : . #
Total comments: 1
Messages
Total messages: 18 (7 generated)
|