1
0
Fork 0
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:
Jon Leighton 2012-01-06 10:52:05 +00:00
parent 13854e3d40
commit 036b584969
3 changed files with 1 additions and 10 deletions

View file

@ -170,6 +170,3 @@ document.addEventListener(
'DOMContentLoaded', 'DOMContentLoaded',
-> console.log('__DOMContentLoaded') -> console.log('__DOMContentLoaded')
) )
# Important to return true here - Phantom seems to choke otherwise
true

View file

@ -194,5 +194,4 @@ PoltergeistAgent.Node = (function() {
window.__poltergeist = new PoltergeistAgent; window.__poltergeist = new PoltergeistAgent;
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
return console.log('__DOMContentLoaded'); return console.log('__DOMContentLoaded');
}); });
true;

View file

@ -3,11 +3,6 @@ require 'capybara/spec/session'
describe Capybara::Session do describe Capybara::Session do
context 'with poltergeist driver' 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 before do
@session = TestSessions::Poltergeist @session = TestSessions::Poltergeist
end end