Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Unified Diff: src/harmony-regexp.js

Issue 788053003: Make `RegExp.prototype.flags` getter configurable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/harmony/regexp-flags.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/harmony-regexp.js
diff --git a/src/harmony-regexp.js b/src/harmony-regexp.js
index a2b172983ec34df4e2e234fa6049d4ed858fc824..a1b32ab2385fff00609428934e6ee21ac140f75b 100644
--- a/src/harmony-regexp.js
+++ b/src/harmony-regexp.js
@@ -28,7 +28,7 @@ function ExtendRegExpPrototype() {
%CheckIsBootstrapping();
%DefineAccessorPropertyUnchecked($RegExp.prototype, 'flags', RegExpGetFlags,
- null, DONT_ENUM | DONT_DELETE);
+ null, DONT_ENUM);
%SetNativeFlag(RegExpGetFlags);
}
« no previous file with comments | « no previous file | test/mjsunit/harmony/regexp-flags.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698