- 16 May, 2011 1 commit
-
-
rossberg@chromium.org authored
TODO: reflective Object methods not handled yet. BUG= TEST= Review URL: http://codereview.chromium.org/7035007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7902 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Mar, 2011 1 commit
-
-
danno@chromium.org authored
Ensure that all objects that had the same map before attaching an external array have the same map once the external array is attached. BUG=75639 TEST=fast/canvas/webgl/uninitialized-test.html Review URL: http://codereview.chromium.org/6685073 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7318 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Feb, 2011 1 commit
-
-
ager@chromium.org authored
other situations. Do not use overwritten Object.prototype.hasOwnProperty and Array.prototype.pop. Do not use split and join in the error formatting implementation. They are too big to control and their generality is not needed. Review URL: http://codereview.chromium.org/6287041 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Jan, 2011 1 commit
-
-
ager@chromium.org authored
builtins files. We should always use %_CallFunction for a couple of reasons: it cannot be overwritten and it does not wrap basic types in wrapper objects. Review URL: http://codereview.chromium.org/6349018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Dec, 2010 1 commit
-
-
sandholm@chromium.org authored
Review URL: http://codereview.chromium.org/5977006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6111 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 14 Dec, 2010 1 commit
-
-
peter.rybin@gmail.com authored
Review URL: http://codereview.chromium.org/5733001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Oct, 2010 1 commit
-
-
ricow@chromium.org authored
This is a cosmetic change only. Review URL: http://codereview.chromium.org/3797009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Jun, 2010 1 commit
-
-
sgjesse@chromium.org authored
With the change in r4820 all return statements are now breakable like any statement, so stepping will stop before the return statement actually returning from a function. With this change the position when breaking in the function return (after executing the return statement) will be the actual end of the function. At this point the return value is available as it saved to the stack by the debug break at return handling. Added information on the actual value returned from the function to the debugger. Review URL: http://codereview.chromium.org/2783002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4835 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Apr, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
in case script name is missing. BUG=http://crbug.com/39290 Author: Andrey Kosyakov (caseq@chromium.org) Original issue: http://codereview.chromium.org/1303003 TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/1527007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4337 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Mar, 2010 1 commit
-
-
kmillikin@chromium.org authored
Removed trailing whitespace using regexp replace. No other changes. Review URL: http://codereview.chromium.org/1559006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Mar, 2010 1 commit
-
-
kasperl@chromium.org authored
now, the custom call generator stuff is disabled. Review URL: http://codereview.chromium.org/1094014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4217 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 19 Feb, 2010 1 commit
-
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/647022 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3919 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Feb, 2010 1 commit
-
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/596088 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3850 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Feb, 2010 1 commit
-
-
yurys@chromium.org authored
Correctly set eval_from_shared value when new function is created by "new Function(...)". At the moment it's set to the native script where the Function is defined(v8natives.js) which doesn't make much sense for the user when he tries to debug his code. Moreover, it causes an exception in JSONProtocolSerializer.prototype.serialize_. Related Chromium bug: http://crbug.com/29062 Review URL: http://codereview.chromium.org/551227 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Jan, 2010 1 commit
-
-
mikhail.naganov@gmail.com authored
Submit Object.getOwnPropertyNames patch by Pavel Feldman. See http://codereview.chromium.org/549050. Add copyright to regression test to fix build broken by r3619. TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/542092 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 01 Dec, 2009 1 commit
-
-
sgjesse@chromium.org authored
For scripts originating from a call to eval the Script object used to hold a reference to the function from where the eval was called together with the code offset within that function of the eval call. This is used by the stack trace and is part of the debugger protocol. In order to avoid storing the function the script, the position within the script and the name of the function calling eval is stored instead. This avoids holding context dependent objects in the script object. The calculation of the position of the eval in the script holding the eval is now done when the eval script is compiled as it is not possible to postpone this unless a reference is kept to the generated code for the function calling eval. BUG=http://code.google.com/p/v8/issues/detail?id=528 TEST=cctest/test-api/Regress528 Review URL: http://codereview.chromium.org/450034 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3393 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 30 Oct, 2009 1 commit
-
-
peter.rybin@gmail.com authored
Review URL: http://codereview.chromium.org/341024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3189 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 13 Oct, 2009 1 commit
-
-
yurys@chromium.org authored
Check that constructor is a FunctionMirror before calling .name(), otherwise we may end up calling name method on a mirror object that doesn't have it. Review URL: http://codereview.chromium.org/271053 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3057 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Sep, 2009 1 commit
-
-
erik.corry@gmail.com authored
* Be more var-correct in JS files. * Rename some JS variables to reflect the fact that they are instance variables on the global intrinsics object. * Missing optimization in StringCharAt. Review URL: http://codereview.chromium.org/215052 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2959 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Sep, 2009 1 commit
-
-
yurys@chromium.org authored
Removed a false assertion in ScopeIterator that assumed context extension to never be a JSContextExtensionObject. The context extension object in a 'with' context is JSContextExtensionObject iff the 'with' statement is generated from a catch block in order to extend its local scope with a variable holding exception object. This is how we differentiate 'catch' scope from 'with' scope. Chrome bug: http://code.google.com/p/chromium/issues/detail?id=17229 Review URL: http://codereview.chromium.org/202005 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2843 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 29 Jun, 2009 1 commit
-
-
kasperl@chromium.org authored
custom %HasXXXClass() calls. Review URL: http://codereview.chromium.org/151018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2293 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 23 Jun, 2009 1 commit
-
-
yurys@chromium.org authored
Introduce an argument that allows to include some data neccessary for displaying collapsed scope variables values in graphical debugger. When request has 'inlineRefs' option simple type values will be written in the response directly. Variables of other types in addition to 'ref' property containing the value handle will contain some type information. Review URL: http://codereview.chromium.org/140061 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2253 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jun, 2009 1 commit
-
-
yurys@chromium.org authored
Sending scope types and object refs costs nothing but would save us request that should be send to retrieve scopes informations for each frame in 'backtrace' response. Review URL: http://codereview.chromium.org/131107 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2237 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 18 Jun, 2009 1 commit
-
-
sgjesse@chromium.org authored
When collecting the result for a scripts request check that scripts compiled through eval actually have a script for the function they where eval'ed in before adding that informaiton to the response. BUG=http://crbug.com/14388 TEST=none Review URL: http://codereview.chromium.org/135001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2218 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Jun, 2009 1 commit
-
-
sgjesse@chromium.org authored
For each frame it is now possible to request information on the scope chain. Each scope in the chain can have one of the types local, global, with and closure. For scopes of type global and with the mirror for the actual global or with object is available. For scopes of type local and closure a plain JavaScript object with the materialized content of the scope is created and its mirror is returned. Depending on the level of possible optimization the content of the materialized local and closure scopes might only contain the names which are actually used. To iterate the scope chain an iterator ScopeIterator have been added which can provide the type of each scope for each part of the chain. This iterator creates an artificial local scope whenever that is present as the context chain does not include the local scope. To avoid caching the mirror objects for the materialized the local and closure scopes transient mirrors have been added. They have negative handles and cannot be retrieved by subsequent lookup calls. Their content is part of a single response. For debugging purposes an additional runtime function DebugPrintScopes is been added. Added commands 'scopes' and 'scope' to the developer shell and fixed the dir command. BUG=none TEST=test/mjsunit/debug-scopes.js Review URL: http://codereview.chromium.org/123021 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 08 Jun, 2009 1 commit
-
-
sgjesse@chromium.org authored
Scripts now have a compilation type which can be host, eval or JSON. Host scripts are compiled through the API, eval scripts are compiled through call to evan and JSON scripts are compiled as a result of calling JSON.parse. For scripts scripts compiled through eval the JavaScript function in top of the stack and the pc offset into the code is stored in the script object. This makes it possible to calculate the source position of the eval call later when requested. This information can be obtained through the script mirror object and is part of the script mirror JSON serialization for the debugger protocol. Moved the enumeration ScripType into class Script and remamed to Type. The new compilation type enumeration is also inside the class Script. This information is now shown when using the scripts command in he developer shell debugger. Review URL: http://codereview.chromium.org/119108 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 May, 2009 2 commits
-
-
yurys@chromium.org authored
If 'compactFormat' argument is passed in the request the response won't include referenced mirrors in the refs section instead each protocol reference object will contain some details necessary for displaying the referenced object in the graphical debugger when the object is not expanded. That allows to request full information lazily when the object is expanded. Review URL: http://codereview.chromium.org/115401 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
yurys@chromium.org authored
MirrorSerializer now converts mirrors to plain JS objects. This objects are serialized to json string using JSON.stringify. Review URL: http://codereview.chromium.org/113399 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1957 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 06 May, 2009 1 commit
-
-
sgjesse@chromium.org authored
Added a simple initial version of a context mirror object which just holds the user data from the context, and does not preserve handle identity. A script object now holds a reference to the custom data from the context it was compiled in. This data is included in the debugger protocol for scripts. Changed the serialization for the scripts command to use the mirror objects instaed of custom serialization. This included passing options from the debugger request to the serializer for including the full source of scripts in the response. Review URL: http://codereview.chromium.org/111001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1877 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 May, 2009 1 commit
-
-
yurys@chromium.org authored
Review URL: http://codereview.chromium.org/109026 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1871 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Apr, 2009 1 commit
-
-
sgjesse@chromium.org authored
Review URL: http://codereview.chromium.org/90003 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1748 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 15 Apr, 2009 1 commit
-
-
yurys@chromium.org authored
To resolve functions from the call stack we need at least ids for the scripts of those functions. The information on the scripts is now included into the response. Review URL: http://codereview.chromium.org/65006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 12 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
During the refactoring in r1461 and adding of script ids in r1468 the propagation of a boolean flag was missing. This caused the line numbers retreived through ScriptMirror objects to ignore the resource line offset information in the script. Added an explicit false parameter where the parameter was previously left out. Added a test case for this. Review URL: http://codereview.chromium.org/43130 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1499 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 10 Mar, 2009 1 commit
-
-
sgjesse@chromium.org authored
Whenever a script object is created it is assigned a unique id. Currently this id is assigned from an 32 bit integer counter. Changed the script break points to be able to handle both break points based on script names and script ids. When break points are set through a script id the position is relative to the script itself. This is different from the script break points set through script names where the line/coulmn offset is taken into account. This has the side effect that function break points are not converted into script break points for named scripts. Show the script id in the D8 shell debugger when listing all scripts using the 'scripts' command. Review URL: http://codereview.chromium.org/40317 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1468 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 05 Feb, 2009 2 commits
-
-
sgjesse@chromium.org authored
Added the 'references' command to the debugger protocol to provide access to the mirror features of retreiving all the objects referencing a given object and all objects instantiated by a given function. Added commands 'references' and 'instances' to the developer shell for using this new debugger protocol command. Review URL: http://codereview.chromium.org/21080 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1234 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
sgjesse@chromium.org authored
The script mirror is now created through MakeMirror like all other mirrors preserving handle identity. Added a couple of properties to the script mirror and added some more tests for the script mirror. Review URL: http://codereview.chromium.org/21074 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1227 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 28 Jan, 2009 1 commit
-
-
deanm@chromium.org authored
This imports a Python version of Douglas Crockford's JSMin. JavaScript files can annotate that they want to be run through the minifier. Currently debug and mirror are minified. This results in ~12k savings on the final binary size. Review URL: http://codereview.chromium.org/19013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1179 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 26 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
Added a test for testing handles when using both the 'evaluate' and the 'lookup' request. Review URL: http://codereview.chromium.org/18752 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1153 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 22 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
Added handling of hidden prototype objects when collecting local properties for an object mirror. The property names provided by an object mirror now includes all properties from the object and any hidden prototypes merged together. Changed the name of Runtime_GetPrototype to Runtime_DebugGetPrototype to indicate that it is a debugger related function and changed its implementation to do the correct __proto__ lookup. Added some more information to the Map debug print. Review URL: http://codereview.chromium.org/18658 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-
- 21 Jan, 2009 1 commit
-
-
sgjesse@chromium.org authored
When getting properties for the global object proxy the properties from the global object are returned. Script objects now have handles and are serialized by reference. Added special handling for NaN. Review URL: http://codereview.chromium.org/18445 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1116 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
-