Commit 37fe7917 authored by Cristian Tuns's avatar Cristian Tuns
Browse files

Backed out changeset 65db9227c38c (bug 1815925) for causing wpt failures in...

Backed out changeset 65db9227c38c (bug 1815925) for causing wpt failures in a-element-xhtml.xhtml CLOSED TREE
parent 0759ded5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -113,7 +113,8 @@ nsBaseURLParser::ParseURL(const char* spec, int32_t specLen,
    // spec = <scheme>:<authority>
    // spec = <scheme>:<path-no-slashes>
    //
    if (!net_IsValidScheme(nsDependentCSubstring(spec, colon - spec))) {
    if (!net_IsValidScheme(nsDependentCSubstring(spec, colon - spec)) ||
        (*(colon + 1) == ':')) {
      return NS_ERROR_MALFORMED_URI;
    }
    SET_RESULT(scheme, offset, colon - spec);
+3 −0
Original line number Diff line number Diff line
[a-element-origin-xhtml.xhtml]
  [Parsing origin: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing origin: <https://0x.0x.0> against <about:blank>]
    expected: FAIL

+3 −0
Original line number Diff line number Diff line
[a-element-origin.html]
  [Parsing origin: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing origin: <https://0x.0x.0> against <about:blank>]
    expected: FAIL

+6 −0
Original line number Diff line number Diff line
@@ -137,6 +137,9 @@
  [Parsing: <mailto:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://www.@pple.com> against <about:blank>]
    expected: FAIL

@@ -1022,6 +1025,9 @@
  [Parsing: <gopher://foo:443/> against <about:blank>]
    expected: FAIL

  [Parsing: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://www.@pple.com> against <about:blank>]
    expected: FAIL

+6 −0
Original line number Diff line number Diff line
@@ -139,6 +139,9 @@
  [Parsing: <mailto:example.com/> against <about:blank>]
    expected: FAIL

  [Parsing: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://www.@pple.com> against <about:blank>]
    expected: FAIL

@@ -1051,6 +1054,9 @@
  [Parsing: <gopher://foo:443/> against <about:blank>]
    expected: FAIL

  [Parsing: <http::b@www.example.com> against <about:blank>]
    expected: FAIL

  [Parsing: <http://www.@pple.com> against <about:blank>]
    expected: FAIL

Loading