axe-core-api 4.7.0.pre.bef7d97 → 4.7.0.pre.c204367
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 +5 -2
- data/node_modules/axe-core/axe.min.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c17c5a9caf2539c489bd45467a3d5a6b84c8ff6a31bc03798019112b423d96f
|
4
|
+
data.tar.gz: 4c537fee9b27ec8ba45c96ee04d4b3a993b1cc388f484b437878fae4e275ab4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82866c30713b614c80ac0cf2a4ede51ac2d6b5a5a0a2231ef7f4ef71b95613ceb22a739faba869ffcc29e88e3de440302220ce27738670eac04a7d577402aa18
|
7
|
+
data.tar.gz: f508e2875d42bf15bca5dc64125453b2b945f695b0623928c24c3ba545af41840e13225afc28b9dc5ebd9a21f4ad4f9632675c6b894851025662b1103cbc503e
|
data/lib/axe/api/run.rb
CHANGED
@@ -133,8 +133,11 @@ module Axe
|
|
133
133
|
end
|
134
134
|
|
135
135
|
res = axe_run_partial page, context
|
136
|
-
if res.key?("errorMessage")
|
137
|
-
|
136
|
+
if res.nil? || res.key?("errorMessage")
|
137
|
+
if top_level
|
138
|
+
throw res unless res.nil?
|
139
|
+
throw "axe.runPartial returned null"
|
140
|
+
end
|
138
141
|
return [nil]
|
139
142
|
else
|
140
143
|
results = [res]
|