Re: [webkit-dev] On adding 'console.memory' API (and about the whole 'console' object.)

2010-06-03 Thread Sam Weinig
I should note, I don't think this is possible for JS objects, it certainly would not be possible for arbitrary WebCore/WebKit objects. I noticed the patch was re-landed, which surprises me since we are still discussing it, why was this? -Sam On Thu, Jun 3, 2010 at 5:02 PM, Timothy Hatcher wrote

Re: [webkit-dev] Making changes to our copy of the W3C CSS1 test suite

2010-06-03 Thread Darin Adler
On Jun 3, 2010, at 2:30 PM, Ojan Vafai wrote: > On Wed, Jun 2, 2010 at 6:20 PM, Darin Adler wrote: >1) There’s one directory with a pristine copy of the W3C test suite, with > no WebKit changes. >2) If there are some tests that need to be fixed, fixed copies of those > individual tests

Re: [webkit-dev] On adding 'console.memory' API (and about the whole 'console' object.)

2010-06-03 Thread Timothy Hatcher
Even if that wont prevent Sam's proposed information leak, I think this would be good to do. That way developers only see what they are affecting. Otherwise a developer might chase a red herring if they have Gmail or something open in the background and keep seeing spikes of memory are not caus

Re: [webkit-dev] About fixing "old" layout bugs

2010-06-03 Thread Ojan Vafai
When there are only a couple tests that need new expectations, you can get away with committing your patch with the expectations for the platforms you have access to and then immediately grabbing the new expectations off the buildbots. There is currently no good way to address the cases where your

Re: [webkit-dev] On adding 'console.memory' API (and about the whole 'console' object.)

2010-06-03 Thread Sam Weinig
On Wed, Jun 2, 2010 at 2:45 PM, Mikhail Naganov wrote: > Used memory count can be restricted to include only objects reachable > from the caller execution context. In this case, an app could only see > the amount of memory consumed by itself, not by the whole engine. > I don't think this would ch

Re: [webkit-dev] Making changes to our copy of the W3C CSS1 test suite

2010-06-03 Thread Ojan Vafai
On Wed, Jun 2, 2010 at 6:20 PM, Darin Adler wrote: > >1) There’s one directory with a pristine copy of the W3C test suite, > with no WebKit changes. >2) If there are some tests that need to be fixed, fixed copies of those > individual tests would go into another directory. > So we would k

Re: [webkit-dev] Proposal: Link http header support

2010-06-03 Thread 蓋文彼德斯
David's right, Mozilla has it. https://developer.mozilla.org/en/link_prefetching_faq They support it for rel=next and rel=prefetch. Unfortunate, as I also think rel=subresource matters, and should be distinguished from prefetch for prioritization. - Gavin On Thu, Jun 3, 2010 at 4:15 PM, David

Re: [webkit-dev] Proposal: Link http header support

2010-06-03 Thread David Hyatt
On Jun 2, 2010, at 5:28 PM, Gavin Peters (蓋文彼德斯) wrote: > I don't think I'll share much code . Try to share as much code as you can, assuming it makes sense to do so. We could always refactor common code into something like a CSSStyleSheetLoader class if we needed to. dave (hy...@app

Re: [webkit-dev] Proposal: Link http header support

2010-06-03 Thread David Hyatt
Really? I thought they did, at least for stylesheets. dave On Jun 3, 2010, at 8:14 AM, Gavin Peters (蓋文彼德斯) wrote: > No, no other browsers support it. There's a similar feature in Mozilla, the > LINK rel=prefetch item, but to my knowledge, Mozilla does not support the > Link header. > > On W

Re: [webkit-dev] Support for showModalDialog in WebKit

2010-06-03 Thread Prasad Tammana
Hi Darin - I have a tiny CL related to this, sitting around for a couple of days now - https://bugs.webkit.org/show_bug.cgi?id=40036. Would you be able to review it? Thanks, Prasad On Mon, May 24, 2010 at 10:29 AM, Prasad Tammana wrote: > > On Fri, May 21, 2010 at 8:29 PM, Darin Adler wrote: >

Re: [webkit-dev] How to handle a new protocol for Blob.url support?

2010-06-03 Thread Michael Nordman
Does webcore have a 'protocol handler' abstraction that can be leveraged to add support for a new protocol scheme? I don't think it does, but an abstraction like that may help with this. On Wed, Jun 2, 2010 at 6:19 PM, Jian Li wrote: > This will probably work for most of the platforms, except t

Re: [webkit-dev] Directory upload experimental feature

2010-06-03 Thread David Kilzer
Also, I was simply pointing out existing behavior, not arguing for/against the zip file format. Dave From: Sam Weinig To: David Kilzer Cc: John Gregg ; webkit-dev@lists.webkit.org; Adele Peterson Sent: Wed, June 2, 2010 11:28:11 AM Subject: Re: [webkit-dev

Re: [webkit-dev] Extending JavaScript in WebKit

2010-06-03 Thread Niklas Nylund
Hi, I wrote a blog post about this some time ago while trying to understand the same thing. Maybe it will help you, http://uselessbyte.blogspot.com/2009/12/adding-custom-javascript-bindings-to.html Btw, I think this question belongs to webkit-help not webkit-dev. Niklas On 3 jun 2010, at 14.56

Re: [webkit-dev] Proposal: Link http header support

2010-06-03 Thread 蓋文彼德斯
No, no other browsers support it. There's a similar feature in Mozilla, the LINK rel=prefetch item, but to my knowledge, Mozilla does not support the Link header. On Wed, Jun 2, 2010 at 8:41 PM, Peter Kasting wrote: > On Wed, Jun 2, 2010 at 3:28 PM, Gavin Peters (蓋文彼德斯) > wrote: > >> I'm start

Re: [webkit-dev] How to handle a new protocol for Blob.url support?

2010-06-03 Thread Jeremy Orlow
On Thu, Jun 3, 2010 at 2:08 AM, Darin Adler wrote: > On Jun 1, 2010, at 5:14 PM, Jian Li wrote: > > I am working on Blob.url support as defined in the latest version of File > API (http://dev.w3.org/2006/webapi/FileAPI/). The Blob.url will return a > URL that can be used to refer to the blob obje

[webkit-dev] Extending JavaScript in WebKit

2010-06-03 Thread Wadii Guedria
Hi, I am trying to extend javascript to invoke custom C /C++ code in webkit. I would like to make a glue between C/C++ code and javascript functions via webkit. I think that it's possible with JavaScriptCore API's, but I dont know how. Any suggestions are welcome. regards, Wadii

Re: [webkit-dev] free functions

2010-06-03 Thread Chris Jerdonek
On Tue, May 25, 2010 at 10:01 AM, Darin Adler wrote: > On May 25, 2010, at 7:54 AM, Chris Jerdonek wrote: > >> I sometimes come across public member functions whose implementations do not >> depend on private data. >> >> There is a school of thought that such functions are better non-member >> b