David Marsden | 19 Feb 14:06 2015

HTTP/2 Support?

Hi,

I’m not a developer, just a curious Mac user. Is HTTP/2 support coming to Safari (and/or) Webkit anytime
soon? Purely because I think stuff like this is cool, and I’d like to know if my favourite browser will
have it.

Thanks and thanks for making my favourite web browser/Web browser “Engine”.

Cheers,

DMx

_______________________________________________
webkit-help mailing list
webkit-help <at> lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help
James Sandridge | 16 Feb 18:55 2015

WinCairo PC64 stability?

Hello list,


Been trying to get a handle on the stability of the PC64 build of WinCairo. Towards that end I've built all the required libs locally but I encounter a fair few number of issues, usually relating to curl or OpenSSL.


For example, when loading facebook.com I hit an access violation:


ntdll!RtlAnsiStringToUnicodeString+0x201
ntdll!RtlAllocateHeap+0xe8
MSVCR120!malloc+0x5b
LIBEAY32!CRYPTO_malloc+0x6a
LIBEAY32!bn_expand_internal+0x85
LIBEAY32!bn_expand2+0x1e
LIBEAY32!BN_copy+0x35
LIBEAY32!EC_GROUP_set_generator+0x7d
LIBEAY32!ec_group_new_from_data+0x300
LIBEAY32!EC_GROUP_new_by_curve_name+0x4c
LIBEAY32!eckey_type2param+0xcd
LIBEAY32!eckey_pub_decode+0x43
LIBEAY32!X509_PUBKEY_get+0x143
LIBEAY32!X509_get_pubkey_parameters+0xa0
LIBEAY32!X509_verify_cert+0x6a0
SSLEAY32!ssl_verify_cert_chain+0x115
SSLEAY32!ssl3_get_server_certificate+0x19e
SSLEAY32!ssl3_connect+0x251
SSLEAY32!ssl23_get_server_hello+0x3d5
SSLEAY32!ssl23_connect+0x29e

​Anyone else seeing issues like these?

Jim​


<div>
<div>
<p>Hello list,<br></p>
<p><br></p>
<p>Been trying to get a handle on the stability of the PC64 build of WinCairo. Towards that end I've built all the required libs locally but I encounter a fair few number of issues,
 usually relating to curl or OpenSSL.<br></p>
<p><br></p>
<p>For example, when loading facebook.com I hit an access violation:<br></p>
<p><br></p>
<div>
ntdll!RtlAnsiStringToUnicodeString+0x201</div>
<div>
ntdll!RtlAllocateHeap+0xe8</div>
<div>
MSVCR120!malloc+0x5b</div>
<div>
LIBEAY32!CRYPTO_malloc+0x6a</div>
<div>
LIBEAY32!bn_expand_internal+0x85</div>
<div>
LIBEAY32!bn_expand2+0x1e</div>
<div>
LIBEAY32!BN_copy+0x35<br>
</div>
<div>
LIBEAY32!EC_GROUP_set_generator+0x7d</div>
<div>
LIBEAY32!ec_group_new_from_data+0x300</div>
<div>
LIBEAY32!EC_GROUP_new_by_curve_name+0x4c</div>
<div>
LIBEAY32!eckey_type2param+0xcd</div>
<div>
LIBEAY32!eckey_pub_decode+0x43</div>
<div>
LIBEAY32!X509_PUBKEY_get+0x143</div>
<div>
LIBEAY32!X509_get_pubkey_parameters+0xa0</div>
<div>
LIBEAY32!X509_verify_cert+0x6a0</div>
<div>
SSLEAY32!ssl_verify_cert_chain+0x115</div>
<div>
SSLEAY32!ssl3_get_server_certificate+0x19e</div>
<div>
SSLEAY32!ssl3_connect+0x251</div>
<div>
SSLEAY32!ssl23_get_server_hello+0x3d5</div>
<div>
SSLEAY32!ssl23_connect+0x29e</div>
<div>
<br>
&#8203;Anyone else seeing issues like these?<br>
</div>
<div>
<br>
</div>
<div>
Jim&#8203;<br>
</div>
<p><br></p>
</div>
</div>
Lew Hollerbach | 15 Feb 23:44 2015

How WebKit builds HTTP GET Request headers, and how WebKit resolves relative paths in <link>s, <img>s, etc.

Hello,

 

In the most general terms, my question is around relative paths in links (e.g., <link>, <img>, <script>) and the related HTTP GET request, and the corresponding Request/Response headers: how WebKit builds the headers, and how WebKit resolves relative paths.

 

What happens if the URL to a resource is not an absolute URL but a relative one? My own testing suggests that the “Host” request-header field is what’s used to resolve relative paths. Is that correct? (If it isn’t correct, then what is used to resolve relative URLs?)

 

But, if it is, then how does the browser/WebKit know what the value of this field should be? Often — but certainly not always — the value is just the basic domain name, like “www.somesite.com”. But it can also have different sub-domains, like “assets.somesite.com”. So what does the browser use to determine this “host” value?

 

And, is there anything in a response-header — from the original request — that the browser uses to set this value? So, for a real example, if you go to “www.lordandtaylor.com”, when the page is loaded and parsed, the very first <script>’s “src” is

"/wcsstore/dojoHBC/dojo/dojo.js". So how does the browser know that the “host” value should be “www.lordandtaylor.com” here?

 

Then, a few <script>s later, a request goes to “http://1.shrd.lordandtaylor.com” (absolute URL), and the immediately following request again has a relative path of “/wcsstore/HBCStorefrontAssetStore/javascript/jquery.min.js”; again, how does the browser know to — again — use “www.lordandtaylor.com” for the “host” value for this second request?

 

This area is confusing for me and I don’t have the necessary knowledge to understand the inner workings here.

 

If we do end up knowing how this “host” value is arrived at, how can we — from within JavaScript — set it so that, as the page is parsed and rendered, the rendering engine can know what this “host” should be? Is there some global or window.variable, or other global setting that can be set via an API from JavaScript? Obviously the rendering engine (or some other part of the browser) must know what it is so that the Request-header is correctly set when the various HTTP GET requests — to fetch images, CSS files, JavaScript files, etc. — are invoked. Would you know how we can set this “host” value?

 

And, as I mentioned earlier, if it’s not “host” that determines how relative paths are resolved, then what is?

 

I’m trying to load a Website through your proxy, to bypass the same-origin restrictions, and have it fully rendered inside an <iframe>. Not for any nefarious purposes such as clickjacking; no, we’re building a consumer-facing app that features a way to view and browse any Website from the app, with some other features. And the app (a hybrid mobile app) runs inside embedded WebKit.

 

I know this can be done: A few companies have successfully implemented such a feature, for use cases such as customer service, co-browsing, etc. Every company that I know of who has successfully done this has been acquired — presumably exactly for this feature — and so their IP is clearly a trade secret and can’t be easily (if at all) gotten at.

 

If what we’re trying to do can’t be done using proxies, is there another way that you would work, that would result in the same ultimate experience — of being able to load any given Website into some container and have it be fully functional, allow all the links to be traversed and assets loaded?

 

Thanks for any and all insights, suggestions, and general help!

 

Lew

<div>

<div class="Section1">

<p class="MsoNormal"><span>Hello,<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>In
the most general terms, my question is around relative paths in links (e.g.,
&lt;link&gt;, &lt;<span class="SpellE">img</span>&gt;, &lt;script&gt;) and the
related HTTP GET request, and the corresponding Request/Response headers: how
WebKit builds the headers, and how WebKit resolves relative paths.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>What
happens if the URL to a resource is not an absolute URL but a relative one? My
own testing suggests that the &ldquo;Host&rdquo; request-header field is
what&rsquo;s used to resolve relative paths. Is that correct? (If it
isn&rsquo;t correct, then what is used to resolve relative URLs?)<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>But,
if it is, then how does the browser/WebKit know what the value of this field
should be? Often &mdash; but certainly not always &mdash; the value is just the
basic domain name, like &ldquo;www.somesite.com&rdquo;. But it can also have
different sub-domains, like &ldquo;assets.somesite.com&rdquo;. So what does the
browser use to determine this &ldquo;host&rdquo; value?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>And,
is there anything in a response-header &mdash; from the original request
&mdash; that the browser uses to set this value? So, for a real example, if you
go to &ldquo;www.lordandtaylor.com&rdquo;, when the page is loaded and parsed,
the very first &lt;script&gt;&rsquo;s &ldquo;<span class="SpellE">src</span>&rdquo;
is <p></p></span></p>

<p class="MsoNormal"><span>"/<span class="SpellE">wcsstore</span>/<span class="SpellE">dojoHBC</span>/dojo/dojo.js".
So how does the browser know that the &ldquo;host&rdquo; value should be
&ldquo;www.lordandtaylor.com&rdquo; here?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Then,
a few &lt;script&gt;s later, a request goes to
&ldquo;http://1.shrd.lordandtaylor.com&rdquo; (absolute URL), and the
immediately following request again has a relative path of &ldquo;/<span class="SpellE">wcsstore</span>/<span class="SpellE">HBCStorefrontAssetStore</span>/javascript/≤span class="SpellE">jquery.min.js</span>&rdquo;; again, how does the browser know to &mdash;
again &mdash; use &ldquo;www.lordandtaylor.com&rdquo; for the
&ldquo;host&rdquo; value for this second request?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>This
area is confusing for me and I don&rsquo;t have the necessary knowledge to
understand the inner workings here.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>If
we do end up knowing how this &ldquo;host&rdquo; value is arrived at, how can
we &mdash; from within JavaScript &mdash; set it so that, as the page is parsed
and rendered, the rendering engine can know what this &ldquo;host&rdquo; should
be? Is there some global or <span class="SpellE">window.variable</span>, or other
global setting that can be set via an API from JavaScript? Obviously the
rendering engine (or some other part of the browser) must know what it is so
that the Request-header is correctly set when the various HTTP GET requests
&mdash; to fetch images, CSS files, JavaScript files, etc. &mdash; are invoked.
Would you know how we can set this &ldquo;host&rdquo; value?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>And,
as I mentioned earlier, if it&rsquo;s not &ldquo;host&rdquo; that determines
how relative paths are resolved, then what is?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>I&rsquo;m
trying to load a Website through your proxy, to bypass the same-origin
restrictions, and have it fully rendered inside an &lt;iframe&gt;. Not for any
nefarious purposes such as <span class="SpellE">clickjacking</span>; no,
we&rsquo;re building a consumer-facing app that features a way to view and
browse any Website from the app, with some other features. And the app (a
hybrid mobile app) runs inside embedded WebKit.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>I
know this can be done: A few companies have successfully implemented such a
feature, for use cases such as customer service, co-browsing, etc. Every
company that I know of who has successfully done this has been acquired &mdash;
presumably exactly for this feature &mdash; and so their IP is clearly a trade
secret and can&rsquo;t be easily (if at all) gotten at.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>If
what we&rsquo;re trying to do can&rsquo;t be done using proxies, is there
another way that you would work, that would result in the same ultimate
experience &mdash; of being able to load any given Website into some container
and have it be fully functional, allow all the links to be traversed and assets
loaded?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Thanks
for any and all insights, suggestions, and general help!<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Lew<p></p></span></p>

</div>

</div>
ankit srivastav | 31 Jan 16:37 2015
Picon

Help to understand Painting/Drawing in webkit

Hi All,

I'm new to webkit in context of Painting/Drawing.

I'm trying to use my own algo instead of Webkit defaults Bilenear Interpolation algo for interpolation of images on a webpage.
That is if destImage Size is greater then SrcImage Size my algo will also come into picture alongside Webkit Bilinear.

But the problem is my algo take lots of time to do the interpolation, hence the page load becomes slow.
Specially for large images it takes too much time to load the image and hence the webpage.

I have tried to use my algo in PlatformGraphicsContext.cpp along with Bilinear.

If I'm using a separate thread to for my algo.
I'm not getting the exact result i.e. once the images are drawn by Bilinear it is not been drawn after my algo.

It means I need to fire an event after interpolation is done by my algo, so that images will be drawn using the data from my algo.

Please if someone can tell me the Painting/Drawing mechanism of webkit it would be great.

Regards,
Ank
<div><div dir="ltr">
<span>Hi All,</span><div><br></div>
<div>I'm new to webkit in context of Painting/Drawing.</div>
<div><br></div>
<div>I'm trying to use my own algo instead of Webkit defaults Bilenear Interpolation algo for interpolation of images on a webpage.</div>
<div>That is if destImage Size is greater then SrcImage Size my algo will also come into picture alongside Webkit Bilinear.</div>
<div><br></div>
<div>But the problem is my algo take lots of time to do the interpolation, hence the page load becomes slow.</div>
<div>Specially for large images it takes too much time to load the image and hence the webpage.</div>
<div><br></div>
<div>I have tried to use my algo in PlatformGraphicsContext.cpp along with Bilinear.</div>
<div><br></div>
<div>If I'm using a separate thread to for my algo.</div>
<div>I'm not getting the exact result i.e. once the images are drawn by Bilinear it is not been drawn after my algo.</div>
<div><br></div>
<div>It means I need to fire an event after interpolation is done by my algo, so that images will be drawn using the data from my algo.</div>
<div><br></div>
<div>Please if someone can tell me the Painting/Drawing mechanism of webkit it would be great.</div>
<div><br></div>
<div>Regards,</div>
<div>Ank</div>
</div></div>
Ryan Molden | 30 Jan 20:36 2015
Picon

Dynamically injected script file execution ordering question

Hello, I am looking at using WebKit as an HTML rendering/JS host in a native C++ application. Currently the application uses IE via the WebOC. I have WebKit running and loading the HTML / JS but I have encountered a problem and I was wondering if you could think of any work-arounds.

 

Problem: The execution order of scripts added to the DOM via insertBefore seems to be after scripts statically declared in the HTML file.

 

I don’t have any doubts that WebKit is proper here vis-à-vis the standard (though I couldn’t find anything specific in the standard that made it clear one way or another). Basically what I see is that scripts dynamically injected seem to be executed AFTER the statically declared ones, even if inserted before them and even if the dynamically injected ones set async to false on the created script node.

 

In IE it seems different. Imagine this scenario, in the root HTML page we have:

 

    <script src="A.js" type="text/javascript"></script>

    <script src="B.js" type="text/javascript"></script>

 

And assume A.js has JS code that injects another script, let’s call it A1, (that it dynamically locates, which is why it can’t be declared in the markup).

 

In IE I see this execution order:

 

A -> A1 -> B

 

In WebKit I see this execution order


A-> B -> A1

 

I speculate IE is executing the scripts in the HTML in order and the injection done by A is causing the new script to show up and be executed before it gets to script B. WebKit on the other hand seems to be enqueing all the scripts from the HTML and then executing them in order, so when it hits A and A injects a new script it gets placed at the end of the execution queue and executed after B.

 

This is a problem because in our case A1 injects a bunch of global functions/properties that B depends on, so if B executes first, well things don’t go so well.

 

I could indirect B so it simply did a dynamic injection of its contents like A does, call it B1 (I presume that would mean B1 would then be executed after A1), but that is non-ideal if there are a lot of scripts involved.

 

Ryan

<div>
<div class="WordSection1">
<p class="MsoNormal">Hello, I am looking at using WebKit as an HTML rendering/JS host in a native C++ application. Currently the application uses IE via the WebOC. I have WebKit running and loading the HTML / JS but I have encountered a problem and I was wondering
 if you could think of any work-arounds.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Problem: The execution order of scripts added to the DOM via insertBefore seems to be after scripts statically declared in the HTML file.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I don&rsquo;t have any doubts that WebKit is proper here vis-&agrave;-vis the standard (though I couldn&rsquo;t find anything specific in the standard that made it clear one way or another). Basically what I see is that scripts dynamically injected seem to
 be executed AFTER the statically declared ones, even if inserted before them and even if the dynamically injected ones set async to false on the created script node.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">In IE it seems different. Imagine this scenario, in the root HTML page we have:<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; &lt;script src="A.js" type="text/javascript"&gt;&lt;/script&gt;<p></p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; &lt;script src="B.js" type="text/javascript"&gt;&lt;/script&gt;<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">And assume A.js has JS code that injects another script, let&rsquo;s call it A1, (that it dynamically locates, which is why it can&rsquo;t be declared in the markup).
<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">In IE I see this execution order:<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">A -&gt; A1 -&gt; B<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">In WebKit I see this execution order<p></p></p>
<p class="MsoNormal"><br>
A-&gt; B -&gt; A1<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I speculate IE is executing the scripts in the HTML in order and the injection done by A is causing the new script to show up and be executed before it gets to script B. WebKit on the other hand seems to be enqueing all the scripts from
 the HTML and then executing them in order, so when it hits A and A injects a new script it gets placed at the end of the execution queue and executed after B.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">This is a problem because in our case A1 injects a bunch of global functions/properties that B depends on, so if B executes first, well things don&rsquo;t go so well.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">I could indirect B so it simply did a dynamic injection of its contents like A does, call it B1 (I presume that would mean B1 would then be executed after A1), but that is non-ideal if there are a lot of scripts involved.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Ryan<p></p></p>
</div>
</div>
Luc R. | 24 Jan 04:41 2015
Picon

Mobile support in WinCairo port

I've been trying to run a few examples of mobile web pages using WinCairo port, and often seeing that content is not re-sized to fit the window like on a smartphone screen. I am setting the window size to be the analog of mobile viewport size (e.g. 320x568) + adding mobile user agent. 
In this setup seems like viewport html tag is not honored and the default behavior is different from a mobile device. Could anyone advice on the architecture of how device-specific rendering is handled in WebKit, should it be implemented on per-port basis, and WinCairo missing this, or am I just missing something obvious?

--
-Luc
<div><div dir="ltr">I've been trying to run a few examples of mobile web pages using WinCairo port, and often seeing that content is not re-sized to fit the window like on a smartphone screen. I am setting the window size to be the analog of mobile viewport size (e.g. 320x568) + adding mobile user agent.&nbsp;<div>In this setup seems like viewport html tag is not honored and the default behavior is different from a mobile device. Could anyone advice on the architecture of how device-specific rendering is handled in WebKit, should it be implemented on per-port basis, and WinCairo missing this, or am I just missing something obvious?<div>
<div><br></div>-- <br><div class="gmail_signature">-Luc</div>
</div>
</div>
</div></div>
Ryan Molden | 20 Jan 19:35 2015
Picon

Errors building unmodified trunk on Windows

Hello, I am trying to get Webkit trunk to build on Windows (using Visual Studio 2013) and running into a few problems.

 

1: I used Git to grab the sources tree, but some parts of the build process, specifically autoversion.pl, seem to assume I used svn, as it does things like svn info (which fails with svn: E155007: '/home/rmolden/WebKit' is not a working copy) to initialize SVN_VERSION and then ends up with

 

Use of uninitialized value $SVN_REVISION in scalar chomp at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line 86.

Use of uninitialized value $SVN_REVISION in concatenation (.) or string at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line90.

 

    The build then seems to fail because the cmd shell exits with code 1 (which msbuild seems to interpret as failure). Is there any way to get the build working if I used Git to enlist instead of SVN? Or should I just re-enlist using SVN? Or is it failing due to other (unclear) reasons and this is just an innocuous warning?

 

 

2:  I am getting

 

Error      1              error C3646: '__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_7' : unknown override specifier (..\platform\sql\SQLiteAuthorizer.cpp)                c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\include\sqlite3.h           4675       1                WebCore

 

     Hard to tell what its upset about since it appears it has something to do with the macro expansion resulting in an unknown override specifier, but of course it shows the original macro not the expansion in the error message so I am not sure what is ending up tacked on that it is unhappy about L It appears to define these macros in WebKitAvailability, which uses __attribute__, which MSVC certainly doesn’t support.

 

 

3: I am building the WinCairo project, though I can’t really find a good explanation anywhere of what that is. I tried building the normal (debug/release) projects but it gives a ton of errors about missing CoreFoundation stuff, so I presume WinCairo is what I want for Webkit on Windows, but a pointer to something explaining what it is would be appreciated.

 

Thanks in advance for any help you can offer!

 

Ryan

<div>
<div class="WordSection1">
<p class="MsoNormal">Hello, I am trying to get Webkit trunk to build on Windows (using Visual Studio 2013) and running into a few problems.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">1: I used Git to grab the sources tree, but some parts of the build process, specifically autoversion.pl, seem to assume I used svn, as it does things like svn info (which fails with svn: E155007: '/home/rmolden/WebKit' is not a working
 copy) to initialize SVN_VERSION and then ends up with<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Use of uninitialized value $SVN_REVISION in scalar chomp at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line 86.<p></p></p>
<p class="MsoNormal">Use of uninitialized value $SVN_REVISION in concatenation (.) or string at c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\tools\scripts\auto-version.pl line90.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; The build then seems to fail because the cmd shell exits with code 1 (which msbuild seems to interpret as failure). Is there any way to get the build working if I used Git to enlist instead of SVN? Or should I just re-enlist using SVN?
 Or is it failing due to other (unclear) reasons and this is just an innocuous warning?<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">2:&nbsp; I am getting <p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error C3646: '__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_7' : unknown override specifier (..\platform\sql\SQLiteAuthorizer.cpp)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\cygwin\home\rmolden\WebKit\WebKitLibraries\win\include\sqlite3.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 4675&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WebCore<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp; &nbsp;Hard to tell what its upset about since it appears it has something to do with the macro expansion resulting in an unknown override specifier, but of course it shows the original macro not the expansion in the error message so I am
 not sure what is ending up tacked on that it is unhappy about <span>
L</span> It appears to define these macros in WebKitAvailability, which uses __attribute__, which MSVC certainly doesn&rsquo;t support.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">3: I am building the WinCairo project, though I can&rsquo;t really find a good explanation anywhere of what that is. I tried building the normal (debug/release) projects but it gives a ton of errors about missing CoreFoundation stuff, so I presume
 WinCairo is what I want for Webkit on Windows, but a pointer to something explaining what it is would be appreciated.<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Thanks in advance for any help you can offer!<p></p></p>
<p class="MsoNormal"><p>&nbsp;</p></p>
<p class="MsoNormal">Ryan<p></p></p>
</div>
</div>
Eugene But | 8 Jan 23:33 2015

"build-webkit --simulator" fails

When building Apple's port revision on Mac 178114 using " Tools/Scripts/build-webkit --debug --simulator", I get the following error:

target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform

You can find the complete output here: http://pastebin.com/vJfEYVtL

Is is expected that WebKit can not be built for iOS?

Thanks,
Eugene

<div><div dir="ltr">When building Apple's port revision on Mac 178114 using " Tools/Scripts/build-webkit --debug --simulator", I get the following error:<br><br>target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphonesimulator' platform<br><br>You can find the complete output here: <a href="http://pastebin.com/vJfEYVtL">http://pastebin.com/vJfEYVtL</a><div><br></div>
<div>Is is expected that WebKit can not be built for iOS?</div>
<div><br></div>
<div>Thanks,</div>
<div>Eugene</div>
<div><br></div>
</div></div>
Jiho Choi | 29 Dec 16:58 2014
Picon

Overhead of parsing and bytecode generation

Hi all,

I was wondering about the overhead of parsing and bytecode generation. I found the link below saying that it is only ~2% of JS execution.


I got some questions about it.

1. Does it still hold after more than 5 years?
2. I assume that the in-memory code cache was added to reduce the overhead. Does it help across page loads?
3. Is there any plan to make the code cache persistent by writing it to the disk? 

Thanks,
Jiho
<div><div dir="ltr">Hi all,<div><br></div>
<div>I was wondering about the overhead of parsing and bytecode generation. I found the link below saying that it is only ~2% of JS execution.</div>
<div><br></div>
<div>
<a href="http://comments.gmane.org/gmane.os.opendarwin.webkit.devel/7639">http://comments.gmane.org/gmane.os.opendarwin.webkit.devel/7639</a><br>
</div>
<div><br></div>
<div>I got some questions about it.</div>
<div><br></div>
<div>1. Does it still hold after more than 5 years?</div>
<div>2. I assume that the in-memory code cache was added to reduce the overhead. Does it help across page loads?</div>
<div>3. Is there any plan to make the code cache persistent by writing it to the disk?&nbsp;</div>
<div><br></div>
<div>Thanks,</div>
<div>Jiho</div>
</div></div>
Jiho Choi | 10 Dec 20:40 2014
Picon

Is there a documentation for bytecodes?

Hi all,
I was wondering if there is any documentation for JSC's bytecode instructions.
Source/JavaScriptCore/bytecode/BytecodeList.json provides the list with an opcode and the length of each bytecode instruction, and I was wondering if there exists further explanation.

Thanks,
Jiho

<div><div dir="ltr">
<div>Hi all,</div>I was wondering if there is any documentation for JSC's bytecode instructions.<div>Source/JavaScriptCore/bytecode/BytecodeList.json provides the list with an opcode and the length of each bytecode instruction, and I was wondering if there exists further explanation.<br><div><br></div>
<div>Thanks,</div>
<div>Jiho<br><div><br></div>
</div>
</div>
</div></div>
Malek Musleh | 13 Nov 19:20 2014
Picon

Running JetStream Benchmark StandAlone

Hi,

I am not sure if this is the most appropriate mailing list for asking
questions about JetStream.

I want to be able to run the jetstream benchmark in an "offline"
manner, and wanted to confirm if the following methodology is correct
or not.

It looks like there isnt a single tarball or repo for just the
jetstream suite, but I suspect its part of the main WebKit svn repo --
correct?

http://browserbench.org/JetStream/in-depth.html

This link describes the benchmark suite in more detail, and has links
to the specific .js files used.

If I download the corresponding .js files, and then create an
index.html file that "onload" activates the corresponding js script
benchmark. I would then use a browser (e.g. firefox) to point to the
local index.html file, and when it does it should load the js
benchmark.

Is that correct?

For example, I see that the 3d-cube.js file
http://browserbench.org/JetStream/sources/3d-cube.js

contains the same code as the source page of:
http://www.speich.net/projects/programming/3d.htm

and the html page contains a call to Init().

Secondly, I want to know how (if) WebKit invokes the JetStream suite.
Is there a set of regression tests that I can be directed to?

Thanks,

Malek

Gmane