Bug 156767

Summary: Replace $vm.printValue() with $vm.value().
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, keith_miller, msaboff, saam
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch. saam: review+

Mark Lam
Reported 2016-04-19 16:11:30 PDT
When debugging with $vm, this change allows us to do this: $vm.print("myObj = " + myObj + "\n"); ... instead of having to do this: $vm.print("myObj = "); $vm.printValue(myObj); $vm.print("\n");
Attachments
proposed patch. (2.48 KB, patch)
2016-04-19 16:19 PDT, Mark Lam
saam: review+
Mark Lam
Comment 1 2016-04-19 16:17:51 PDT
(In reply to comment #0) > When debugging with $vm, this change allows us to do this: > > $vm.print("myObj = " + myObj + "\n"); I meant this change allows us to do this: $vm.print("myObj = " + $vm.value(myObj) + "\n");
Mark Lam
Comment 2 2016-04-19 16:19:50 PDT
Created attachment 276772 [details] proposed patch.
Mark Lam
Comment 3 2016-04-19 16:32:11 PDT
Thanks for the review. Landed in r199745: <http://trac.webkit.org/r199745>.
Note You need to log in before you can comment on or make changes to this bug.