axe-core-api 4.0.0.pre.2b814f9 → 4.0.0.pre.2bf4a90

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d9b54c93103e76efe30cee45da955fd0a0d7100cd7c42e473a85392793c7039
4
- data.tar.gz: fbad820dfcfb51b63c943368beb43f00a94e6a089cd3a9f1dc31a7a90a9c4774
3
+ metadata.gz: b07edbba9491377eb18f8d5be583e39a44ddfb9e2832860a109279ae71aecbd8
4
+ data.tar.gz: 18e2088864badc72fe2362c7da2fb0b8a8c016f626cdb61e4c1e9655173f3d8b
5
5
  SHA512:
6
- metadata.gz: 39ce29443db72031e721265cb693993e048a6fd7db809cb24f29fc7daaacc236839b3592c107eb8fb3a5b75ac57ac807e7fd89997b269805fa3d065c5aeb7e8d
7
- data.tar.gz: 3aaa4092dda48890562a895c1f2d0999f62cadd52a6839caacb66d1ac1a974562b161b0d1d7a2286dd76d7e539c1a3b1937b0da09046880017aa97d9d29c8a74
6
+ metadata.gz: '080847bab0abaec1ae054ec36da2df1c581e775b07869a709f4fe72c481eda04e246cce469d82160a2c6d4c8a440639038beeb134e505b1708dc75b63dcd2db6'
7
+ data.tar.gz: f4601c15514c88cad7f6b50159500cdc38c998a9f6f7c5b4719f3d5c159b129801b0eba171bcbe51076d8a58cc274474022f8ae624055bfcaecae616192dbe87
data/lib/loader.rb CHANGED
@@ -10,6 +10,7 @@ module Common
10
10
 
11
11
  def call(source)
12
12
  @page.execute_script source
13
+ @page.execute_script "axe.configure({ allowedOrigins: ['<unsafe_all_origins>'] });"
13
14
  Common::Hooks.run_after_load @lib
14
15
  load_into_iframes(source) unless Axe::Configuration.instance.skip_iframes
15
16
  end