You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we avoid this in the future? What is this test really testing? It’s not supposed to test RegExp flag support, but implicit get calls to a Proxy (from the flags getter), right? So why not limit the test to one or two well-supported flags? For example:
Of course, the actual code would probably use var, and other more compatible constructs.
By the way, in the current test, there’s also a typo: // Sorted alphabetically by shortname – "gumsuy".. That should be “gimsuy”, or with the additional flag: “dgimsuy”, but of course this may become obsolete, depending on how the updated test is implemented.
The text was updated successfully, but these errors were encountered:
hasIndices
(thed
flag) is a new RegExp flag supported in pre-release versions of major browsers. It’s causing the “RegExp.prototype.flags” test in the “Proxy, internal 'get' calls” section to fail again (see #1208).How can we avoid this in the future? What is this test really testing? It’s not supposed to test RegExp flag support, but implicit
get
calls to a Proxy (from theflags
getter), right? So why not limit the test to one or two well-supported flags? For example:Of course, the actual code would probably use
var
, and other more compatible constructs.By the way, in the current test, there’s also a typo:
// Sorted alphabetically by shortname – "gumsuy".
. That should be “gimsuy”, or with the additional flag: “dgimsuy”, but of course this may become obsolete, depending on how the updated test is implemented.The text was updated successfully, but these errors were encountered: