HTMLVideoElement width and height attributes were originally signed, now they are unsigned. http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#htmlvideoelement
Created attachment 23653 [details] proposed patch
Comment on attachment 23653 [details] proposed patch You need to change the c++ files to return unsigned as well. r-
Created attachment 23656 [details] Revised patch Update c++ files to take and return unsigned, make videoWidth and videoHeight return unsigned to match idl.
Comment on attachment 23656 [details] Revised patch + unsigned w = getAttribute(widthAttr).toInt(&ok); + unsigned h = getAttribute(heightAttr).toInt(&ok); These need to use toUInt().
Created attachment 23801 [details] Revised patch Convert all unsigned attributes with toUInt().
Comment on attachment 23801 [details] Revised patch Woot! r=me
Third time was a charm. Committed as revision 37030.