Created attachment 55481 [details] Test case Passing querySelectorAll a pseudo-selector like :first used to throw an exception. Other pseudo selectors like :last still do, but :first now returns an empty set.
This is already fixed. *** This bug has been marked as a duplicate of bug 38697 ***