Changeset 49831 in webkit


Ignore:
Timestamp:
Oct 19, 2009 7:51:27 PM (14 years ago)
Author:
jorlow@chromium.org
Message:

2009-10-19 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Adam Barth.

Fix fallout from last change.
https://bugs.webkit.org/show_bug.cgi?id=30550

Update init-events to match reality. I only ran the domstorage layout tests
and thus missed one in fast/events/. This addresses fallout from
https://bugs.webkit.org/show_bug.cgi?id=30536

  • fast/events/init-events-expected.txt:
  • fast/events/script-tests/init-events.js:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r49830 r49831  
     12009-10-19  Jeremy Orlow  <jorlow@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        Fix fallout from last change.
     6        https://bugs.webkit.org/show_bug.cgi?id=30550
     7
     8        Update init-events to match reality.  I only ran the domstorage layout tests
     9        and thus missed one in fast/events/.  This addresses fallout from
     10        https://bugs.webkit.org/show_bug.cgi?id=30536
     11
     12        * fast/events/init-events-expected.txt:
     13        * fast/events/script-tests/init-events.js:
     14
    1152009-10-19  Jeremy Orlow  <jorlow@chromium.org>
    216
  • trunk/LayoutTests/fast/events/init-events-expected.txt

    r49214 r49831  
    127127PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').loaded is 1001
    128128PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').total is 1002
    129 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').type is 'a'
    130 PASS testInitEvent('Storage', 'null, false, false, "b", "c", "d", "e", window').type is 'null'
    131 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').bubbles is false
    132 PASS testInitEvent('Storage', '"a", true, false, "b", "c", "d", "e", window').bubbles is true
    133 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').cancelable is false
    134 PASS testInitEvent('Storage', '"a", false, true, "b", "c", "d", "e", window').cancelable is true
    135 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').key is 'b'
    136 PASS testInitEvent('Storage', '"a", false, false, null, "c", "d", "e", window').key is 'null'
    137 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').oldValue is 'c'
    138 PASS testInitEvent('Storage', '"a", false, false, "b", null, "d", "e", window').oldValue is null
    139 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').newValue is 'd'
    140 PASS testInitEvent('Storage', '"a", false, false, "b", "c", null, "e", window').newValue is null
    141 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').uri is 'e'
    142 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", null, window').uri is 'null'
    143 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", window').source is window
    144 PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e", null').source is null
     129PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').type is 'a'
     130PASS testInitEvent('Storage', 'null, false, false, "b", "c", "d", "e"').type is 'null'
     131PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').bubbles is false
     132PASS testInitEvent('Storage', '"a", true, false, "b", "c", "d", "e"').bubbles is true
     133PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').cancelable is false
     134PASS testInitEvent('Storage', '"a", false, true, "b", "c", "d", "e"').cancelable is true
     135PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').key is 'b'
     136PASS testInitEvent('Storage', '"a", false, false, null, "c", "d", "e"').key is 'null'
     137PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').oldValue is 'c'
     138PASS testInitEvent('Storage', '"a", false, false, "b", null, "d", "e"').oldValue is null
     139PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').newValue is 'd'
     140PASS testInitEvent('Storage', '"a", false, false, "b", "c", null, "e"').newValue is null
     141PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", "e"').uri is 'e'
     142PASS testInitEvent('Storage', '"a", false, false, "b", "c", "d", null').uri is 'null'
    145143PASS testInitEvent('Text', '"a", false, false, window, "b"').type is 'a'
    146144PASS testInitEvent('Text', 'null, false, false, window, "b"').type is 'null'
  • trunk/LayoutTests/fast/events/script-tests/init-events.js

    r49214 r49831  
    146146shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').total", "1002");
    147147
    148 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').type", "'a'");
    149 shouldBe("testInitEvent('Storage', 'null, false, false, \"b\", \"c\", \"d\", \"e\", window').type", "'null'");
    150 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').bubbles", "false");
    151 shouldBe("testInitEvent('Storage', '\"a\", true, false, \"b\", \"c\", \"d\", \"e\", window').bubbles", "true");
    152 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').cancelable", "false");
    153 shouldBe("testInitEvent('Storage', '\"a\", false, true, \"b\", \"c\", \"d\", \"e\", window').cancelable", "true");
    154 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').key", "'b'");
    155 shouldBe("testInitEvent('Storage', '\"a\", false, false, null, \"c\", \"d\", \"e\", window').key", "'null'");
    156 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').oldValue", "'c'");
    157 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", null, \"d\", \"e\", window').oldValue", "null");
    158 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').newValue", "'d'");
    159 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", null, \"e\", window').newValue", "null");
    160 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').uri", "'e'");
    161 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", null, window').uri", "'null'");
    162 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", window').source", "window");
    163 shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\", null').source", "null");
     148shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').type", "'a'");
     149shouldBe("testInitEvent('Storage', 'null, false, false, \"b\", \"c\", \"d\", \"e\"').type", "'null'");
     150shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').bubbles", "false");
     151shouldBe("testInitEvent('Storage', '\"a\", true, false, \"b\", \"c\", \"d\", \"e\"').bubbles", "true");
     152shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').cancelable", "false");
     153shouldBe("testInitEvent('Storage', '\"a\", false, true, \"b\", \"c\", \"d\", \"e\"').cancelable", "true");
     154shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').key", "'b'");
     155shouldBe("testInitEvent('Storage', '\"a\", false, false, null, \"c\", \"d\", \"e\"').key", "'null'");
     156shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').oldValue", "'c'");
     157shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", null, \"d\", \"e\"').oldValue", "null");
     158shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').newValue", "'d'");
     159shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", null, \"e\"').newValue", "null");
     160shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", \"e\"').uri", "'e'");
     161shouldBe("testInitEvent('Storage', '\"a\", false, false, \"b\", \"c\", \"d\", null').uri", "'null'");
    164162
    165163shouldBe("testInitEvent('Text', '\"a\", false, false, window, \"b\"').type", "'a'");
Note: See TracChangeset for help on using the changeset viewer.