Revert of document.querySelector[All]() should check selector context...
Revert of document.querySelector[All]() should check selector context (patchset #6 id:100001 of https://codereview.chromium.org/1245933002/ ) Reason for revert: This seems to have caused a significant perf regression. Reverting. BUG=526742 Original issue's description: > document.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 TBR=esprehn@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=511486 Review URL: https://codereview.chromium.org/1329523002 git-svn-id: svn://svn.chromium.org/blink/trunk@201514 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment