'foo?bar': ['?foo?bar'],
          '/foo\'bar\'baz': ['?/foo%27bar%27baz', '?/foo\'bar\'baz'],
          'foo/bar/baz': ['?foo/bar/baz']
        }, true)
      });

      test('assigning to a relative path URL', function() {
        urlElem.path = '/foo/bar';
        expect(window.location.pathname).to.be.equal('/foo/bar');

        // A relative path is treated as an absolute one, just with a
        // missing leading slash.
        urlElem.path = 'baz';
        expect(window.location.pathname).to.be.equa