maynard
maynard
Is the idea with `__simulateQuotaExceeded = true` to have fakeindexeddb throw an exception on the real-world quota amount? Seems to me like it would be more useful to set the...
@nolanlawson Okay, that all makes sense. What is the intended behaviour of `indexedDB.__simulateQuotaExceeded = true;`, then? To throw on the next open request?
Got it. IMO, it reads a little like setting a config option rather than setting up for imminent behaviour. Compare it to something like `.__prepareExceedQuota()` or another name of the...
My current use-case is code that looks like the following: ```js try { await doDbOperation(); } catch (err) { if (err instanceof DOMException && err.name === 'NotFoundError') { throw new...
Any thoughts on this?
Gotcha. I can look into doing that testing myself, if you like. It doesn't sound too difficult (famous last words). My times will differ from yours, of course, but perhaps...
Alright! The benchmark results are in! Here's what I did. I added some code to measure how long the extension waits to run. This was done by setting up a...
... why did you not mention this when I originally proposed this node-counting idea? Regardless, I guess rejecting text/html would work (on websites that play nice). Do you want me...
If it's complaining about invalid indentation, then it's a syntax error and there's nothing that can be done. Macros don't work on the same level as the parser and cannot...
Ah, sorry, I misunderstood. It would be nice to just allow ```nim variant Shape: ... Rectangle(width: float, height: float) Ellipse(width: float, height: float) ``` but I imagine that this would...