Open Bug 1605499 Opened 5 years ago Updated 2 years ago

[meta] Support Datadog usage of Puppeteer

Categories

(Remote Protocol :: Agent, task)

task

Tracking

(Not tracked)

People

(Reporter: automatedtester, Unassigned)

References

(Depends on 8 open bugs)

Details

(Keywords: meta)

Attachments

(1 file)

Attached file log of puppeteer usage from (deleted) —

Datadog would like to support Firefox with puppeteer. Attached is a debug log of their usage.

This breaks down to
Events Recieved

{'Page.frameAttached': 17, 'Page.frameStoppedLoading': 22, 'Target.targetDestroyed': 1, 
'Target.targetInfoChanged': 7, 'Target.targetCreated': 3, 'Page.frameStartedLoading': 22, 
'Runtime.executionContextCreated': 46, 'Page.frameScheduledNavigation': 1, 
'Page.frameNavigated': 22, 'Network.requestWillBeSentExtraInfo': 225, 
'Network.requestServedFromCache': 4, 'Target.attachedToTarget': 1, 
'Target.detachedFromTarget': 1, 'Runtime.consoleAPICalled': 19, 'Page.frameDetached': 9, 
'Runtime.executionContextsCleared': 4, 'Network.resourceChangedPriority': 21, 
'Network.dataReceived': 437, 'Network.loadingFinished': 227, 
'Page.frameRequestedNavigation': 1, 'Log.entryAdded': 27, 'Page.lifecycleEvent': 190, 
'Page.domContentEventFired': 4, 'Page.frameClearedScheduledNavigation': 1, 
'Page.loadEventFired': 4, 'Network.requestWillBeSent': 229, 'Network.responseReceived': 227, 
'Runtime.executionContextDestroyed': 28, 'Fetch.requestPaused': 225, 
'Network.responseReceivedExtraInfo': 225}

Events Sent

{'Target.setDiscoverTargets': 1, 'Performance.enable': 1, 'Runtime.enable': 1, 'Page.enable': 2,
 'Network.getResponseBody': 4, 'Network.setCacheDisabled': 1, 'Fetch.enable': 1, 
'Page.getLayoutMetrics': 4, 'Page.addScriptToEvaluateOnNewDocument': 3, 
'Page.getFrameTree': 1, 'Browser.getVersion': 1, 'Emulation.setDeviceMetricsOverride': 1, 
'Page.close': 1, 'Page.captureScreenshot': 13, 'Target.attachToTarget': 1, 'Page.reload': 1, 
'DOM.getContentQuads': 4, 'Network.setExtraHTTPHeaders': 1, 'Runtime.getProperties': 2, 
'Fetch.continueRequest': 225, 'Page.setLifecycleEventsEnabled': 1, 'Runtime.releaseObject': 2, 
'Log.enable': 1, 'Network.enable': 1, 'Network.setUserAgentOverride': 1, 
'Page.setInterceptFileChooserDialog': 1, 'Target.setAutoAttach': 1, 'Page.createIsolatedWorld': 1,
 'Input.dispatchMouseEvent': 10, 'Runtime.callFunctionOn': 149, 'Page.navigate': 2, 
'Emulation.setTouchEmulationEnabled': 1}

Attachment #9117377 - Attachment mime type: application/octet-stream → text/plain

Do we actually know which of those events and methods still fail? Even having the meta bugs open, we have basic implementations for a lot of them which might fulfill their needs. It would be great to get them to run their tests with Firefox Nightly. Or where did you get the log from?

Summary: [meta] Support datadog usage of puppeteer → [meta] Support Datadog usage of puppeteer

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #1)

Do we actually know which of those events and methods still fail? Even having the meta bugs open, we have basic implementations for a lot of them which might fulfill their needs.

It would probably be more appropriate for this bug to depend on the outstanding implementation bugs, which you are right is going to be a subset of the dependencies of those meta bugs.

But I understand finding that out takes a bit of time, so until we’ve deduced that from the debug logs I guess it’s informative to use the coarse list of meta bugs.

Summary: [meta] Support Datadog usage of puppeteer → [meta] Support Datadog usage of Puppeteer

I had a quick look at the log and it doesn't show any UnknownMethodError, which means all the methods it needs are implemented. Also I cannot see any other error, so I wonder what's actually broken. David, which failures have you seen?

Flags: needinfo?(dburns)

This is their log when using Chrome, so I don't expect there to be any UnknownMethodErrors. Will ask the user if they can try it out and see what breaks for them. Looking at the dependency tree for this bug there looks like there are a number of "Implement" bugs that still need working on.

Flags: needinfo?(dburns)

All the requirements for Page.getFrameTree should be available now via bug 1605359.

Depends on: 1605359
No longer depends on: 1549435
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: