v8/include
littledan 424ef009a5 Reland of Add web compat workarounds for ES2015 RegExp semantics (patchset #3 id:40001 of https://codereview.chromium.org/1543723002/ )
Unexpectedly, websites depend on doing feature testing with
RegExp.prototype.sticky and browser testing with RegExp.prototype.toString().
ES2015 newly throws exceptions for both of these. In order to enable shipping
new ES2015 semantics, this patch puts in narrow workarounds for those two
cases, keeping their old behavior. UseCounters are added for how often
those particular cases come up, so we can see if it can be deprecated.

This reland replaces problematic legacy const usage with var, to
avoid issues with nosnap builds.

R=yangguo
CC=bmeurer
BUG=v8:4637,v8:4617
LOG=Y
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1545633002

Cr-Commit-Position: refs/heads/master@{#33002}
2015-12-22 09:16:56 +00:00
..
libplatform Revert "Forward declaration for Isolate / Platform in libplatform.h." and "Fixes d8 on windows following.". 2014-11-19 07:28:07 +00:00
OWNERS Add myself to include/OWNERS 2015-04-21 10:05:59 +00:00
v8-debug.h Mark deprecated debugger APIs as such 2015-12-04 15:25:40 +00:00
v8-experimental.h Re-re-land FastAccessorBuilder. 2015-12-11 09:54:00 +00:00
v8-platform.h Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
v8-profiler.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h [presubmit] Fix build/include linter violations. 2015-09-03 07:56:14 +00:00
v8-version.h Update version to 4.9 2015-11-13 14:27:28 +00:00
v8.h Reland of Add web compat workarounds for ES2015 RegExp semantics (patchset #3 id:40001 of https://codereview.chromium.org/1543723002/ ) 2015-12-22 09:16:56 +00:00
v8config.h Unconditionally expand STATIC_ASSERT to the C++11 form. 2015-11-25 17:16:44 +00:00