Marionette changes in Firefox 96

127 views
Skip to first unread message

Henrik Skupin

unread,
Jan 17, 2022, 3:05:44 AM1/17/22
to dev-we...@mozilla.org
Hi,

Firefox 96 has been released last week, and a couple of improvements and
bug fixes happened to the WebDriver conformance (means the Marionette)
component.

You can find all the details in the change log for web developers:

https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/96#WebDriver_conformance_Marionette

Best,

--
Henrik Skupin
Staff Software Engineer
Mozilla Corporation

David Dick

unread,
Jan 24, 2022, 5:17:43 AM1/24/22
to Henrik Skupin, dev-we...@mozilla.org
On 17/1/22 19:05, Henrik Skupin wrote:
Hi,

Firefox 96 has been released last week, and a couple of improvements and
bug fixes happened to the WebDriver conformance (means the Marionette)
component.

You can find all the details in the change log for web developers:

https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/96#WebDriver_conformance_Marionette

Best,

Hi Henrik,

I'm working with Firefox 96 and the nightly version ( moz:buildID => 20220121214138 ) and I'm looking at the resolved bug https://bugzilla.mozilla.org/show_bug.cgi?id=1489490

When I try to prove the fix works, it looks like it depends on the sandbox argument being set to a value in the WebDriver:ExecuteScript call.  Debug is below;

** firefox --version
** firefox -marionette -safe-mode -profile /tmp/firefox_marionette_local__edlPMUOF5v/profile --no-remote --new-instance
ATTENTION: default value of option mesa_glthread overridden by environment.
<< 50:{"applicationType":"gecko","marionetteProtocol":3}
>> 73:[0,1,"WebDriver:NewSession",{"capabilities":{"requiredCapabilities":{}}}]
<< 695:[1,1,null,{"sessionId":"69d5b1fe-1c48-4a99-b206-160bef9265ef","capabilities":{"browserName":"firefox","browserVersion":"96.0","platformName":"linux","platformVersion":"5.15.16-200.fc35.x86_64","acceptInsecureCerts":false,"pageLoa
dStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":false,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20220111
210158","moz:headless":false,"moz:processID":251555,"moz:profile":"/tmp/firefox_marionette_local__edlPMUOF5v/profile","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
>> 181:[0,2,"WebDriver:Navigate",{"sessionId":"69d5b1fe-1c48-4a99-b206-160bef9265ef","url":"https://bakery-flow.demo.vaadin.com/login","value":"https://bakery-flow.demo.vaadin.com/login"}]
<< 25:[1,2,null,{"value":null}]
>> 74:[0,3,"WebDriver:FindElement",{"using":"id","value":"vaadinLoginUsername"}]
<< 99:[1,3,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"6a8798a1-9219-43fa-b616-e2857fe6c027"}}]
>> 77:[0,4,"WebDriver:GetShadowRoot",{"id":"6a8798a1-9219-43fa-b616-e2857fe6c027"}]
<< 98:[1,4,null,{"value":{"shadow-6066-11e4-a52e-4f735466cecf":"a254a95c-1ea6-4155-83e2-e5aa23b29745"}}]
>> 252:[0,5,"WebDriver:ExecuteScript",{"args":[],"sandbox":"default","script":"var elem = document.getElementById(\"vaadinLoginUsername\"); return elem.shadowRoot","value":"var elem = document.getElementById(\"vaadinLoginUsername\"); re
turn elem.shadowRoot"}]
<< 98:[1,5,null,{"value":{"shadow-6066-11e4-a52e-4f735466cecf":"a254a95c-1ea6-4155-83e2-e5aa23b29745"}}]
>> 252:[0,6,"WebDriver:ExecuteScript",{"args":[],"sandbox":"dontcar","script":"var elem = document.getElementById(\"vaadinLoginUsername\"); return elem.shadowRoot","value":"var elem = document.getElementById(\"vaadinLoginUsername\"); re
turn elem.shadowRoot"}]
<< 98:[1,6,null,{"value":{"shadow-6066-11e4-a52e-4f735466cecf":"a254a95c-1ea6-4155-83e2-e5aa23b29745"}}]
>> 232:[0,7,"WebDriver:ExecuteScript",{"args":[],"script":"var elem = document.getElementById(\"vaadinLoginUsername\"); return elem.shadowRoot","value":"var elem = document.getElementById(\"vaadinLoginUsername\"); return elem.shadowRoot
"}]
<< 477:[1,7,{"error":"javascript error","message":"Cyclic object value","stacktrace":"WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5\nJavaScriptError@chrome://remote/content/shared/webdriver/Errors.jsm:362:5\ne
valuate.assertAcyclic@chrome://remote/content/marionette/evaluate.js:52:11\nevaluate.toJSON@chrome://remote/content/marionette/evaluate.js:359:14\nreceiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.jsm:177:
31\n"},null]
javascript error: Cyclic object value
>> 50:[0,8,"Marionette:Quit",{"flags":["eAttemptQuit"]}]
<< 46:[1,8,null,{"cause":"shutdown","forced":false}]

Is this what is expected?

Regards

Dave




Reply all
Reply to author
Forward
0 new messages