View Issue Details

IDProjectCategoryView StatusLast Update
0028712RunnerVariables (In-Built)Public2018-10-30 11:57
ReporterStewart BishopAssigned ToAlan Savage 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformHTML5OSOS Version
Product Version2.1.3 
Target Version2.2.1Fixed in Version2.2.1 
Summary0028712: Variables: os_browser detects Opera as Chrome
DescriptionOpera is detected as Chrome in HTML5. I think this bug exists since Opera went webkit. So doing something like var a = (os_browser == browser_chrome); returns true in Opera which is of course unexpected.
Steps To Reproduce1) Install Opera if you've not got it installed
2) Add Opera as a browser to GMS2
3) Target Opera as your browser in the target manager
4) Run the project in HTML5
5) See that the pop up for Chrome shows
Tagshtml5, Runner
1.4 Found In1.4.1773
2.x Runtime Found In2.1.3.189
2.x Runtime Verified In2.2.1.269


Stewart Bishop

2018-01-15 10:16


operaB.yyz (10,917 bytes)


2018-02-21 09:55

Viewer   ~0057821

Last edited: 2018-02-21 09:55

View 2 revisions

This is not wrong - it's Blink rather than webkit (, but otherwise Opera is an exact match of Chrome at this point - it has no browser-specific quirks.

It could be told apart by presence of "OPR/<version number>" in navigator.userAgent string, but I'm not sure if it should be - historically this was used to workaround issues with HTML5 features in Opera's original implementation.