<commit_before>function runTest()
{
    // Enable XHR spy.
    var prefOrigValue = FBTest.getPref("showXMLHttpRequests");
    FBTest.setPref("showXMLHttpRequests", true);

    FBTest.openNewTab(basePath + "net/1275/issue1275.htm", function(win)
    {
        FBTest.openFirebug(function() {
            FBTest.enablePanels(["net", "cookies"], function() {
                FBTest.clearCache();

                // Reload test page.
                FBTest.reload(function()
                {
                    onRequestDisplayed("tr", "netRow category-xhr hasHeaders loaded", function(row)
                    {
                        // Verify Net panel response
                        var panel = FBTest.getPanel("net");
                        FBTest.click(row);
                        verifyResponse(panel);

                        // Verify Console panel response
                        panel = FBTest.getPanel("console");
                        var spyLogRow = FW.FBL.getElementByClass(panel.panelNode, "logRow",
                            "logRow-spy", "loaded");
                        var xhr = FW.FBL.getElementByClass(spyLogRow, "spyTitleCol", "spyCol");
                        FBTest.click(xhr);
                        verifyResponse(panel);

                        FBTest.setPref("showXMLHttpRequests", prefOrigValue);
                        FBTest.testDone("issue1275.DONE");
                    });

                    FBTest.click(win.document.getElementById("testButton"));<commit_msg>Enabled correct panel<commit_after>function runTest()
{
    // Enable XHR spy.
    var prefOrigValue = FBTest.getPref("showXMLHttpRequests");
    FBTest.setPref("showXMLHttpRequests", true);

    FBTest.openNewTab(basePath + "net/1275/issue1275.htm", function(win)
    {
        FBTest.openFirebug(function() {
            FBTest.enablePanels(["net", "console"], function()
            {
                FBTest.clearCache();

                // Reload test page.
                FBTest.reload(function()
                {
                    onRequestDisplayed("tr", "netRow category-xhr hasHeaders loaded", function(row)
                    {
                        // Verify Net panel response
                        var panel = FBTest.getSelectedPanel();
                        FBTest.click(row);
                        verifyResponse(panel);

                        // Verify Console panel response
                        panel = FBTest.selectPanel("console");
                        var spyLogRow = panel.panelNode.
                            getElementsByClassName("logRow logRow-spy loaded")[0];
                        var xhr = spyLogRow.getElementsByClassName("spyTitleCol spyCol")[0];
                        FBTest.click(xhr);
                        verifyResponse(panel);

                        FBTest.setPref("showXMLHttpRequests", prefOrigValue);
                        FBTest.testDone("issue1275.DONE");
                    });

                    FBTest.click(win.document.getElementById("testButton"));
{'fraction_non_alphanumeric': 0.10400262467191601, 'fraction_numerical': 0.00853018372703412, 'mean_word_length': 1.4431089743589745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2959504', 'n_tokens_mistral': 817, 'n_tokens_neox': 736, 'n_words': 120}