Skip to content
  • joepeck@webkit.org's avatar
    Web Inspector: We should regenerate InspectorBackendCommands.js for Legacy Inspector.json versions · ae227297
    joepeck@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=120242
    
    Reviewed by NOBODY (OOPS!).
    
    Source/WebCore:
    
    - Update the Inspector.json CodeGenerator to include an output_js_dir.
    - Cleanup multiple trailing newlines in some of the generated files.
    - Provide a way to not verify runtime casts, needed for Legacy inputs.
    
    * CMakeLists.txt:
    * DerivedSources.make:
    * DerivedSources.pri:
    * GNUmakefile.am:
    * inspector/CodeGeneratorInspector.py:
    (resolve_all_types):
    (SmartOutput.close):
    
    Source/WebInspectorUI:
    
    - Include the iOS 6.0 Inspector.json which maps to Legacy/6.0/InspectorBackendCommands.js.
    - Provide a helper script to regenerate the backend commands file for trunk and Versions.
    - Regenerated file now includes enums and other minor changes.
    
    * Scripts/update-InspectorBackendCommands.rb: Added.
    * UserInterface/InspectorBackendCommands.js:
    * UserInterface/Legacy/6.0/InspectorBackendCommands.js:
    * Versions/Inspector-iOS-6.0.json: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ae227297