<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>72861</bug_id>
          
          <creation_ts>2011-11-20 23:31:32 -0800</creation_ts>
          <short_desc>Web Inspector: [protocol] Program protocol message validation against schema in Inspector.json</short_desc>
          <delta_ts>2014-12-13 15:53:51 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>72835</dependson>
    
    <dependson>74534</dependson>
    
    <dependson>75284</dependson>
    
    <dependson>76062</dependson>
    
    <dependson>76382</dependson>
    
    <dependson>76868</dependson>
    
    <dependson>77062</dependson>
    
    <dependson>77289</dependson>
    
    <dependson>77444</dependson>
    
    <dependson>77471</dependson>
    
    <dependson>82958</dependson>
    
    <dependson>83039</dependson>
    
    <dependson>83069</dependson>
    
    <dependson>83327</dependson>
    
    <dependson>83332</dependson>
    
    <dependson>83390</dependson>
          <blocked>74549</blocked>
    
    <blocked>74661</blocked>
    
    <blocked>74890</blocked>
    
    <blocked>74954</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Peter Rybin">peter.rybin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>burg</cc>
    
    <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>peter.rybin</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>506734</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Rybin">peter.rybin</who>
    <bug_when>2011-11-20 23:31:32 -0800</bug_when>
    <thetext>This is a meta-bug.

1. Make sure that Web Inspector Backend generates only correct outgoing messages as specified in Inspector.json.
Since messages are 99% generated by C++, there could be a safe compile-time solution (rather than runtime assert): generated message builder. This would guarantee that only correct messages could be constructed.

2. Validate incoming messages against Inspector.json.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>