Changeset 57489 in webkit


Ignore:
Timestamp:
Apr 12, 2010 5:11:45 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-04-12 Adam Barth <abarth@webkit.org>

Reviewed by Jeremy Orlow.

Add some ip4v tests (will revise in a minute)
https://bugs.webkit.org/show_bug.cgi?id=37476

  • fast/url/ipv4-expected.txt: Added.
  • fast/url/ipv4.html: Added.
  • fast/url/script-tests/ipv4.js: Added.
  • fast/url/script-tests/trivial.js: (canonicalize):
  • fast/url/trivial-expected.txt:
Location:
trunk/LayoutTests
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r57488 r57489  
     12010-04-12  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        Add some ip4v tests (will revise in a minute)
     6        https://bugs.webkit.org/show_bug.cgi?id=37476
     7
     8        * fast/url/ipv4-expected.txt: Added.
     9        * fast/url/ipv4.html: Added.
     10        * fast/url/script-tests/ipv4.js: Added.
     11        * fast/url/script-tests/trivial.js:
     12        (canonicalize):
     13        * fast/url/trivial-expected.txt:
     14
    1152010-04-12  Adam Barth  <abarth@webkit.org>
    216
  • trunk/LayoutTests/fast/url/script-tests/trivial.js

    r57488 r57489  
    77}
    88
    9 shouldBe("canonicalize('http://example.com/')", "'http://example.com/'");
    10 shouldBe("canonicalize('/')", "'file:///'");
     9cases = [
     10  ["http://example.com/", "http://example.com/"],
     11  ["/", "file:///"],
     12];
     13
     14for (var i = 0; i < cases.length; ++i) {
     15  shouldBe("canonicalize('" + cases[i][0] + "')",
     16           "'" + cases[i][1] + "'");
     17}
    1118
    1219var successfullyParsed = true;
  • trunk/LayoutTests/fast/url/trivial-expected.txt

    r57488 r57489  
    99
    1010TEST COMPLETE
     11
Note: See TracChangeset for help on using the changeset viewer.