Probably not worth it to add dedicated cores for web processing, but iPhone already takes advantage of special ARM instructions for faster JavaScript execution [0]. That will almost certain be used on the new ARM Macs.
[1] https://twitter.com/saambarati/status/1049202132522479616?s=...