bug 1523104: remote: remove unsupported feature in demo; r=ochameau
authorAndreas Tolfsen <ato@sny.no>
Thu, 07 Mar 2019 22:07:56 +0000
changeset 521126 2b1bde33c72e847d3963683a7c27301f18ba8407
parent 521125 f298dfa8a1b1fc49671c3577155157275a3835d0
child 521127 06c54b40f31249275aebae31d17a1aa3add93058
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1523104
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1523104: remote: remove unsupported feature in demo; r=ochameau
remote/test/demo.js
--- a/remote/test/demo.js
+++ b/remote/test/demo.js
@@ -11,21 +11,16 @@ async function demo() {
     // receive console.log messages and print them
     Log.enable();
     Log.entryAdded(({entry}) => {
       const {timestamp, level, text, args} = entry;
       const msg = text || args.join(" ");
       console.log(`${new Date(timestamp)}\t${level.toUpperCase()}\t${msg}`);
     });
 
-    // turn on network stack logging
-    Network.requestWillBeSent((params) => {
-      console.log(params.request.url);
-    });
-
     // turn on navigation related events, such as DOMContentLoaded et al.
     await Page.enable();
 
     await Page.navigate({url: "data:text/html,test-page<script>console.log('foo');</script><script>'</script>"});
     await Page.loadEventFired();
   } catch (e) {
     console.error(e);
   } finally {