yz': '/foo%3Fxyz',
          '/foo\'bar\'baz': '/foo\'bar\'baz',
        };

        for (var plainTextPath in pathEncodingExamples) {
          var encodedPath = pathEncodingExamples[plainTextPath];

          urlElem.path = plainTextPath;
          expect(window.location.pathname).to.be.equal(encodedPath);
          expect(urlElem.path).to.be.equal(plainTextPath);
          var temporaryIronLocation = makeTemporaryIronLocation();
          expect(temporaryIronLocation.path).to.be.equal(plainTextPath);
   