Index: LayoutTests/inspector/runtime/runtime-setPropertyValue.html |
diff --git a/LayoutTests/inspector/runtime/runtime-setPropertyValue.html b/LayoutTests/inspector/runtime/runtime-setPropertyValue.html |
index b6c7a70e475563e667de986c84542a0394080afb..13515aaed94e8e21facd481c00167c61ca17c4c4 100644 |
--- a/LayoutTests/inspector/runtime/runtime-setPropertyValue.html |
+++ b/LayoutTests/inspector/runtime/runtime-setPropertyValue.html |
@@ -20,6 +20,12 @@ function dumpObject(label) |
} |
} |
+function checkNegativeZero() |
+{ |
+ console.log("===== Checking negative zero ====="); |
+ console.log("1/-0 = " + (1 / object1.foo)); |
+} |
+ |
function test() |
{ |
var obj1, obj2; |
@@ -138,6 +144,16 @@ function test() |
} |
}, |
+ function testNegativeZero(next) |
+ { |
+ obj1.setPropertyValue("foo", "1/-Infinity", step1); |
+ |
+ function step1(error) |
+ { |
+ InspectorTest.evaluateInPage("checkNegativeZero()", next); |
+ } |
+ }, |
+ |
function testReleaseObjectIsCalled(next) |
{ |
// If failed, this test will time out. |