https://bugzilla.wikimedia.org/show_bug.cgi?id=56820

--- Comment #4 from Andrew Garrett <[email protected]> ---
Here's the debug log from that, if it helps:

starting parsing of localhost:Main_Page
{
  "0": "AsyncTokenTransformManager.setFrame",
  "1": null,
  "2": []
}
T:html: {"type":"TagTk","name":"body","attribs":[],"dataAttribs":{}}
inserting shadow meta for body
{
  "0": "Retrieved Main_Page",
  "1": {
    "title": "Main Page",
    "id": 1,
    "ns": 0,
    "revision": {
      "revid": 130,
      "parentid": 107,
      "user": "Andrew",
      "userid": 1,
      "timestamp": "2013-08-06T18:31:26Z",
      "size": 57,
      "sha1": "4b1e4754b61a7d522b4991a4b6f50b64ec0f5ff6",
      "contentmodel": "wikitext",
      "comment": "Added content",
      "contentformat": "text/x-wiki",
      "*": "This is Andrew's test wiki, used for going with the Flow."
    }
  }
}
T:html: {"type":"TagTk","name":"body","attribs":[],"dataAttribs":{}}
inserting shadow meta for body
TOKS:
[{"type":"SelfclosingTagTk","name":"extlink","attribs":[{"k":"href","v":"http://en.wikipedia.org/"},{"k":"mw:content","v":["An
external link"]},{"k":"spaces","v":"
"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42]}}]
{
  "0": "SyncTokenTransformManager.onChunk, input: ",
  "1": [
    {
      "type": "SelfclosingTagTk",
      "name": "extlink",
      "attribs": [
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        },
        {
          "k": "mw:content",
          "v": [
            "An external link"
          ]
        },
        {
          "k": "spaces",
          "v": " "
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ]
      }
    }
  ]
}
{
  "0": "SyncTokenTransformManager.onChunk: emitting ",
  "1": [
    {
      "type": "SelfclosingTagTk",
      "name": "extlink",
      "attribs": [
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        },
        {
          "k": "mw:content",
          "v": [
            "An external link"
          ]
        },
        {
          "k": "spaces",
          "v": " "
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ]
      }
    }
  ]
}
A2-61:
{"type":"SelfclosingTagTk","name":"extlink","attribs":[{"k":"href","v":"http://en.wikipedia.org/"},{"k":"mw:content","v":["An
external link"]},{"k":"spaces","v":"
"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42]}}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-172",
  "2": {
    "async": true,
    "tokens": []
  }
}
{
  "0": "AttributeExpander._returnAttributes: ",
  "1": [
    {
      "k": "href",
      "v": "http://en.wikipedia.org/";
    },
    {
      "k": "mw:content",
      "v": [
        "An external link"
      ]
    },
    {
      "k": "spaces",
      "v": " "
    }
  ]
}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-172",
  "2": {
    "tokens": [
      {
        "type": "SelfclosingTagTk",
        "name": "extlink",
        "attribs": [
          {
            "k": "href",
            "v": "http://en.wikipedia.org/";
          },
          {
            "k": "mw:content",
            "v": [
              "An external link"
            ]
          },
          {
            "k": "spaces",
            "v": " "
          }
        ],
        "dataAttribs": {
          "targetOff": 26,
          "tsr": [
            0,
            43
          ],
          "contentOffsets": [
            26,
            42
          ]
        }
      }
    ]
  }
}
{
  "0": "workStack",
  "1": "c-172",
  "2": 1.12,
  "3": [
    [],
    [
      {
        "type": "SelfclosingTagTk",
        "name": "extlink",
        "attribs": [
          {
            "k": "href",
            "v": "http://en.wikipedia.org/";
          },
          {
            "k": "mw:content",
            "v": [
              "An external link"
            ]
          },
          {
            "k": "spaces",
            "v": " "
          }
        ],
        "dataAttribs": {
          "targetOff": 26,
          "tsr": [
            0,
            43
          ],
          "contentOffsets": [
            26,
            42
          ]
        }
      }
    ]
  ]
}
A2-61:
{"type":"SelfclosingTagTk","name":"extlink","attribs":[{"k":"href","v":"http://en.wikipedia.org/"},{"k":"mw:content","v":["An
external link"]},{"k":"spaces","v":"
"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42]}}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-172",
  "2": {
    "tokens": [
      {
        "type": "TagTk",
        "name": "a",
        "attribs": [
          {
            "k": "rel",
            "v": "mw:ExtLink"
          },
          {
            "k": "href",
            "v": "http://en.wikipedia.org/";
          }
        ],
        "dataAttribs": {
          "targetOff": 26,
          "tsr": [
            0,
            43
          ],
          "contentOffsets": [
            26,
            42
          ],
          "a": {
            "href": "http://en.wikipedia.org/";
          },
          "sa": {
            "href": "his is Andrew's test wik"
          }
        }
      },
      {
        "type": "SelfclosingTagTk",
        "name": "mw:dom-fragment-token",
        "attribs": [
          {
            "k": "contextTok",
            "v": {
              "type": "SelfclosingTagTk",
              "name": "extlink",
              "attribs": [
                {
                  "k": "href",
                  "v": "http://en.wikipedia.org/";
                },
                {
                  "k": "mw:content",
                  "v": [
                    "An external link"
                  ]
                },
                {
                  "k": "spaces",
                  "v": " "
                }
              ],
              "dataAttribs": {
                "targetOff": 26,
                "tsr": [
                  0,
                  43
                ],
                "contentOffsets": [
                  26,
                  42
                ]
              }
            }
          },
          {
            "k": "content",
            "v": [
              "An external link"
            ]
          },
          {
            "k": "noPre",
            "v": true
          },
          {
            "k": "srcOffsets",
            "v": [
              26,
              42
            ]
          }
        ],
        "dataAttribs": {}
      },
      {
        "type": "EndTagTk",
        "name": "a",
        "attribs": [],
        "dataAttribs": {}
      }
    ]
  }
}
{
  "0": "workStack",
  "1": "c-172",
  "2": 1.149,
  "3": [
    [],
    [],
    [
      {
        "type": "TagTk",
        "name": "a",
        "attribs": [
          {
            "k": "rel",
            "v": "mw:ExtLink"
          },
          {
            "k": "href",
            "v": "http://en.wikipedia.org/";
          }
        ],
        "dataAttribs": {
          "targetOff": 26,
          "tsr": [
            0,
            43
          ],
          "contentOffsets": [
            26,
            42
          ],
          "a": {
            "href": "http://en.wikipedia.org/";
          },
          "sa": {
            "href": "his is Andrew's test wik"
          }
        }
      },
      {
        "type": "SelfclosingTagTk",
        "name": "mw:dom-fragment-token",
        "attribs": [
          {
            "k": "contextTok",
            "v": {
              "type": "SelfclosingTagTk",
              "name": "extlink",
              "attribs": [
                {
                  "k": "href",
                  "v": "http://en.wikipedia.org/";
                },
                {
                  "k": "mw:content",
                  "v": [
                    "An external link"
                  ]
                },
                {
                  "k": "spaces",
                  "v": " "
                }
              ],
              "dataAttribs": {
                "targetOff": 26,
                "tsr": [
                  0,
                  43
                ],
                "contentOffsets": [
                  26,
                  42
                ]
              }
            }
          },
          {
            "k": "content",
            "v": [
              "An external link"
            ]
          },
          {
            "k": "noPre",
            "v": true
          },
          {
            "k": "srcOffsets",
            "v": [
              26,
              42
            ]
          }
        ],
        "dataAttribs": {}
      },
      {
        "type": "EndTagTk",
        "name": "a",
        "attribs": [],
        "dataAttribs": {}
      }
    ]
  ]
}
A2-61:
{"type":"TagTk","name":"a","attribs":[{"k":"rel","v":"mw:ExtLink"},{"k":"href","v":"http://en.wikipedia.org/"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42],"a":{"href":"http://en.wikipedia.org/"},"sa":{"href":"his
is Andrew's test wik"}}}
A2-61:
{"type":"SelfclosingTagTk","name":"mw:dom-fragment-token","attribs":[{"k":"contextTok","v":{"type":"SelfclosingTagTk","name":"extlink","attribs":[{"k":"href","v":"http://en.wikipedia.org/"},{"k":"mw:content","v":["An
external link"]},{"k":"spaces","v":"
"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42]}}},{"k":"content","v":["An
external
link"]},{"k":"noPre","v":true},{"k":"srcOffsets","v":[26,42]}],"dataAttribs":{}}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-172",
  "2": {
    "tokens": [
      "An external link"
    ],
    "async": false
  }
}
A2-61: {"type":"EndTagTk","name":"a","attribs":[],"dataAttribs":{}}
{
  "0": "firstAccum",
  "1": "sync",
  "2": "c-172",
  "3": [
    {
      "type": "TagTk",
      "name": "a",
      "attribs": [
        {
          "k": "rel",
          "v": "mw:ExtLink"
        },
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ],
        "a": {
          "href": "http://en.wikipedia.org/";
        },
        "sa": {
          "href": "his is Andrew's test wik"
        }
      }
    },
    "An external link",
    {
      "type": "EndTagTk",
      "name": "a",
      "attribs": [],
      "dataAttribs": {}
    }
  ]
}
{
  "0": "AsyncTokenTransformManager onChunk",
  "1": "sync",
  "2": [
    {
      "type": "TagTk",
      "name": "a",
      "attribs": [
        {
          "k": "rel",
          "v": "mw:ExtLink"
        },
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ],
        "a": {
          "href": "http://en.wikipedia.org/";
        },
        "sa": {
          "href": "his is Andrew's test wik"
        }
      }
    },
    "An external link",
    {
      "type": "EndTagTk",
      "name": "a",
      "attribs": [],
      "dataAttribs": {}
    }
  ]
}
emitting
{
  "0": "SyncTokenTransformManager.onChunk, input: ",
  "1": [
    {
      "type": "TagTk",
      "name": "a",
      "attribs": [
        {
          "k": "rel",
          "v": "mw:ExtLink"
        },
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ],
        "a": {
          "href": "http://en.wikipedia.org/";
        },
        "sa": {
          "href": "his is Andrew's test wik"
        }
      }
    },
    "An external link",
    {
      "type": "EndTagTk",
      "name": "a",
      "attribs": [],
      "dataAttribs": {}
    }
  ]
}
----------
T:pre:any: sol         :
{"type":"TagTk","name":"a","attribs":[{"k":"rel","v":"mw:ExtLink"},{"k":"href","v":"http://en.wikipedia.org/"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42],"a":{"href":"http://en.wikipedia.org/"},"sa":{"href":"his
is Andrew's test wik"}}}
saved: []
ret  :
[{"type":"TagTk","name":"a","attribs":[{"k":"rel","v":"mw:ExtLink"},{"k":"href","v":"http://en.wikipedia.org/"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42],"a":{"href":"http://en.wikipedia.org/"},"sa":{"href":"his
is Andrew's test wik"}}}]
T:p-wrap:any:
{"type":"TagTk","name":"a","attribs":[{"k":"rel","v":"mw:ExtLink"},{"k":"href","v":"http://en.wikipedia.org/"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42],"a":{"href":"http://en.wikipedia.org/"},"sa":{"href":"his
is Andrew's test wik"}}}
  p-wrap:NL-count: 0
  p-wrap:RET: []
T:p-wrap:any: "An external link"
  p-wrap:NL-count: 0
  p-wrap:RET: []
T:p-wrap:any: {"type":"EndTagTk","name":"a","attribs":[],"dataAttribs":{}}
  p-wrap:NL-count: 0
  p-wrap:RET: []
{
  "0": "SyncTokenTransformManager.onChunk: emitting ",
  "1": []
}
TOKS: [{"type":"EOFTk"}]
{
  "0": "SyncTokenTransformManager.onChunk, input: ",
  "1": [
    {
      "type": "EOFTk"
    }
  ]
}
{
  "0": "SyncTokenTransformManager.onChunk: emitting ",
  "1": [
    {
      "type": "EOFTk"
    }
  ]
}
A2-61: {"type":"EOFTk"}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-173",
  "2": {
    "tokens": [
      {
        "type": "EOFTk"
      }
    ]
  }
}
{
  "0": "maybeSyncReturn transforming",
  "1": "c-173",
  "2": {
    "tokens": [
      {
        "type": "EOFTk"
      }
    ]
  }
}
{
  "0": "firstAccum",
  "1": "sync",
  "2": "c-173",
  "3": [
    {
      "type": "EOFTk"
    }
  ]
}
{
  "0": "AsyncTokenTransformManager onChunk",
  "1": "sync",
  "2": [
    {
      "type": "EOFTk"
    }
  ]
}
emitting
{
  "0": "SyncTokenTransformManager.onChunk, input: ",
  "1": [
    {
      "type": "EOFTk"
    }
  ]
}
T:list:end {"type":"EOFTk"}
----closing all lists----
list:RET: [{"type":"EOFTk"}]
T:p-wrap:any: {"type":"EOFTk"}
T:p-wrap:NL: {"type":"EOFTk"}
  p-wrap:NL-count: 0
{
  "0": "SyncTokenTransformManager.onChunk: emitting ",
  "1": [
    {
      "type": "TagTk",
      "name": "p",
      "attribs": [],
      "dataAttribs": {}
    },
    {
      "type": "TagTk",
      "name": "a",
      "attribs": [
        {
          "k": "rel",
          "v": "mw:ExtLink"
        },
        {
          "k": "href",
          "v": "http://en.wikipedia.org/";
        }
      ],
      "dataAttribs": {
        "targetOff": 26,
        "tsr": [
          0,
          43
        ],
        "contentOffsets": [
          26,
          42
        ],
        "a": {
          "href": "http://en.wikipedia.org/";
        },
        "sa": {
          "href": "his is Andrew's test wik"
        }
      }
    },
    "An external link",
    {
      "type": "EndTagTk",
      "name": "a",
      "attribs": [],
      "dataAttribs": {}
    },
    {
      "type": "EndTagTk",
      "name": "p",
      "attribs": [],
      "dataAttribs": {}
    },
    {
      "type": "EOFTk"
    }
  ]
}
---- HTML-61:<chunk> ----
chunk: [
  {
    "type": "TagTk",
    "name": "p",
    "attribs": [],
    "dataAttribs": {}
  },
  {
    "type": "TagTk",
    "name": "a",
    "attribs": [
      {
        "k": "rel",
        "v": "mw:ExtLink"
      },
      {
        "k": "href",
        "v": "http://en.wikipedia.org/";
      }
    ],
    "dataAttribs": {
      "targetOff": 26,
      "tsr": [
        0,
        43
      ],
      "contentOffsets": [
        26,
        42
      ],
      "a": {
        "href": "http://en.wikipedia.org/";
      },
      "sa": {
        "href": "his is Andrew's test wik"
      }
    }
  },
  "An external link",
  {
    "type": "EndTagTk",
    "name": "a",
    "attribs": [],
    "dataAttribs": {}
  },
  {
    "type": "EndTagTk",
    "name": "p",
    "attribs": [],
    "dataAttribs": {}
  },
  {
    "type": "EOFTk"
  }
]
T:html: {"type":"TagTk","name":"p","attribs":[],"dataAttribs":{"tagId":1}}
inserting shadow meta for p
T:html:
{"type":"TagTk","name":"a","attribs":[{"k":"rel","v":"mw:ExtLink"},{"k":"href","v":"http://en.wikipedia.org/"}],"dataAttribs":{"targetOff":26,"tsr":[0,43],"contentOffsets":[26,42],"a":{"href":"http://en.wikipedia.org/"},"sa":{"href":"his
is Andrew's test wik"},"tagId":2}}
inserting shadow meta for a
T:html: "An external link"
T:html: {"type":"EndTagTk","name":"a","attribs":[],"dataAttribs":{}}
inserting shadow meta for a
T:html: {"type":"EndTagTk","name":"p","attribs":[],"dataAttribs":{}}
inserting shadow meta for p
T:html: {"type":"EOFTk"}
---- HTML-61:</chunk> ----
{
  "0": "AsyncTokenTransformManager.onEndEvent: synchronous done",
  "1": null
}
---- DOM: after tree builder ----
<html><head></head><body
data-parsoid="{}"><!--{"@type":"mw:shadow","attrs":[{"name":"typeof","value":"mw:StartTag"},{"name":"data-stag","value":"body:undefined"}]}--><p
data-parsoid="{&quot;tagId&quot;:1}"><!--{"@type":"mw:shadow","attrs":[{"name":"typeof","value":"mw:StartTag"},{"name":"data-stag","value":"p:1"}]}--><a
rel="mw:ExtLink" href="http://en.wikipedia.org/";
data-parsoid="{&quot;targetOff&quot;:26,&quot;tsr&quot;:[0,43],&quot;contentOffsets&quot;:[26,42],&quot;a&quot;:{&quot;href&quot;:&quot;http://en.wikipedia.org/&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;his
is Andrew's test
wik&quot;},&quot;tagId&quot;:2}"><!--{"@type":"mw:shadow","attrs":[{"name":"typeof","value":"mw:StartTag"},{"name":"data-stag","value":"a:2:0,43"}]}-->An
external
link</a><!--{"@type":"mw:shadow","attrs":[{"name":"data-parsoid","value":"{}"},{"name":"typeof","value":"mw:EndTag"},{"name":"data-etag","value":"a"}]}--></p><!--{"@type":"mw:shadow","attrs":[{"name":"data-parsoid","value":"{}"},{"name":"typeof","value":"mw:EndTag"},{"name":"data-etag","value":"p"}]}--></body></html>
--------------------------------
------ DOM: pre-DSR -------
<head data-parsoid="{&quot;tmp&quot;:{}}"></head><body
data-parsoid="{&quot;tmp&quot;:{}}"><p
data-parsoid="{&quot;tagId&quot;:1,&quot;tmp&quot;:{}}"><a rel="mw:ExtLink"
href="http://en.wikipedia.org/";
data-parsoid="{&quot;targetOff&quot;:26,&quot;tsr&quot;:[0,43],&quot;contentOffsets&quot;:[26,42],&quot;a&quot;:{&quot;href&quot;:&quot;http://en.wikipedia.org/&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;his
is Andrew's test wik&quot;},&quot;tagId&quot;:2,&quot;tmp&quot;:{}}">An
external link</a></p></body>
----------------------------
WARNING: DSR inconsistency: cs/s mismatch for node: A s: 26; cs: 40
------ DOM: post-DSR -------
<head data-parsoid="{&quot;tmp&quot;:{}}"></head><body
data-parsoid="{&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><p
data-parsoid="{&quot;tagId&quot;:1,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><a
rel="mw:ExtLink" href="http://en.wikipedia.org/";
data-parsoid="{&quot;targetOff&quot;:26,&quot;tsr&quot;:[0,43],&quot;contentOffsets&quot;:[26,42],&quot;a&quot;:{&quot;href&quot;:&quot;http://en.wikipedia.org/&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;his
is Andrew's test
wik&quot;},&quot;tagId&quot;:2,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,26,1]}">An
external link</a></p></body>
----------------------------
------ DOM: pre-encapsulation -------
<head data-parsoid="{&quot;tmp&quot;:{}}"></head><body
data-parsoid="{&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><p
data-parsoid="{&quot;tagId&quot;:1,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><a
rel="mw:ExtLink" href="http://en.wikipedia.org/";
data-parsoid="{&quot;targetOff&quot;:26,&quot;tsr&quot;:[0,43],&quot;contentOffsets&quot;:[26,42],&quot;a&quot;:{&quot;href&quot;:&quot;http://en.wikipedia.org/&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;his
is Andrew's test
wik&quot;},&quot;tagId&quot;:2,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,26,1]}">An
external link</a></p></body>
----------------------------
------ DOM: post-encapsulation -------
<head data-parsoid="{&quot;tmp&quot;:{}}"></head><body
data-parsoid="{&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><p
data-parsoid="{&quot;tagId&quot;:1,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,0,0]}"><a
rel="mw:ExtLink" href="http://en.wikipedia.org/";
data-parsoid="{&quot;targetOff&quot;:26,&quot;tsr&quot;:[0,43],&quot;contentOffsets&quot;:[26,42],&quot;a&quot;:{&quot;href&quot;:&quot;http://en.wikipedia.org/&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;his
is Andrew's test
wik&quot;},&quot;tagId&quot;:2,&quot;tmp&quot;:{},&quot;dsr&quot;:[0,57,26,1]}">An
external link</a></p></body>
----------------------------
completed parsing of localhost:Main_Page in 258 ms

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to