1. 26 Apr, 2017 1 commit
  2. 19 Apr, 2017 1 commit
  3. 03 Apr, 2017 1 commit
  4. 29 Mar, 2017 1 commit
  5. 13 Mar, 2017 1 commit
  6. 10 Mar, 2017 1 commit
  7. 07 Mar, 2017 1 commit
  8. 27 Feb, 2017 1 commit
    • jam's avatar
      Fix headless_browsertests failures with PlzNavigate. · 6be7f531
      jam authored
      The fixes are:
      -fire Network.loadingFailed event when a navigation fails. Since there's no ResourceLoader in the renderer for failed navigation requests, we have to fire this from the browser.
      -synchronously wait for confirmation that the renderer enabled network/page modules before navigating pages, otherwise the observers miss some devtools messages flakily. With PlzNavigate enabled, RenderFrameDevToolsAgentHost buffers devtools messages because of speculative RFHs. So when a WebContents is created, we have to wait for the reply for enabling a module which depends on the initial about:blank navigation committing.
      -change HeadlessBrowserTest::WaitForLoad to use content::TestNavigationObserver instead of depending on devtools messages, as those could be missed if they were fired before enabling the network module
      
      BUG=504347
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
      
      Review-Url: https://codereview.chromium.org/2720543002
      Cr-Commit-Position: refs/heads/master@{#453374}
      6be7f531
  9. 15 Feb, 2017 1 commit
  10. 19 Jan, 2017 1 commit
  11. 30 Nov, 2016 1 commit
  12. 29 Nov, 2016 1 commit
  13. 22 Nov, 2016 1 commit
  14. 18 Nov, 2016 1 commit
  15. 09 Nov, 2016 1 commit
  16. 25 Oct, 2016 1 commit
  17. 25 Aug, 2016 2 commits
  18. 23 Aug, 2016 1 commit
    • eseckler's avatar
      Adds commands to get and set the frame size of a DevTools target. · 10bf0b24
      eseckler authored
      This is a first step towards more flexible screenshots
      (bit.ly/sized-screenshots): The size of the CompositorFrame sent from the
      renderer and the screenshot size are determined by the size of the RWHV.
      Combined with renderer-side Emulation overrides, this will allow us to obtain
      screenshots of a configurable size.
      
      We are planning on adding an additional Emulation override command that
      allows us to scale and position the page content, which will enable
      screenshots of a custom area of the page. Work-in-progress patch:
      https://codereview.chromium.org/2237433004/
      
      BUG=625577
      
      Review-Url: https://codereview.chromium.org/2226323002
      Cr-Commit-Position: refs/heads/master@{#413721}
      10bf0b24
  19. 16 Aug, 2016 1 commit
  20. 04 Aug, 2016 1 commit
    • altimin's avatar
      [headless] Do not give ownership of HeadlessBrowserContext to user. · bf875c9c
      altimin authored
      Public API changes:
      - HeadlessBrowserContext::Builder::Build now returns raw pointer instead of unique_ptr. Lifetime of HeadlessBrowserContexts is managed by the browser now.
      - Added HeadlessBrowserContext::Close method to give used the option to delete HeadlessBrowserContext.
      - Added HeadlessBrowserContext::Id and HeadlessBrowser::GetBrowserContextForId methods for BrowserContext identification.
      
      Internal changes:
      - HeadlessWebContents are owned by HeadlessBrowserContext.
      - HeadlessBrowserContexts are now owned by HeadlessBrowser.
      - Instead of browser having a weak pointer to HeadlessDevToolsManagerDelegate opposite happens: HeadlessDevToolsManagerDelegate weakly references HeadlessBrowser.
      
      BUG=546953
      
      Review-Url: https://codereview.chromium.org/2210323002
      Cr-Commit-Position: refs/heads/master@{#409816}
      bf875c9c
  21. 03 Aug, 2016 1 commit
    • altimin's avatar
      [headless] · 93a0240a
      altimin authored
      Public API changes:
      
      - [incompatible] Removed default browser context from HeadlessBrowser and HeadlessBrowser::CreateWebContents methods. Now BrowserContext should be created explicitly.
      - [incompatible] ProtocolHandlers cannot be set in HeadlessBrowser::Options due to being move-only and not reusable across different BrowserContexts.
      - Added more configurable options to HeadlessBrowserContext.
      - Now user data directory can be set.
      - HeadlessBrowser::Shutdown now closes all WebContents.
      - All WebContents associated with a HeadlessBrowserContext are now deleted when user deletes a BrowserContext.
      
      Internal library changes:
      - Added HeadlessBrowserContextOptions class, allowing for more customization for BrowserContext and for fallback to default browser-wide settings from HeadlessBrowser::Options.
      - Removed SetOptionsForTesting. Now BrowserContext should be created for this purposes.
      
      Misc:
      - Made linter happy.
      
      BUG=546953,624837
      
      Review-Url: https://codereview.chromium.org/2181413002
      Cr-Commit-Position: refs/heads/master@{#409527}
      93a0240a
  22. 01 Aug, 2016 1 commit
  23. 13 Jul, 2016 1 commit
  24. 07 Jul, 2016 1 commit
  25. 09 Jun, 2016 1 commit
  26. 03 Jun, 2016 1 commit
  27. 22 Apr, 2016 2 commits
  28. 21 Apr, 2016 1 commit
  29. 20 Apr, 2016 3 commits