Source

scope.bitbucket.org / scope / index.html

Full commit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Scope Interface for the Opera Browser &mdash; Scope Interface v1 documentation</title>
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" media="print" href="_static/print.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '#',
        VERSION:     '1',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="copyright" title="Copyright" href="copyright.html" />
    <link rel="top" title="Scope Interface v1 documentation" href="#" />
    <link rel="next" title="Scope transport protocol v1" href="scope-transport-protocol.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="scope-transport-protocol.html" title="Scope transport protocol v1"
             accesskey="N">next</a> |</li>
        <li><a href="#">Scope Interface v1 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="scope-interface-for-the-opera-browser">
<h1>Scope Interface for the Opera Browser<a class="headerlink" href="#scope-interface-for-the-opera-browser" title="Permalink to this headline"></a></h1>
<div class="section" id="general-overview">
<h2>General Overview<a class="headerlink" href="#general-overview" title="Permalink to this headline"></a></h2>
<ul>
<li><p class="first"><a class="reference external" href="http://dev.opera.com/articles/view/opera-dragonfly-architecture/">Opera Dragonfly Architecture</a></p>
<p>A general overview of the Opera Dragonfly debug and inspection architecture for the Opera Browser.</p>
</li>
</ul>
</div>
<div class="section" id="scope-interface-version-1">
<h2>Scope Interface Version 1<a class="headerlink" href="#scope-interface-version-1" title="Permalink to this headline"></a></h2>
<div class="section" id="architecture">
<h3>Architecture<a class="headerlink" href="#architecture" title="Permalink to this headline"></a></h3>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="scope-transport-protocol.html">Scope transport protocol v1</a><ul>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#ebnf">EBNF</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#unified-message-structure">Unified Message Structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#protocols">Protocols</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#problems">Problems</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#overview">Overview</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#backwards-compatibility">Backwards compatibility</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#stp-1">STP/1</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#message-flow">Message flow</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-transport-protocol.html#extended-stp-0">Extended STP/0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="unified-message-structure.html">Unified Message Structure</a><ul>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#types">Types</a></li>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#quantifier">Quantifier</a></li>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#style-guide">Style guide</a></li>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#syntax">Syntax</a></li>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#supported-formats">Supported formats</a></li>
<li class="toctree-l2"><a class="reference internal" href="unified-message-structure.html#code-generation">Code generation</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="scope-dom-interface.html">Scope DOM API</a><ul>
<li class="toctree-l2"><a class="reference internal" href="scope-dom-interface.html#scope">Scope</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-dom-interface.html#stp-0">STP/0</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-dom-interface.html#stp-1">STP/1</a></li>
<li class="toctree-l2"><a class="reference internal" href="scope-dom-interface.html#examples">Examples</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="scope-services">
<h3>Scope Services<a class="headerlink" href="#scope-services" title="Permalink to this headline"></a></h3>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="services/ConsoleLogger.html">ConsoleLogger</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/ConsoleLogger/ConsoleLogger_2_0.html">2.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/ConsoleLogger/ConsoleLogger_2_1.html">2.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/CookieManager.html">CookieManager</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/CookieManager/CookieManager_1_0.html">1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/CookieManager/CookieManager_1_1.html">1.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/DocumentManager.html">DocumentManager</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/DocumentManager/DocumentManager_1_0.html">1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/DocumentManager/DocumentManager_1_1.html">1.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/Ecmascript.html">Ecmascript</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/Ecmascript/Ecmascript_1_0.html">1.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/EcmascriptDebugger.html">EcmascriptDebugger</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_5_0.html">5.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_0.html">6.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_1.html">6.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_2.html">6.2</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_3.html">6.3</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_4.html">6.4</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_5.html">6.5</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_6.html">6.6</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_7.html">6.7</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_8.html">6.8</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptDebugger/EcmascriptDebugger_6_9.html">6.9</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/EcmascriptLogger.html">EcmascriptLogger</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/EcmascriptLogger/EcmascriptLogger_2_0.html">2.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/Exec.html">Exec</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/Exec/Exec_2_0.html">2.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/Exec/Exec_2_1.html">2.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/HttpLogger.html">HttpLogger</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/HttpLogger/HttpLogger_2_0.html">2.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/Prefs.html">Prefs</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/Prefs/Prefs_1_0.html">1.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/ResourceManager.html">ResourceManager</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/ResourceManager/ResourceManager_1_0.html">1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/ResourceManager/ResourceManager_1_1.html">1.1</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/ResourceManager/ResourceManager_1_2.html">1.2</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/Scope.html">Scope</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/Scope/Scope_1_0.html">1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/Scope/Scope_1_1.html">1.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/Selftest.html">Selftest</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/Selftest/Selftest_1_0.html">1.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/Selftest/Selftest_1_1.html">1.1</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/UrlPlayer.html">UrlPlayer</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/UrlPlayer/UrlPlayer_2_0.html">2.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/WidgetManager.html">WidgetManager</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/WidgetManager/WidgetManager_1_0.html">1.0</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="services/WindowManager.html">WindowManager</a><ul>
<li class="toctree-l2"><a class="reference internal" href="services/WindowManager/WindowManager_2_0.html">2.0</a></li>
<li class="toctree-l2"><a class="reference internal" href="services/WindowManager/WindowManager_2_1.html">2.1</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="autogenerated-js-framework-for-the-scope-dom-api">
<h3>Autogenerated JS Framework for the Scope DOM API<a class="headerlink" href="#autogenerated-js-framework-for-the-scope-dom-api" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li>Resources<ul>
<li><a class="reference external" href="http://www.opera.com/browser/next/">Opera Browser</a></li>
<li><a class="reference external" href="http://bitbucket.org/scope/hob/">hob</a></li>
<li><a class="reference external" href="http://bitbucket.org/scope/dragonkeeper/">dragonkeeper</a></li>
</ul>
</li>
</ul>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="how-to.html">How to setup a Test Environment for STP 1</a><ul>
<li class="toctree-l2"><a class="reference internal" href="how-to.html#with-easy-install-and-python-scripts-in-the-path-variable">With easy_install and Python scripts in the path variable</a></li>
<li class="toctree-l2"><a class="reference internal" href="how-to.html#with-other-setups">With other setups</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="walk-through.html">Walk through the log entries</a><ul>
<li class="toctree-l2"><a class="reference internal" href="walk-through.html#set-up-the-stp-1-connection">Set up the <cite>STP/1</cite> connection</a></li>
<li class="toctree-l2"><a class="reference internal" href="walk-through.html#enabling-the-services">Enabling the services</a></li>
<li class="toctree-l2"><a class="reference internal" href="walk-through.html#setting-the-debug-context">Setting the Debug Context</a></li>
<li class="toctree-l2"><a class="reference internal" href="walk-through.html#getting-the-runtimes-and-retrieving-the-dom">Getting the runtimes and retrieving the DOM</a></li>
<li class="toctree-l2"><a class="reference internal" href="walk-through.html#submit-a-command-manually">Submit a command manually</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="tutorial-console-logger.html">Tutorial for a very basic error message logger</a><ul>
<li class="toctree-l2"><a class="reference internal" href="tutorial-console-logger.html#create-the-files">Create the files</a></li>
<li class="toctree-l2"><a class="reference internal" href="tutorial-console-logger.html#write-the-simplelogger-class">Write the SimpleLogger class</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="section" id="scope-interface-version-0">
<h2>Scope Interface Version 0<a class="headerlink" href="#scope-interface-version-0" title="Permalink to this headline"></a></h2>
<div class="section" id="overall-documentation">
<h3>Overall documentation<a class="headerlink" href="#overall-documentation" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li><a class="reference external" href="./_static/services-stp-0/architecture.html">Architecture overview</a></li>
<li><a class="reference external" href="./_static/services-stp-0/transport-protocol.html">Transport protocol</a></li>
<li><a class="reference external" href="./_static/services-stp-0/requirements.html">Requirements for the debugging infrastructure</a></li>
<li><a class="reference external" href="./_static/services-stp-0/scope-js-api.html">Scope JavaScript API</a></li>
<li><a class="reference external" href="./_static/services-stp-0/httpd-interface.html">HTTPD interface to the proxy</a></li>
</ul>
</div>
<div class="section" id="id1">
<h3>Scope Services<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h3>
<ul class="simple">
<li><a class="reference external" href="./_static/services-stp-0/window-manager.html">Window Manager Service</a></li>
<li><a class="reference external" href="./_static/services-stp-0/ecmascript-debugger-protocol.html">ECMAScript debugger protocol</a></li>
<li><a class="reference external" href="./_static/services-stp-0/http-logger-protocol-1.html">HTTP Logger</a></li>
<li><a class="reference external" href="./_static/services-stp-0/console-logger.html">Console Logger</a></li>
<li><a class="reference external" href="./_static/services-stp-0/exec-protocol.html">Opera Exec protocol</a></li>
</ul>
</div>
</div>
<div class="section" id="license">
<h2>License<a class="headerlink" href="#license" title="Permalink to this headline"></a></h2>
<p>Copyright 2006 - 2011 Opera Software ASA</p>
<p>Licensed under the Apache License, Version 2.0 (the &#8220;License&#8221;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at</p>
<blockquote>
<a class="reference external" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></blockquote>
<p>Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &#8220;AS IS&#8221; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</p>
</div>
<div class="section" id="indices-and-tables">
<h2>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><a class="reference internal" href="genindex.html"><em>Index</em></a></li>
<li><a class="reference internal" href="py-modindex.html"><em>Module Index</em></a></li>
<li><a class="reference internal" href="search.html"><em>Search Page</em></a></li>
<li><a class="reference internal" href="glossary.html#glossary"><em>Glossary</em></a></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="#">
              <img class="logo" src="_static/Opera-logo-PNG.png" alt="Logo"/>
            </a></p>
            <h3><a href="#">Table Of Contents</a></h3>
            <ul>
<li><a class="reference internal" href="#">Scope Interface for the Opera Browser</a><ul>
<li><a class="reference internal" href="#general-overview">General Overview</a></li>
<li><a class="reference internal" href="#scope-interface-version-1">Scope Interface Version 1</a><ul>
<li><a class="reference internal" href="#architecture">Architecture</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#scope-services">Scope Services</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#autogenerated-js-framework-for-the-scope-dom-api">Autogenerated JS Framework for the Scope DOM API</a><ul>
</ul>
</li>
</ul>
</li>
<li><a class="reference internal" href="#scope-interface-version-0">Scope Interface Version 0</a><ul>
<li><a class="reference internal" href="#overall-documentation">Overall documentation</a></li>
<li><a class="reference internal" href="#id1">Scope Services</a></li>
</ul>
</li>
<li><a class="reference internal" href="#license">License</a></li>
<li><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
</ul>
</li>
</ul>

            <h4>Next topic</h4>
            <p class="topless"><a href="scope-transport-protocol.html"
                                  title="next chapter">Scope transport protocol v1</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="_sources/index.txt"
                     rel="nofollow">Show Source</a></li>
             <li><a href="./pdf/ScopeInterface.pdf" rel="nofollow">Download as PDF</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          
          <script type="text/javascript">$('#searchbox').show(0);</script>
          <h3><a href="glossary.html">Glossary</a></h3>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
    © Copyright 2006-2010, Opera Software ASA. 
    <a href="./index.html#license">Licensed under Apache License, Version 2.0.</a>
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.6.
    </div>
  </body>
</html>