<!doctype html>
<!-- Copyright 2012 Mozilla Foundation

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" 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. -->
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Parser Tests</title>
    <script type="application/javascript;version=1.8"
            src="../wbxml/wbxml.js"></script>
    <script type="application/javascript;version=1.8"
            src="../codepages.js"></script>
    <script type="application/javascript;version=1.8"
            src="test_parser.js"></script>
    <style type="text/css">
      .output {
        border: 1px solid gray;
        font-family: monospace;
        white-space: pre-wrap;
        margin-bottom: 1em;
      }
    </style>
  </head>
  <body>
    Output
    <div id="output" class="output"></div>
  </body>
</html>

<!doctype html>
<!-- Copyright 2012 Mozilla Foundation

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" 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. -->
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Parser Tests</title>
    <script type="application/javascript;version=1.8"
            src="../wbxml/encoding.js"></script>
    <script type="application/javascript;version=1.8"
            src="../wbxml/wbxml.js"></script>
    <script type="application/javascript;version=1.8"
            src="../codepages.js"></script>
    <script type="application/javascript;version=1.8"
            src="test_parser.js"></script>
    <style type="text/css">
      .output {
        border: 1px solid gray;
        font-family: monospace;
        white-space: pre-wrap;
        margin-bottom: 1em;
      }
    </style>
  </head>
  <body>
    Output
    <div id="output" class="output"></div>
  </body>
</html>

Update test file to include TextEncoder/TextDecoder
Update test file to include TextEncoder/TextDecoder
