axe-core-api 4.7.0.pre.bef7d97 → 4.7.0.pre.f3cabd1
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: fae911eeb19a9a3407edafd4f48aec8c0aa7d910aa9ae69d9fc4b5be46845328
|
4
|
+
data.tar.gz: 1ac7f2d743dcf3f921112b083af180cf4d2edc5099e658d4239e51d45acee737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f3e516937c5f1390ed25bb345772ffc43032d68971262f0ce463fca4d243e759ec96b5ebba6f560c8d644c5a05753695ea962c35b2c4ba9d1ce9df84b7eacd3
|
7
|
+
data.tar.gz: 7604df584f5b6ea73fd2e4595964e172c7f470869aa17564ccf2fd87f60dc88ea4b6390a7b1ce95142afa110ef2a3e098423fa2b90d481f85587f5f9d23b60cd
|
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]
|