re or in
> that repo's issue tracker.
>
> [1] https://www.w3.org/2008/webapps/wiki/IndexedDatabaseFeatures
>
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
API.
This can be done, for instance, by making sure that any listener for the
"error" event silently catches rejections.
Cheers,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
ise.
>>>
>
> I meant user configurable, maybe as a global config.
That sounds problematic. What if a codebase is modernized piecewise, and
only some modules have been made Promise-friendly?
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
backward compatibility becomes a huge nightmare?
As a side-note, the original thread is a good illustration of what
happens whenever browser vendors attempt to deprecate features that are
clearly broken by design.
Cheers,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
({shareName: photos}).then((dir) = {
dir.openWrite(pic.jpeg) });
super photo viewer
fs = api.getFileSystem({shareName: photos}).then((dir) = {
dir.openRead(pic.jpeg) });
What happens with the pic.jpeg?
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
that ES6
Modules are certainly the best long-term choice for this specific use case.
Cheers,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital signature
On 03/09/14 17:27, Brendan Eich wrote:
David Rajchenbach-Teller wrote:
it would require changes to Java2Script.
Big changes -- CPS conversion, compiling with continuations.
Clearly, it would require big changes, although compiling to return
Promise and using Task.js + yield at call sites
allows any website to be an app store. I *think*, though I'm not 100%
sure, that this works in Firefox for Android as well.
I confirm that it works on Android.
Best regards,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
signature.asc
Description: OpenPGP digital
On 2/7/14 5:56 PM, Domenic Denicola wrote:
I think this is a great point that makes such an effort worthwhile even if it
ends up not leading to euthanizing sync XHR.
I am all for it.
Cheers,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
to add such a warning. We would also need to add
text to the various versions of the spec (whatwg and w3c).
Which browsers are game? (I think mozilla is). Which spec editors are?
/ Jonas
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
Let me introduce the first sketch of a variant. The general idea is to
add a |postSyncMessage|
We extend DedicatedWorkerGlobalScope and MessageEvent as follows:
interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
void postMessage(any message, optional sequenceTransferable transfer);
.
Cheers,
David
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
,
David
On 10/14/13 4:14 PM, Glenn Maynard wrote:
On Mon, Oct 14, 2013 at 4:33 AM, David Rajchenbach-Teller
dtel...@mozilla.com mailto:dtel...@mozilla.com wrote:
Let me introduce the first sketch of a variant. The general idea is to
add a |postSyncMessage|
(I'm not sure what problems
, but for b) it is sufficient for the sync thread to be
able to sleep until a condition/mutex/... is lifted
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
(and trivial) definition of
wait(), the following implements a polling loop that does not block the
event loop:
Tasks.spawn(function* () {
while (true) {
yield wait();
poll();
}
});
[1] http://taskjs.org/
--
David Rajchenbach-Teller, PhD
Performance Team, Mozilla
createMode = createifneeded);
PromiseFileHandleWritable openAppend((DOMString or File) file,
optional CreateMode createMode = createifneeded);
EventStream(File or Directory) enumerate();
EventStreamFile enumerateDeep();
};
--
David Rajchenbach-Teller, PhD
Performance Team
17 matches
Mail list logo