Commit d390615d authored by Romain Courteaud's avatar Romain Courteaud

Do not expect same error message in all browsers

parent 932c1512
......@@ -1327,7 +1327,8 @@
ok((error.message ===
"gadget.__aq_parent is not a function") ||
(error.message ===
"undefined is not a function"), error);
"undefined is not a function") ||
(error.message.indexOf("__aq_parent") !== -1), error);
})
.always(function () {
start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment