Changeset 181130 in webkit


Ignore:
Timestamp:
Mar 5, 2015, 7:41:16 PM (10 years ago)
Author:
Joseph Pecoraro
Message:

Unreviewed Test Fix: Remove unnecessary reference to "window" causing test failure.

  • js/object-literal-shorthand-construction-expected.txt:
  • js/script-tests/object-literal-shorthand-construction.js:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r181129 r181130  
     12015-03-05  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Unreviewed Test Fix: Remove unnecessary reference to "window" causing test failure.
     4
     5        * js/object-literal-shorthand-construction-expected.txt:
     6        * js/script-tests/object-literal-shorthand-construction.js:
     7
    182015-03-05  Stephanie Lewis  <slewis@apple.com>
    29
  • trunk/LayoutTests/js/object-literal-shorthand-construction-expected.txt

    r181121 r181130  
    4747PASS equivalent([{nest:[{a}]}][0].nest[0], [{nest: [{a:a}]}][0].nest[0]) is true
    4848PASS equivalent({a,b,t,x,f,nul,un,fun,foo,bar}, {a:a, b:b, t:t, x:x, f:f, nul:null, un:un, fun:fun, foo:foo, bar:bar}) is true
    49 PASS equivalent({eval}, {eval: window.eval}) is true
     49PASS equivalent({eval}, {eval: eval}) is true
    5050PASS ({noSuchIdentifier}) threw exception ReferenceError: Can't find variable: noSuchIdentifier.
    5151PASS ({a,noSuchIdentifier}) threw exception ReferenceError: Can't find variable: noSuchIdentifier.
  • trunk/LayoutTests/js/script-tests/object-literal-shorthand-construction.js

    r181121 r181130  
    8888testShorthandConstructionEquivalent("{a,b,t,x,f,nul,un,fun,foo,bar}", "{a:a, b:b, t:t, x:x, f:f, nul:null, un:un, fun:fun, foo:foo, bar:bar}");
    8989
    90 testShorthandConstructionEquivalent("{eval}", "{eval: window.eval}");
     90testShorthandConstructionEquivalent("{eval}", "{eval: eval}");
    9191
    9292shouldThrow("({noSuchIdentifier})");
Note: See TracChangeset for help on using the changeset viewer.