[Webkit-unassigned] [Bug 148680] Web Inspector: add explicit version checking for legacy backends
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 1 11:49:50 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148680
--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
I think we could just give the Inspector domain a version number. And bump it whenever we want/need to.
{
"domain": "Inspector",
"constants": [
{ "name": "Version", "value": 1000 }
]
}
Would generate:
InspectorBackend.registerConstant("Inspector.Version", 1000);
We could retroactively add it to Legacy Inspector-iOS-*.json files. And add WebInspector.BackendVersions.iOS7-9 constants (700, 800, 900) to the frontend.
That said, I still think we should be feature checking the protocol when possible. This would only be used for when we can't easily do that (like new properties in types).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150901/0823c804/attachment.html>
More information about the webkit-unassigned
mailing list