<commit_before><html>
  <head><title>src property test</title>
    <script type="text/javascript" src="chrome_frame_tester_helpers.js">
    </script>
    <script type="text/javascript">
      function OnNavigationFailed() {
        onFailure("ChromeFrame_SrcTest", 1, "ChromeFrame Navigation failed");
      }

      function OnChromeFrameLoaded(url) {
        url = url.data;

        var chromeFrame = GetChromeFrame();
        var frame_url = chromeFrame.src;
        
        appendStatus("Loaded URL: " + url + " Frame url: " + frame_url);
      }

      function GetChromeFrame() {
        return window.document.ChromeFrame;
      }

    </script>
  </head>
  <body>
      <div id="statusPanel" style="border: 1px solid red; width: 100%">
      Test running....
      </div>
      <span id="ChromeFrameSpan"></span>
      <script type="text/javascript">
insertControl(
    "ChromeFrameSpan",
    { "src": "src_property_frame1.html",
      "eventHandlers": {
        "onload": "return OnChromeFrameLoaded();",
        "onloaderror": "return OnNavigationFailed(arguments[0]);"
      }
    });
      </script>
      <p>Tests ChromeFrame Navigation</p>
  </body>
</html>
<commit_msg>Fix JS error in ChromeFrameTestWithWebServer.FLAKY_WidgetModeIE_SrcProperty that could result in an IE browser hang on a JS error dialog.<commit_after><html>
  <head><title>src property test</title>
    <script type="text/javascript" src="chrome_frame_tester_helpers.js">
    </script>
    <script type="text/javascript">
      function OnNavigationFailed() {
        onFailure("ChromeFrame_SrcTest", 1, "ChromeFrame Navigation failed");
      }

      function OnChromeFrameLoaded(url) {
        try {
          url = url.data;
          var chromeFrame = GetChromeFrame();
          var frame_url = chromeFrame.src;
          appendStatus("Loaded URL: " + url + " Frame url: " + frame_url);
        }
        catch (err) {
          onFailure("ChromeFrame_SrcTest", 2, "OnChromeFrameLoaded failed.");
        }
      }

      function GetChromeFrame() {
        return window.document.ChromeFrame;
      }

    </script>
  </head>
  <body>
      <div id="statusPanel" style="border: 1px solid red; width: 100%">
      Test running....
      </div>
      <span id="ChromeFrameSpan"></span>
      <script type="text/javascript">
insertControl(
    "ChromeFrameSpan",
    { "src": "src_property_frame1.html",
      "eventHandlers": {
        "onload": "return OnChromeFrameLoaded(arguments[0]);",
        "onloaderror": "return OnNavigationFailed(arguments[0]);"
      }
    });
      </script>
      <p>Tests ChromeFrame Navigation</p>
  </body>
</html>

{'fraction_non_alphanumeric': 0.13691376701966718, 'fraction_numerical': 0.006051437216338881, 'mean_word_length': 2.7253521126760565, 'pattern_counts': {'":': 8, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1450785', 'n_tokens_mistral': 820, 'n_tokens_neox': 794, 'n_words': 168}