<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Modern IDB: IDB object constructors aren't exposed on the WorkerGlobalScope"
href="https://bugs.webkit.org/show_bug.cgi?id=157600#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Modern IDB: IDB object constructors aren't exposed on the WorkerGlobalScope"
href="https://bugs.webkit.org/show_bug.cgi?id=157600">bug 157600</a>
from <span class="vcard"><a class="email" href="mailto:cdumez@apple.com" title="Chris Dumez <cdumez@apple.com>"> <span class="fn">Chris Dumez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=157600#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=157600#c2">comment #2</a>)
> > What is not working exactly?
>
> Sorry this wasn't mentioned - most of
> <a href="http://w3c-test.org/IndexedDB/interfaces.worker">http://w3c-test.org/IndexedDB/interfaces.worker</a> is failing.</span >
I see now. Even though they are failing, I do not believe the reason they are failing is that the constructors are not exposed.
They do:
assert_own_property(self, this.name, "self does not have own property " + format_value(this.name));
I assume this.name is the name of the property they want to check.
This ends up calling:
function _assert_own_property(name) {
return function(object, property_name, description)
{
assert(object.hasOwnProperty(property_name),
name, description,
"expected property ${p} missing", {p:property_name});
};
}
And we get a JS error saying that 'object' is undefined.
AFAICT, 'object' is self since this is what we call assert_own_property() with as 1st parameter. Still trying to figure out what this means though.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>