Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Attributerrror for Chromium browser (web-platform-tests#33912)
self.last_url_used is compared with None but is never initialized to None in class Chromium. This means that if the comparison is performed before self.last_url_used is set to a valid value, wpt will crash with message AttributeError: 'Chromium' object has no attribute 'last_url_used' This problem can be reproduced with this command line: ./wpt run --binary /usr/bin/chromium chromium An alternate way to fix this would be to add a constructor to Chromium class that initializes self.last_url_used, but this constructor will also have to declare and pass parameters to Chromium's base class(es), that will look more complicated compared to this patch.
- Loading branch information