Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected GetPropertyDescriptorTest traversal test

  • Loading branch information...
commit 29576cfee4384a6edb3385a47efa652a97d1de87 1 parent 7f8d265
@mikegerwitz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/Util/GetPropertyDescriptorTest.js
View
2  test/Util/GetPropertyDescriptorTest.js
@@ -53,7 +53,7 @@ require( 'common' ).testCase(
*/
'Indicates whether property chain traversal is possible': function()
{
- var traversable = ( {}.__proto__ ) ? true : false;
+ var traversable = ( typeof Object.getPrototypeOf === 'function' );
this.assertEqual(
this.Sut.getPropertyDescriptor.canTraverse,
Please sign in to comment.
Something went wrong with that request. Please try again.