Advertise the presence of origin trials when accessed while disabled. |
|||||||||
Issue descriptionThe fix for issue 584367 also removed the console message that was emitted when disabled origin trial attributes were accessed. We should be able to add that functionality back, without actually adding symbols to the global namespace (or navigator, or internals, or any other objects) by watching for access to specific names on window or navigator, and issuing a console message if code attempts to use them. I believe that this is possible by hooking into the namedPropertyGetter for V8Window, which will not add any properties to the object, and will not cause expressions like 'property in window' to become true, but can have other side effects, like logging to the console.
,
Jun 2 2016
,
Jun 2 2016
Is adding an interceptor for V8Navigator out of the question? I'm sure that access to navigator is performance-sensitive, but then I would expect window to be as well.
,
Jul 7 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 31 2017
,
Aug 16 2017
,
Aug 17 2017
,
Aug 17 2017
,
Aug 20
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 20
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by esprehn@chromium.org
, Jun 2 2016