mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Remove unnecessary segfault workarounds - segfault issues are fixed with Qt 4.8
This commit is contained in:
parent
13854e3d40
commit
036b584969
3 changed files with 1 additions and 10 deletions
|
@ -170,6 +170,3 @@ document.addEventListener(
|
|||
'DOMContentLoaded',
|
||||
-> console.log('__DOMContentLoaded')
|
||||
)
|
||||
|
||||
# Important to return true here - Phantom seems to choke otherwise
|
||||
true
|
||||
|
|
|
@ -194,5 +194,4 @@ PoltergeistAgent.Node = (function() {
|
|||
window.__poltergeist = new PoltergeistAgent;
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
return console.log('__DOMContentLoaded');
|
||||
});
|
||||
true;
|
||||
});
|
|
@ -3,11 +3,6 @@ require 'capybara/spec/session'
|
|||
|
||||
describe Capybara::Session do
|
||||
context 'with poltergeist driver' do
|
||||
# This seems to prevent some segfaulting of PhantomJS when the tests are run all together :( :(
|
||||
before(:all) do
|
||||
TestSessions::Poltergeist.driver.restart
|
||||
end
|
||||
|
||||
before do
|
||||
@session = TestSessions::Poltergeist
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue