Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][Chromium] Page.Events.Popup should work with noopener and url crashes browser #1428

Closed
yury-s opened this issue Mar 19, 2020 · 1 comment

Comments

@yury-s
Copy link
Member

yury-s commented Mar 19, 2020

Running the test on Chromium r751656 gives the following:

Failures:

  1. [FAIL] Chromium [Driver] Page.Events.Popup should work with noopener and url (popup.spec.js:339:5)
    Message:
    Target closed
    Stack:
    Error: Target closed
    at Page._didDisconnect (/home/yurys/playwright/src/page.ts:204:3)
    at CRSession. (/home/yurys/playwright/src/chromium/crTarget.ts:65:76)
    at Object.onceWrapper (events.js:291:20)
    at CRSession.emit (events.js:203:13)
    at /home/yurys/playwright/src/chromium/crConnection.ts:186:3
    -- ASYNC --
    at Page. (/home/yurys/playwright/src/helper.ts:72:15)
    at /home/yurys/playwright/test/popup.spec.js:344:14
    Output:
    [0319/094823.698525:WARNING:ipc_message_attachment_set.cc(49)] MessageAttachmentSet destroyed with unconsumed attachments: 0/1
    [0319/094823.698530:ERROR:command_buffer_proxy_impl.cc(123)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
    Received signal 11 SEGV_MAPERR 000000000008
    #0 0x55fa1d96b0d9 base::debug::CollectStackTrace()
    fix(lint): webkit linting #1 0x55fa1d8cbff3 base::debug::StackTrace::StackTrace()
    fix(doc): npm run doc fixed #2 0x55fa1d96ac75 base::debug::(anonymous namespace)::StackDumpSignalHandler()
    Fix CapsLock everywhere #3 0x7fd0c0fcc890 (/lib/x86_64-linux-gnu/libpthread-2.27.so+0x1288f)
    chore: remove unused files / events #4 0x55fa1b5b39ae content::mojom::DeviceEmulatorProxy::SetDeviceEmulation()
    Remove Chromium APIs not supported by Firefox & WebKit at launch #5 0x55fa1bcb56c9 content::protocol::EmulationHandler::SetDeviceMetricsOverride()
    generate .d.ts better than what's on definitelytyped #6 0x55fa1bcb58b8 content::protocol::EmulationHandler::SetDeviceMetricsOverride()
    multibrowser api documentation #7 0x55fa1bb06379 content::protocol::Emulation::DispatcherImpl::setDeviceMetricsOverride()
    INTERNAL: run all the tests with npm test #8 0x55fa1bafd7b2 content::protocol::BackgroundService::DispatcherImpl::dispatch()
    firefox protocol checking #9 0x55fa1bb31e03 content::protocol::UberDispatcher::dispatch()
    $wait #10 0x55fa1bc9da91 content::DevToolsSession::HandleCommand()
    waitForElementEnabled #11 0x55fa1bca0596 base::internal::Invoker<>::RunOnce()
    waitForNodeIdle #12 0x55fa2218d8a5 headless::protocol::HeadlessDevToolsSession::HandleCommand()
    waitForClickable #13 0x55fa2218cbfb headless::HeadlessDevToolsManagerDelegate::HandleCommand()
    waitForDialog #14 0x55fa1bc9d94c content::DevToolsSession::DispatchProtocolMessageInternal()
    URLMatchOptions #15 0x55fa1bc9d689 content::DevToolsSession::DispatchProtocolMessage()
    waitForNavigations #16 0x55fa1bc99d60 base::internal::Invoker<>::RunOnce()
    waitForPopup #17 0x55fa1d91631b base::TaskAnnotator::RunTask()
    page.selectOption #18 0x55fa1d926bfe base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
    cross browser fill #19 0x55fa1d926990 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoSomeWork()
    verbose logger #20 0x55fa1d8e1d57 base::(anonymous namespace)::WorkSourceDispatch()
    context.cookies API #21 0x7fd0beee5417 g_main_context_dispatch
    webkit: force-create execution contexts #22 0x7fd0beee5650 (/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.5600.4+0x4c64f)
    Can't waitForSelector if the selector contains :focus or something else exotic #23 0x7fd0beee56dc g_main_context_iteration
    docs: show browser test stats in the readme #24 0x55fa1d8e1bb2 base::MessagePumpGlib::Run()
    chore: remove page.pdf API #25 0x55fa1d927405 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
    test: fix failing chromium tests #26 0x55fa1d8ff33e base::RunLoop::Run()
    chore: remove Worker API #27 0x55fa1bc1f534 content::BrowserMainLoop::RunMainMessageLoopParts()
    chore: move pdf, tracing, coverage, a11y into featuress/ #28 0x55fa1bc213e2 content::BrowserMainRunnerImpl::Run()
    chore: move workers into features/ #29 0x55fa2218b646 headless::HeadlessContentMainDelegate::RunProcess()
    chore: remove page.metrics API #30 0x55fa1d49d447 content::ContentMainRunnerImpl::RunServiceManager()
    chore: remove page.queryObjects API #31 0x55fa1d49d0a7 content::ContentMainRunnerImpl::Run()
    fix: build include paths #32 0x55fa1d4ff3f3 service_manager::Main()
    chore: move permissions API into features/ #33 0x55fa1d49b301 content::ContentMain()
    chore: remove Request.fromCache/ServiceWorker APIs #34 0x55fa1d4fe16d headless::(anonymous namespace)::RunContentMain()
    chore: remove SecurityDetails API #35 0x55fa1d4fde6c headless::HeadlessShellMain()
    chore: remove handle.boxModel API #36 0x55fa1af0c827 ChromeMain
    chore: move geolocation into features/ #37 0x7fd0ba937b97 __libc_start_main
    chore: split vendor APIs #38 0x55fa1af0c66a _start
    r8: 0000000000000000 r9: 0000000000000000 r10: 00000f2b387dbd30 r11: 00007ffc7b9212f4
    r12: 00000f2b387ffdcc r13: 0000000000000000 r14: 0000000000000000 r15: 00007ffc7b9213e0
    di: 00007ffc7b921350 si: 00007ffc7b9213e0 bp: 00007ffc7b921450 bx: 00007ffc7b921350
    dx: 0000000000000008 ax: 000055fa19302cce cx: 0000000000000000 sp: 00007ffc7b921350
    ip: 000055fa1b5b39ae efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
    trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000008
    [end of stack trace]
    Calling _exit(1). Core file will not be generated.
@yury-s
Copy link
Member Author

yury-s commented Mar 19, 2020

Filed a bug in Chromium: http://crbug.com/1063063

@yury-s yury-s closed this as completed Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant