- 20 Feb, 2009 1 commit
-
-
lrn@chromium.org authored
Fix bug found by test. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1327 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Feb, 2009 1 commit
-
-
iposva@chromium.org authored
since we can now transform String objects to be external when needed. Review URL: http://codereview.chromium.org/21285 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1260 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Feb, 2009 1 commit
-
-
iposva@chromium.org authored
create copies in the embedding code (aka WebKit V8 bindings) on every external use. Review URL: http://codereview.chromium.org/21117 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1252 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jan, 2009 1 commit
-
-
ager@chromium.org authored
right context. Review URL: http://codereview.chromium.org/18591 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1157 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jan, 2009 2 commits
-
-
feng@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1089 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
feng@chromium.org authored
The problem is that Disable/EnableAccessCheck on an object may chnage its constructor's behavior if object's map is the same as constructor's initial map. By copying maps, the constructor's initial map is not changed. Review URL: http://codereview.chromium.org/18067 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1087 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Dec, 2008 1 commit
-
-
ager@chromium.org authored
calling a stub. The map to check against is unknown when generating the code, so we patch the map check in the IC initialization code. Loop nesting is currently not tracked on ARM. I'll file feature request bug reports for implementing this on ARM and add the number to the TODOs before I commit. Review URL: http://codereview.chromium.org/16409 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1015 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 11 Dec, 2008 1 commit
-
-
ager@chromium.org authored
user. The API should never change templates behind the back of the user. Review URL: http://codereview.chromium.org/13741 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@963 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Dec, 2008 1 commit
-
-
ager@chromium.org authored
dictionary probing respects access check bit. Review URL: http://codereview.chromium.org/13663 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@955 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Dec, 2008 2 commits
-
-
olehougaard authored
Removed a few calls to Top::ReportPendingMessages() that caused the messages to be reported prematurely and not at the C++/JS boundary. Review URL: http://codereview.chromium.org/13287 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@954 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Fixing a bug where a try-finally block obscured a try-catch block when registering an external try-catch handler. Review URL: http://codereview.chromium.org/13658 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@945 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Dec, 2008 2 commits
-
-
olehougaard authored
Review URL: http://codereview.chromium.org/13173 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@924 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Review URL: http://codereview.chromium.org/13125 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 04 Dec, 2008 2 commits
-
-
ager@chromium.org authored
issue has been resolved and these changes can go back in along with the fix tomorrow. TBR=olehougaard Review URL: http://codereview.chromium.org/12945 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Reporting uncaught errors at the boundary between C++ and JS instead of trying to guess whether they get caught at the time of the throw. Review URL: http://codereview.chromium.org/12901 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@915 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 27 Nov, 2008 1 commit
-
-
olehougaard authored
Review URL: http://codereview.chromium.org/12673 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@860 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Nov, 2008 2 commits
-
-
ager@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@823 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Fixing the semantics of aliased eval so that it is conformant. Review URL: http://codereview.chromium.org/11563 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@819 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 20 Nov, 2008 1 commit
-
-
ager@chromium.org authored
not to return functions that have not been loaded. This fixes crashes on expedia.com: http://code.google.com/p/chromium/issues/detail?id=4526 Review URL: http://codereview.chromium.org/11272 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Nov, 2008 3 commits
-
-
olehougaard authored
Review URL: http://codereview.chromium.org/11227 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Review URL: http://codereview.chromium.org/11601 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
iposva@chromium.org authored
that v8::V8::Initialize() does not have to be called to allow pre-compilation. Currently this test would fail, which is why a workaround has been applied and a bug filed. Review URL: http://codereview.chromium.org/11441 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@779 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 17 Nov, 2008 4 commits
-
-
ager@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@776 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
feng@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@775 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@773 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
This might be a big win in a browser setting where a lot of string conversions can be avoided. On the other hand it adds extra pressure on the global handle system. Review URL: http://codereview.chromium.org/11404 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@772 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Nov, 2008 1 commit
-
-
olehougaard authored
Restrict application of eval so it can only be used in the context of the global object. For compatibility. Review URL: http://codereview.chromium.org/10748 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@757 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 31 Oct, 2008 2 commits
-
-
olehougaard authored
Review URL: http://codereview.chromium.org/8962 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
olehougaard authored
Also, fix JSObject::getPropertyAttribute() so it deals correctly with access control modifiers. Review URL: http://codereview.chromium.org/8834 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@665 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Oct, 2008 1 commit
-
-
ager@chromium.org authored
defined in JavaScript code by using __defineGetter__ and __defineSetter__. Also, disable access checks when configuring objects created from templates. Review URL: http://codereview.chromium.org/8914 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@656 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 24 Oct, 2008 2 commits
-
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@585 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
version range for which the bug is known to exist. Added include to compile with GCC 4.3.1. BUG=122 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@583 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Oct, 2008 3 commits
-
-
kasperl@chromium.org authored
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
the enumerable properties of an object. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@568 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
christian.plesner.hansen@gmail.com authored
- Changed WeakReferenceCallback to take a Persistent<Value> instead of a Persistent<Object>. - Removed Message::GetUnderline and Message::GetScriptData. - Added Value::IsDate, Date::Cast and Date::Value. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Oct, 2008 2 commits
-
-
feng@chromium.org authored
TBR=iposva Review URL: http://codereview.chromium.org/7830 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@543 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
feng@chromium.org authored
Here is a description of the background and design of split window in Chrome and V8: https://docs.google.com/a/google.com/Doc?id=chhjkpg_47fwddxbfr This change list splits the window object into two parts: 1) an inner window object used as the global object of contexts; 2) an outer window object exposed to JavaScript and accessible by the name 'window'. Firefox did it awhile ago, here are some discussions: https://wiki.mozilla.org/Gecko:SplitWindow. One additional benefit of splitting window in Chrome is that accessing global variables don't need security checks anymore, it can improve applications that use many global variables. V8 support of split window: There are a small number of changes on V8 api to support split window: Security context is removed from V8, so does related API functions; A global object can be detached from its context and reused by a new context; Access checks on an object template can be turned on/off by default; An object can turn on its access checks later; V8 has a new object type, ApiGlobalObject, which is the outer window object type. The existing JSGlobalObject becomes the inner window object type. Security checks are moved from JSGlobalObject to ApiGlobalObject. ApiGlobalObject is the one exposed to JavaScript, it is accessible through Context::Global(). ApiGlobalObject's prototype is set to JSGlobalObject so that property lookups are forwarded to JSGlobalObject. ApiGlobalObject forwards all other property access requests to JSGlobalObject, such as SetProperty, DeleteProperty, etc. Security token is moved to a global context, and ApiGlobalObject has a reference to its global context. JSGlobalObject has a reference to its global context as well. When accessing properties on a global object in JavaScript, the domain security check is performed by comparing the security token of the lexical context (Top::global_context()) to the token of global object's context. The check is only needed when the receiver is a window object, such as 'window.document'. Accessing global variables, such as 'var foo = 3; foo' does not need checks because the receiver is the inner window object. When an outer window is detached from its global context (when a frame navigates away from a page), it is completely detached from the inner window. A new context is created for the new page, and the outer global object is reused. At this point, the access check on the DOMWindow wrapper of the old context is turned on. The code in old context is still able to access DOMWindow properties, but it has to go through domain security checks. It is debatable on how to implement the outer window object. Currently each property access function has to check if the receiver is ApiGlobalObject type. This approach might be error-prone that one may forget to check the receiver when adding new functions. It is unlikely a performance issue because accessing global variables are more common than 'window.foo' style coding. I am still working on the ARM port, and I'd like to hear comments and suggestions on the best way to support it in V8. Review URL: http://codereview.chromium.org/7366 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@540 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 09 Oct, 2008 1 commit
-
-
erik.corry@gmail.com authored
object then we just return an out of memory failure object (instead of a retry after GC failure object). Not all places that checked for retry-after-GC were able to handle an immediate out of memory failure. This fixes http://code.google.com/p/v8/issues/detail?id=70 Review URL: http://codereview.chromium.org/6340 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@477 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 03 Oct, 2008 2 commits
-
-
sgjesse@chromium.org authored
Removed the print, load, quit and version extensions from the VM. Moved the print extension to the compiler test as it was used there. Changed the serializer tests to only use the gc extension. This also gets rid of 8 static initializers. Review URL: http://codereview.chromium.org/6233 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@417 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
ager@chromium.org authored
names. - Set the correct name of library functions. - Set the name of C++ callback functions. - Clean up a couple of out-dated comments related to literal creation. Review URL: http://codereview.chromium.org/6223 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@414 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-