Opened 11 years ago

Closed 10 years ago

#8873 closed defect (fixed)

Robot does strange things to <html> class

Reported by: bill Owned by: bill
Priority: high Milestone: 1.4
Component: TestFramework Version: 1.3.0b3
Keywords: Cc:
Blocked By: Blocking:

Description

I noticed this in firebug when running Dialog_a11y.html:

<html class="dj_gecko dj_ff3 dj_contentbo& dohRobot">

Later the "dohRobot" changed to "undefined", but the strangest part is how the "x" from contentbox is cut-off, and the & sign.

Change History (4)

comment:1 Changed 11 years ago by bill

Owner: changed from alex to haysmark

comment:2 Changed 10 years ago by bill

It's from util/doho/robot.js, _initRobot():

document.documentElement.className = document.documentElement.className.replace(/\S$/, "& ") + "dohRobot";

(BTW, IIRC I saw this on firefox mac 3.0.7)

comment:3 Changed 10 years ago by bill

Milestone: tbd1.4
Owner: changed from haysmark to bill
Status: newassigned

comment:4 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [18839]) Fix adding of "dohRobot" class to document of main page. Fixes #8873 !strict.

Note: See TracTickets for help on using tickets.