Re: [webkit-dev] Platform specific fields on WebCore::HistoryItem

2010-12-21 Thread Yael.Aharon


From: webkit-dev-boun...@lists.webkit.org 
[mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of ext Darin Fisher
Sent: Tuesday, December 21, 2010 2:39 PM
To: WebKit Development
Subject: [webkit-dev] Platform specific fields on WebCore::HistoryItem

I'm working on fixing some session history bugs related to a HistoryItem's URL 
property changing.
See for example the call to HistoryItem::setURL in 
HistoryController::updateForReload [1].

I'm curious about the platform specific fields on WebCore::HistoryItem.  *** Do 
any of those need to
be updated when the URL of the HistoryItem changes? ***

Here are the fields I'm referring to:

class HistoryItem ... {
private:
...

#if PLATFORM(QT)
QVariant m_userData;
#endif

This is arbitrary data that embeders of QtWebkit can store. It should not 
interfere with the changes you are making.
Yael


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Order of positioned elements

2010-10-26 Thread Yael.Aharon
Hi,
I am working on improving the spatial algorithm in webkit, and I have a problem 
with positioned elements that do not have a z-index defined.
If I have 2 elements that are intersecting, I need to find out which element is 
covering the other. Is it safe to assume that the last element in tree order 
will cover the previous element, if they have the same z-index? If not, how can 
I determine which element is covering the other?
thanks, Yael

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Limiting the size of LocalStorage

2008-12-04 Thread Yael.Aharon
I'd be happy to fix this bug and submit a patch when I am done. Before I can do 
that, I have a question - why is LocalStorgare created and tracked per page 
group and not per process, like offline storage databases are?

Thanks, Yael 

-Original Message-
From: ext Darin Adler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 03, 2008 12:21 PM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 25, 2008, at 5:23 AM, [EMAIL PROTECTED] wrote:

 Should I file a bug about it?

There's no harm in doing that, but filing a bug won't guarantee someone is 
going to work on it. If you need it for a project you're doing, you might need 
to find someone to do it.

 -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Limiting the size of LocalStorage

2008-11-25 Thread Yael.Aharon
Should I file a bug about it?
Thanks, Yael 

-Original Message-
From: ext Darin Adler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2008 1:13 AM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 24, 2008, at 5:56 PM, [EMAIL PROTECTED] wrote:

 Does DatabaseTracker control LocalStorage too, or only offline SQLite 
 databases?

Only offline SQLite databases. Nobody has implemented limits for local storage 
yet.

 -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Limiting the size of LocalStorage

2008-11-24 Thread Yael.Aharon
Thanks Darin,
Does DatabaseTracker control LocalStorage too, or only offline SQLite databases?
In my QT build, the callback did not seem to arrive to ChromeClientQt.
Thanks, Yael 

-Original Message-
From: ext Darin Adler [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2008 8:40 PM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 24, 2008, at 5:35 PM, [EMAIL PROTECTED] wrote:

 Is it possible to limit the size of the LocalStorage databases and 
 selectively allow only certain servers to use this feature?

Yes. All sites start out with a quota of 0. Increase the quota when the 
ChromeClient exceededDatabaseQuota function is called. Increase the quota by 
calling DatabaseTracker::setQuota.

 -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] Limiting the size of LocalStorage

2008-11-24 Thread Yael.Aharon
The sample script below would create any arbitrary size of database..


htmlheadscript
function makeStringOfLength(n)
{
var str = X;
while (str.length  n)
str += ((str.length  1)  n ? str : makeStringOfLength(n - 
str.length));

return str;
}
function setthesize()
{
var i = document.getElementById(amount).value;
localStorage.testDiv = makeStringOfLength(i);
document.getElementById(amount).value = ;
}
/script/headbody
input id=amount type=text
a href=# onclick=setthesize();return false;run/a
/body/html


Thanks,





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext [EMAIL 
PROTECTED]
Sent: Monday, November 24, 2008 8:56 PM
To: [EMAIL PROTECTED]
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

Thanks Darin,
Does DatabaseTracker control LocalStorage too, or only offline SQLite databases?
In my QT build, the callback did not seem to arrive to ChromeClientQt.
Thanks, Yael 

-Original Message-
From: ext Darin Adler [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 8:40 PM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev@lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 24, 2008, at 5:35 PM, [EMAIL PROTECTED] wrote:

 Is it possible to limit the size of the LocalStorage databases and 
 selectively allow only certain servers to use this feature?

Yes. All sites start out with a quota of 0. Increase the quota when the 
ChromeClient exceededDatabaseQuota function is called. Increase the quota by 
calling DatabaseTracker::setQuota.

 -- Darin

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev