5 ms·
The file was probably https://github.com/WebKit/WebKit/blob/main/Source/WebCore/page/Quirks.cpp https://github.com/WebKit/WebKit/blob/main/Source/WebCore/pa...
by tylerhou 5y ago
The file was probably https://github.com/WebKit/WebKit/blob/main/Source/WebCore/page/Quirks.cpp https://github.com/WebKit/WebKit/blob/main/Source/WebCore/pa...
- codelikeawolf 5y agoI think this was what I referring to. Thank you!
- Noumenon72 5y agoThank you. I didn't really understand the argument of the article until I saw a production usage. I thought he was arguing that arrow code is okay if you add comments, but he's really saying that sometimes a single code path can't handle all the complexity of the world and special cases are OK.
- ck45 5y agoIs there a missing dot in line 189? Otherwise domains like zhulu.com would match, wouldn’t it?
- tylerhou 5y agoSeems like it; I don't work on WebKit, you could submit a patch.
- tuvan 5y agoAs someone from outside the field, this is crazy to me. Why does something as general as WebKit have host specific code?