-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOM iterables #488
Comments
Implemented. |
I think we need https://bugzilla.mozilla.org/show_bug.cgi?id=869788 based on the test:
Notice the spaces and duplicate names. |
Also doing https://bugzilla.mozilla.org/show_bug.cgi?id=1257849 since I'm already in there and I'm all for stuff that facilitates better auto-detection of features. |
Aaaand that needs bug 1244328. https://hg.mozilla.org/mozilla-central/rev/aac070f65cc7 |
Passes tests, doesn't assert, job well done. |
This cause browser crash when accessing apple.com |
hmm, trying to do a debug build to debug apple.com crash, and it asserts within JSOP_SUPERBASE. diff --git a/js/src/vm/Interpreter.cpp b/js/src/vm/Interpreter.cpp
index 4bf6e96cf..526e17e34 100644
--- a/js/src/vm/Interpreter.cpp
+++ b/js/src/vm/Interpreter.cpp
@@ -3851,6 +3851,7 @@ END_CASE(JSOP_INITHOMEOBJECT)
CASE(JSOP_SUPERBASE)
{
JSFunction& superEnvFunc = GetSuperEnvFunction(cx, REGS);
+ if(!superEnvFunc.allowSuperProperty()) goto error;
MOZ_ASSERT(superEnvFunc.allowSuperProperty());
MOZ_ASSERT(superEnvFunc.nonLazyScript()->needsHomeObject());
const Value& homeObjVal = superEnvFunc.getExtendedSlot(FunctionExtended::METHOD_HOMEOBJECT_SLOT); |
It's probably as good a fix as any since it's likely throwing anyhow. |
Bugzilla keeps spamming error logs with
We need https://bugzilla.mozilla.org/show_bug.cgi?id=1290636, but this requires https://bugzilla.mozilla.org/show_bug.cgi?id=1216751 to actually implement the plumbing in the DOM bindings and webIDL. However, this is quite doable. The patches should "just work" since the basic support landed in Fx47.
The text was updated successfully, but these errors were encountered: