gstcefsrc
gstcefsrc copied to clipboard
Allow commas in chrome flags
Before:
gstcefsrc.SetProperty("chrome-extra-flags", "disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees")
Adding switch with value disable-features=site-per-process
Adding flag TranslateUI
Adding flag BlinkGenPropertyTrees
After:
gstcefsrc.SetProperty("chrome-extra-flags", "disable-features=site-per-process|TranslateUI|BlinkGenPropertyTrees")
Adding switch with value disable-features=site-per-process,TranslateUI,BlinkGenPropertyTrees
Ah, I see, that's a bit of a bummer :( Are there any guarantees that |
will indeed not occur in values ?
Ah, I see, that's a bit of a bummer :( Are there any guarantees that
|
will indeed not occur in values ?
No guarantees, but generally the list flags are comma separated. I considered trying to escape the commas instead but my c++ is pretty rusty
I see. Would turning the property into an array of strings instead solve the issue?