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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/namespaced-elements-and-selectors.html

Issue 1932673002: querySelector* fast-path missing namespace check for no namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullAtom not emptyAtom Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/namespaced-elements-and-selectors-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <div id="sandbox">
4 <span></span>
5 </div>
6 <script>
7 description("querySelectorAll and namespaces");
8
9 sandbox.appendChild(document.createElementNS("http://dummynamespace", "span"));
10 sandbox.appendChild(document.createElementNS("", "span"));
11
12 shouldBe("sandbox.querySelectorAll('span').length", "3");
13 shouldBe("sandbox.querySelectorAll('*|span').length", "3");
14 shouldBe("sandbox.querySelectorAll('|span').length", "1");
15 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/SelectorAPI/namespaced-elements-and-selectors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698