1. 08 Mar, 2019 1 commit
  2. 13 Jul, 2018 1 commit
  3. 05 Jun, 2018 1 commit
  4. 04 Jun, 2018 1 commit
  5. 01 Jun, 2018 2 commits
    • Alexey Kozyatinskiy's avatar
      Reland "[inspector] added Runtime.installBinding method" · 5cb11a17
      Alexey Kozyatinskiy authored
      This is a reland of 49c4ac77
      
      Original change's description:
      > [inspector] added Runtime.installBinding method
      >
      > A lot of different clients use console.debug as a message channel from
      > page to protocol client. console.debug is a little slow and not
      > designed for this use case.
      >
      > This CL introduces new method: Runtime.installBinding. This method
      > installs binding function by given name on global object on each
      > inspected context including any context created later.
      > Binding function takes exactly one string argument. Each time when
      > binding function is called, Runtime.bindingCalled notification is
      > triggered and includes passed payload.
      >
      > Binding function survives page reload and reinstalled right after
      > console object is setup. So installed binding can be used inside
      > script added by Page.addScriptToEvaluateOnNewDocument so client may do
      > something like:
      > Runtime.installBinding({name: 'send'});
      > Page.addScriptToEvaluateOnNewDocument({source: 'console.debug = send'});
      > .. navigate page ..
      >
      > In microbenchmark this function is ~4.6 times faster then
      > console.debug.
      >
      > R=lushnikov@chromium.org,pfeldman@chromium.org
      >
      > Bug: none
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: I3e0e231dde9d45116709d248f6e9e7ec7037e8e3
      > Reviewed-on: https://chromium-review.googlesource.com/1077662
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#53462}
      
      TBR=dgozman@chromium.org
      
      Bug: none
      Change-Id: I58d053581a86f15338dea621498058b7b75c7c85
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/1081833Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53479}
      5cb11a17
    • Sergiy Byelozyorov's avatar
      Revert "[inspector] added Runtime.installBinding method" · 7bd8b1c0
      Sergiy Byelozyorov authored
      This reverts commit 49c4ac77.
      
      Reason for revert: breaks linux_chromium_rel_ng when rolling into Chromium: https://ci.chromium.org/p/chromium/builders/luci.chromium.try/linux_chromium_rel_ng/107377
      
      Original change's description:
      > [inspector] added Runtime.installBinding method
      > 
      > A lot of different clients use console.debug as a message channel from
      > page to protocol client. console.debug is a little slow and not
      > designed for this use case.
      > 
      > This CL introduces new method: Runtime.installBinding. This method
      > installs binding function by given name on global object on each
      > inspected context including any context created later.
      > Binding function takes exactly one string argument. Each time when
      > binding function is called, Runtime.bindingCalled notification is
      > triggered and includes passed payload.
      > 
      > Binding function survives page reload and reinstalled right after
      > console object is setup. So installed binding can be used inside
      > script added by Page.addScriptToEvaluateOnNewDocument so client may do
      > something like:
      > Runtime.installBinding({name: 'send'});
      > Page.addScriptToEvaluateOnNewDocument({source: 'console.debug = send'});
      > .. navigate page ..
      > 
      > In microbenchmark this function is ~4.6 times faster then
      > console.debug.
      > 
      > R=​lushnikov@chromium.org,pfeldman@chromium.org
      > 
      > Bug: none
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: I3e0e231dde9d45116709d248f6e9e7ec7037e8e3
      > Reviewed-on: https://chromium-review.googlesource.com/1077662
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#53462}
      
      TBR=dgozman@chromium.org,lushnikov@chromium.org,pfeldman@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: I1ebafd42db01d8a6435d58386f2c667b92db12f1
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: none
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/1082311Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
      Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53470}
      7bd8b1c0
  6. 31 May, 2018 1 commit
    • Alexey Kozyatinskiy's avatar
      [inspector] added Runtime.installBinding method · 49c4ac77
      Alexey Kozyatinskiy authored
      A lot of different clients use console.debug as a message channel from
      page to protocol client. console.debug is a little slow and not
      designed for this use case.
      
      This CL introduces new method: Runtime.installBinding. This method
      installs binding function by given name on global object on each
      inspected context including any context created later.
      Binding function takes exactly one string argument. Each time when
      binding function is called, Runtime.bindingCalled notification is
      triggered and includes passed payload.
      
      Binding function survives page reload and reinstalled right after
      console object is setup. So installed binding can be used inside
      script added by Page.addScriptToEvaluateOnNewDocument so client may do
      something like:
      Runtime.installBinding({name: 'send'});
      Page.addScriptToEvaluateOnNewDocument({source: 'console.debug = send'});
      .. navigate page ..
      
      In microbenchmark this function is ~4.6 times faster then
      console.debug.
      
      R=lushnikov@chromium.org,pfeldman@chromium.org
      
      Bug: none
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: I3e0e231dde9d45116709d248f6e9e7ec7037e8e3
      Reviewed-on: https://chromium-review.googlesource.com/1077662
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53462}
      49c4ac77
  7. 14 Apr, 2018 1 commit
  8. 13 Apr, 2018 2 commits
  9. 20 Mar, 2018 1 commit
  10. 19 Mar, 2018 1 commit
    • Alexey Kozyatinskiy's avatar
      Reland "[inspector] added Runtime.terminateExecution" · 97fc20f3
      Alexey Kozyatinskiy authored
      This is a reland of 14824520
      
      Original change's description:
      > [inspector] added Runtime.terminateExecution
      >
      > Runtime.terminateExecution terminates current or next JavaScript
      > call. Termination flag is automatically reset as soon as v8 call
      > or microtasks are completed.
      >
      > R=pfeldman@chromium.org
      >
      > Bug: chromium:820640
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: Ie21c123be3a61fe25cf6e04c38a8b6c664622ed7
      > Reviewed-on: https://chromium-review.googlesource.com/957386
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51912}
      
      Bug: chromium:820640
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: I6dd30f65c06c2b7eefd1e7beb9a3cf50ea5bf8cd
      Reviewed-on: https://chromium-review.googlesource.com/967323
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52004}
      97fc20f3
  11. 17 Mar, 2018 2 commits
    • Michael Achenbach's avatar
      Revert "Reland "[inspector] added Runtime.terminateExecution"" · 7652bd27
      Michael Achenbach authored
      This reverts commit 14824520.
      
      Reason for revert: Breaks chromium tsan in roll:
      https://chromium-review.googlesource.com/c/chromium/src/+/967682
      
      Original change's description:
      > Reland "[inspector] added Runtime.terminateExecution"
      > 
      > This is a reland of 98dec8f2
      > 
      > Original change's description:
      > > [inspector] added Runtime.terminateExecution
      > > 
      > > Runtime.terminateExecution terminates current or next JavaScript
      > > call. Termination flag is automatically reset as soon as v8 call
      > > or microtasks are completed.
      > > 
      > > R=pfeldman@chromium.org
      > > 
      > > Bug: chromium:820640
      > > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > > Change-Id: Ie21c123be3a61fe25cf6e04c38a8b6c664622ed7
      > > Reviewed-on: https://chromium-review.googlesource.com/957386
      > > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#51912}
      > 
      > Bug: chromium:820640
      > Change-Id: I8f270c2fdbe732f0c40bfb149d26a6e73d988253
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Reviewed-on: https://chromium-review.googlesource.com/966681
      > Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52002}
      
      TBR=dgozman@chromium.org,pfeldman@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: I2f3d24b238f479082bfed349363240887b5ba751
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:820640
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/967781Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52003}
      7652bd27
    • Alexey Kozyatinskiy's avatar
      Reland "[inspector] added Runtime.terminateExecution" · 14824520
      Alexey Kozyatinskiy authored
      This is a reland of 98dec8f2
      
      Original change's description:
      > [inspector] added Runtime.terminateExecution
      > 
      > Runtime.terminateExecution terminates current or next JavaScript
      > call. Termination flag is automatically reset as soon as v8 call
      > or microtasks are completed.
      > 
      > R=pfeldman@chromium.org
      > 
      > Bug: chromium:820640
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: Ie21c123be3a61fe25cf6e04c38a8b6c664622ed7
      > Reviewed-on: https://chromium-review.googlesource.com/957386
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#51912}
      
      Bug: chromium:820640
      Change-Id: I8f270c2fdbe732f0c40bfb149d26a6e73d988253
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/966681Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52002}
      14824520
  12. 14 Mar, 2018 2 commits
  13. 13 Mar, 2018 1 commit
  14. 28 Feb, 2018 1 commit
  15. 02 Feb, 2018 1 commit
  16. 17 Oct, 2017 1 commit
  17. 31 Aug, 2017 1 commit
  18. 29 Aug, 2017 2 commits
  19. 23 Aug, 2017 1 commit
  20. 21 Aug, 2017 1 commit
  21. 25 Feb, 2017 1 commit
  22. 22 Feb, 2017 1 commit
  23. 03 Nov, 2016 1 commit
  24. 26 Sep, 2016 1 commit
  25. 21 Sep, 2016 2 commits
  26. 10 Sep, 2016 1 commit
  27. 06 Sep, 2016 1 commit
  28. 01 Sep, 2016 1 commit
  29. 31 Aug, 2016 2 commits