Add WorkerSettings to expose certain flag values in WorkerGlobalScope
Currently, Settings() can only be accessed from main thread. So I introduce
WorkerSettings, such that when WorkerGlobalScope is started,
certain flag values can be passed on to be exposed in worker.
Right now, there is only one flag disableReadingFromCanvas in WorkerSettings (
OffscreenCanvas requires access to the value of flag disableReadingFromCanvas in
order to determine the value of originClean(), regardless of being on main or
worker thread); but it will be convenient for other developers who want to add
more.
BUG=
607575