REOPENED Bug 109908
Web Inspector: support stable remote object ids
https://bugs.webkit.org/show_bug.cgi?id=109908
Summary Web Inspector: support stable remote object ids
Yury Semikhatsky
Reported 2013-02-15 00:29:41 PST
At the moment inspector backend will generate new remote object id even though the object may have already been requested before and its id hasn't been released yet. Having stable remote object ids would improve debugging experience.
Attachments
Patch (22.68 KB, patch)
2013-03-05 06:25 PST, Yury Semikhatsky
no flags
Sandip Chitale
Comment 1 2013-02-15 07:22:00 PST
This will be useful in implementing the enhancement: id=29714
Yury Semikhatsky
Comment 2 2013-03-05 06:25:31 PST
Yury Semikhatsky
Comment 3 2013-03-06 07:21:00 PST
Csaba Osztrogonác
Comment 4 2013-03-06 10:46:34 PST
Rafael Weinstein
Comment 5 2013-03-06 11:07:02 PST
Reverted r144924 for reason: caused multiple crashes in inspector/debugger tests Committed r144950: <http://trac.webkit.org/changeset/144950>
Rafael Weinstein
Comment 6 2013-03-06 11:07:36 PST
FYI. All the stack traces looked like this: crash log for DumpRenderTree (pid 2718): STDOUT: <empty> STDERR: objc[2718]: Class MockCrApp is implemented in both /Volumes/data/b/build/slave/WebKit_Mac10_7__dbg_/build/src/xcodebuild/Debug/libwebkit.dylib and /Volumes/data/b/build/slave/WebKit_Mac10_7__dbg_/build/src/xcodebuild/Debug/DumpRenderTree.app/Contents/MacOS/DumpRenderTree. One of the two will be used. Which one is undefined. STDERR: ASSERTION FAILED: !isDeletedBucket(*(lookupForWriting(Extractor::extract(entry)).first)) STDERR: ../../third_party/WebKit/Source/WTF/wtf/HashTable.h(953) : void WTF::HashTable<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> >::reinsert(ValueType &) [Key = WebCore::ScriptObject, Value = WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, Extractor = WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, HashFunctions = WTF::ScriptObjectHash, Traits = WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, KeyTraits = WTF::HashTraits<WebCore::ScriptObject>] STDERR: 1 0x92dd7e4 WTF::HashTable<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> >::reinsert(WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>&) STDERR: 2 0x92dd4da WTF::HashTable<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> >::rehash(int) STDERR: 3 0x92df9e8 WTF::HashTable<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> >::expand() STDERR: 4 0x92df61d WTF::HashTableAddResult<WTF::HashTableIterator<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> > > WTF::HashTable<WebCore::ScriptObject, WTF::KeyValuePair<WebCore::ScriptObject, unsigned int>, WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<WebCore::ScriptObject, unsigned int> >, WTF::ScriptObjectHash, WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::HashTraits<WebCore::ScriptObject> >::add<WTF::HashMapTranslator<WTF::HashMapValueTraits<WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >, WTF::ScriptObjectHash>, WebCore::ScriptObject, unsigned int>(WebCore::ScriptObject const&, unsigned int const&) STDERR: 5 0x92df32f WTF::HashMap<WebCore::ScriptObject, unsigned int, WTF::ScriptObjectHash, WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >::inlineAdd(WebCore::ScriptObject const&, unsigned int const&) STDERR: 6 0x92df1af WTF::HashMap<WebCore::ScriptObject, unsigned int, WTF::ScriptObjectHash, WTF::HashTraits<WebCore::ScriptObject>, WTF::HashTraits<unsigned int> >::add(WebCore::ScriptObject const&, unsigned int const&) STDERR: 7 0x92cedc0 WebCore::InjectedScriptManager::ObjectIdMap::objectId(WebCore::ScriptObject const&) STDERR: 8 0x92ccf4c WebCore::InjectedScriptManager::objectId(WebCore::ScriptObject const&) STDERR: 9 0x92c910b WebCore::InjectedScriptHost::objectId(WebCore::ScriptObject const&) STDERR: 10 0x8de2d4e WebCore::V8InjectedScriptHost::objectIdMethodCustom(v8::Arguments const&) STDERR: 11 0x7b5792c _ZN7WebCore28InjectedScriptHostV8InternalL22objectIdMethodCallbackERKN2v89ArgumentsE STDERR: 12 0x47a51634
Radar WebKit Bug Importer
Comment 7 2014-12-09 14:06:06 PST
Note You need to log in before you can comment on or make changes to this bug.