User tests: Successful: Unsuccessful:
no test
Pull Request for Issue # .
add support new edge
code review
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries Unit Tests |
| Labels |
Added:
?
?
|
||
fixed the codestyle
How about using existing code to handle the new version as follows:
if (preg_match('|Edg(e)?\/([0-9.]+)|', $this->agent, $version))
{
$this->setBrowser('edg' . $version[1]);
if (strpos($version[2], '.') !== false)
{
list($this->majorVersion, $this->minorVersion) = explode('.', $version[2]);
}
else
{
$this->majorVersion = $version[2];
$this->minorVersion = 0;
}
}
if (preg_match('|Edg(e)?\/([0-9.]+)|', $this->agent, $version))
Edge will stay at 2 different versions <75 Will be the edge html, and above 75 will use the blink html.
$this->setBrowser('edg' . $version[1]);
It will be set to edge or edg accordingly.
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-23 16:56:30 |
| Closed_By | ⇒ | HLeithner | |
| Labels |
Removed:
J3 Issue
|
||
thx
For completeness, joomla-framework/application#86 added the same for the
Joomla\Application\Web\WebClientclass and I went ahead and tagged a new release with that included. So if someone wants to do thecomposer updatethen both browser detection libraries will have this addition once this PR and the upstream change are applied.