Bug 103140 - [chromium] Skip tests that will be broken by an upcoming V8 3.15.5 roll.
Summary: [chromium] Skip tests that will be broken by an upcoming V8 3.15.5 roll.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ulan Degenbaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 06:52 PST by Ulan Degenbaev
Modified: 2013-04-05 13:01 PDT (History)
9 users (show)

See Also:


Attachments
Patch (1.62 KB, patch)
2012-11-23 07:07 PST, Ulan Degenbaev
pfeldman: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulan Degenbaev 2012-11-23 06:52:16 PST
These two tests assume that Object.getOwnPropertyDescriptor on objects with interceptors doesn't return anything. This has been fixed in V8.

LayoutTests/inspector/console/command-line-api-inspect.html
LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html

We will submit updated test expectations after V8 roll.
Comment 1 Pavel Feldman 2012-11-23 07:03:08 PST
Could you paste the diff they produce?
Comment 2 Ulan Degenbaev 2012-11-23 07:07:48 PST
Created attachment 175803 [details]
Patch
Comment 3 Ulan Degenbaev 2012-11-23 07:09:19 PST
The diffs:

--- chromium/src/webkit/Debug/layout-test-results/inspector/console/command-line-api-inspect-expected.txt
+++ chromium/src/webkit/Debug/layout-test-results/inspector/console/command-line-api-inspect-actual.txt
@@ -28,12 +28,12 @@

 WebInspector.inspect called with: Storage
 WebInspector.inspect's hints are: ["domStorageId"]
-inspect(localStorage) = Storage {}
+inspect(localStorage) = Storage {auditsSidebarWidth: "200",
consoleHistory: "["inspect($('#p1'))","inspect(db)","inspect(db2)"]",
elementsSidebarWidth: "325", experiments: "{}", inspector: "Test of
local storage reveal in inspector"…}

 Running: testRevealSessionStorage


 WebInspector.inspect called with: Storage
 WebInspector.inspect's hints are: ["domStorageId"]
-inspect(sessionStorage) = Storage {}
+inspect(sessionStorage) = Storage {inspector: "Test of session
storage reveal in inspector"}


--- chromium/src/webkit/Debug/layout-test-results/inspector/runtime/runtime-localStorage-getProperties-expected.txt
+++ chromium/src/webkit/Debug/layout-test-results/inspector/runtime/runtime-localStorage-getProperties-actual.txt
@@ -1,12 +1,12 @@
 Tests RemoteObject.getProperties on localStorage object. 66215

 {
-    enumerable : false
+    enumerable : true
     name : "testProperty"
     value : {
         description : "testPropertyValue"
         type : "string"
     }
-    writable : false
+    writable : true
 }
Comment 4 Pavel Feldman 2012-11-25 22:10:27 PST
Comment on attachment 175803 [details]
Patch

We need to organize this better: once this patch lands, it'll close the bug it is referencing. The TestExpectations line should instead reference an opened bug.
Comment 5 Ulan Degenbaev 2012-11-26 04:36:01 PST
V8 roll seems to be sticking, I am going to upload CL that adjusts expectations, so there is no need to skip the tests: https://bugs.webkit.org/show_bug.cgi?id=103140.
Comment 6 Timothy Hatcher 2013-04-05 13:01:27 PDT
Chromium and V8 have left the building. Won't fix.