Import patch from legacy webOS to parse window features correctly

Code taken from https://github.com/isis-project/WebKit/commit/70c2dad297ab7de2cbb4892683a1b487336ad556

Signed-off-by: Simon Busch <morphis@gravedo.de>