-
Notifications
You must be signed in to change notification settings - Fork 0
Cleanup a whole load of stuff #1
base: master
Are you sure you want to change the base?
Conversation
The change in Indexer.py is a best guess of what is intended!
There's a few minor behaviour changes: paths aren't compared with the various patterns case-insensitively now (this effects nothing in csswg-test), and the exact syntax of reftest filenames has changed (this fixes mediaqueries-3/ref.html so that it is picked up as a reference). This keeps the existing SourceTree class API for the moment. We should probably eventually drop it, as it really doesn't make sense for it to be a class.
This seems to currently change the encoding of a fair number of files. I have no idea why, currently. |
Seems like 1fdfc03 changed encoding behaviour. I don't actually know what use of |
We're still dropping BOMs which we seem to not have done previously, which will break some tests. |
Though dropping UTF-8 BOMs doesn't matter because |
@Ms2ger do you wanna have a look over this before I try and get this all landed? this should be pure cleanup of the code, and no significant behavioural changes (the only significant change is the fact that a Suite now has only one Group in it). |
More breakage:
Doesn't appear to be output as UTF-8 any more. Hmm. Similar: |
These both have |
Hmm, html spec nowadays does 500ms or 1024 bytes. Wonder when that changed? |
So this PR depends on html5lib/html5lib-python#238. |
Except that can't be, because it shouldn't have any real observable effect. Hmmm. |
html5lib/html5lib-python#241 is it. |
In addition, consider the relpath when caching, as we can't guarantee its identity because it will vary for references.
Because then we can break everything else. Yay!
Should summarise significant changes somewhere…