Project

General

Profile

Actions

Defect #32063

closed

'use strict' in inlineAutoComplete causes error on Poltergeist

Added by Tatsuya Saito over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

'use strict' in inlineAutoComplete causes error on Poltergeist.
r18444 with #31989 implemented inlineAutoComplete method in application.js.
After that, integration tests of my plugin have following errors.

Error:
Capybara::Poltergeist::JavascriptError: One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).

I attach a patch to fix it.


Files

patch.diff (1.02 KB) patch.diff Tatsuya Saito, 2019-09-15 09:57
Actions

Also available in: Atom PDF