I'm brushing up the protocol and it seems like exposing ObjectId structure is not really necessary. I'm actually thinking of making all ids (network resources, dom nodes, javascript objects, call frames and page frames) simple strings.
Created attachment 86257 [details] Patch
Comment on attachment 86257 [details] Patch lgtm
Comment on attachment 86257 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86257&action=review > LayoutTests/http/tests/inspector/protocol-test.js:5 > + if (object instanceof Object) Consider renaming object to value. object sounds like an instance of Object while the parameter can take integer values. > Source/WebCore/inspector/InjectedScriptManager.cpp:83 > + bool success = parsedObjectId->asObject()->getNumber("injectedScriptId", &injectedScriptId); Now that objectId is an opaque string for the front-end we can switch to a more compact format, probably two numbers separated by a column.
Comment on attachment 86257 [details] Patch Please address the comments before landing.
Committed r81570: <http://trac.webkit.org/changeset/81570>