Re: [ServiceWorker] Can we change the body attribute of Request/Response to a method? (#606)

Thanks for the example, Domenic. In Blink's V8 binding, we implement "getter"/"setter" for attributes in C++. It's exposed as a data property but when it's requested to return a value, asks the C++ impl to build the value. We've been calling them "getter". Sorry for confusing.

Right. Properties seen as accessor properties from V8's point of view are not printed by DevTools. This is just a problem with Blink V8 binding.

Now the issue posed by Horo is no longer spec issue. We can close this. It still looks better to me when `.body` is used in the form of `.body()` but it doesn't really matter.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/606#issuecomment-71616459

Received on Tuesday, 27 January 2015 09:38:19 UTC