<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#c6">Comment # 6</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:beidson@apple.com" title="Brady Eidson <beidson@apple.com>"> <span class="fn">Brady Eidson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=157600#c5">comment #5</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=157600#c4">comment #4</a>)
> > (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.
>
> 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.</span >
Thanks for looking into it. I obviously misunderstood the issue, partially because the way that page is constructed is somewhat opaque. =/</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>