[Webkit-unassigned] [Bug 24150] Add virtual ScriptExecutionContext::encoding()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 5 20:27:23 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24150
------- Comment #12 from dimich at chromium.org 2009-03-05 20:27 PDT -------
Here are results of more testing. I think the nested case, which we don't
implement yet, may be still 'in the works', especially wrt base url...
- tested version is FF 3.1b2
- 'XYZ' below is a non-latin string
- 'document' is the main html page
- 'first worker' is a worker created by document
- 'nested worker' is a worker created by the first worker
- (WK+) means behavior matched WebKit
In the document:
new Worker('foo.php?query=XYZ');
- query part of URL will be encoded using document's encoding (WK+)
- relative URL will be completed using base URL of the document (WK+)
- loaded script will be decoded using document's encoding or http header if
any (WK+)
XHR('foo.php?query=XYZ');
- query part of URL will be encoded using UTF8 (in WK, document encoding)
- relative URL will be completed using base URL of the document (WK+)
- loaded content will be decoded using UTF8 or http header if any (WK+)
<iframe src='foo.php?query=XYZ'>
- query part of URL will be encoded using document's encoding (WK+)
- relative URL will be completed using base URL of the document (WK+)
- loaded content will be decoded using document's encoding or http header
if any (WK+)
inside first worker:
new Worker('foo.php?query=XYZ');
importScripts('foo.php?query=XYZ');
- query part of URL will be encoded using document's encoding, even if
first worker had different http header (WK not impl)
- relative URL will be completed using base URL of the document, not the
one of the first worker (WK not impl)
- loaded script will be decoded using document's encoding or http header if
any, even if first worker had different http header (WK not impl)
XHR("foo.php?XXX")
- query part of URL will be encoded using UTF8 (in WK, document encoding)
- relative URL will be completed using base URL of the document (in WK,
base url of the first worker)
- loaded content will be decoded using UTF8 or http header if any (WK+)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list