axe-core-api 4.3.1 → 4.3.2.pre.9952248
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/axe/api/run.rb +2 -2
- data/node_modules/axe-core/axe.min.js +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04f0aaf200151f8451a60d49dd580efd7f8ee0d770c6c2a2d638e577e14b7baf
|
4
|
+
data.tar.gz: 49eef66c7f87a20acda7b2b6a97437f6abef73dfd05c92604209a500d1471c35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd37eef36cf50a0c34e7800f074bf0729e485ace96677d287cfb53cee57cab69e1cdf5b9a0664aa814cf3b8a62e667a09ff18135684de1398a1f233853dde2c0
|
7
|
+
data.tar.gz: 1f02ec9207beee7716dee184a325dad02fcfa35949fa489b438d2066fd527faaa3be7fa88254b75e7f1effbed8f4b78d1fdb8140add141df256d18e6618c42d4
|
data/lib/axe/api/run.rb
CHANGED
@@ -53,7 +53,7 @@ module Axe
|
|
53
53
|
var callback = arguments[arguments.length - 1];
|
54
54
|
var context = arguments[0] || document;
|
55
55
|
var options = arguments[1] || {};
|
56
|
-
#{METHOD_NAME}(context, options).then(callback);
|
56
|
+
#{METHOD_NAME}(context, options).then(res => JSON.parse(JSON.stringify(res))).then(callback);
|
57
57
|
JS
|
58
58
|
page.execute_async_script_fixed script, *js_args
|
59
59
|
end
|
@@ -160,7 +160,7 @@ module Axe
|
|
160
160
|
const options = arguments[1];
|
161
161
|
const cb = arguments[arguments.length - 1];
|
162
162
|
try {
|
163
|
-
const ret = window.axe.runPartial(context, options);
|
163
|
+
const ret = window.axe.runPartial(context, options).then(res => JSON.parse(JSON.stringify(res)));
|
164
164
|
cb(ret);
|
165
165
|
} catch (err) {
|
166
166
|
const ret = {
|