fune/testing
Valentin Gosu 0265423f41 Bug 1848226 - Marionette's driver.sys.mjs uses wrong URL for cookie operations r=edgul,webdriver-reviewers,whimboo
https://w3c.github.io/webdriver/#dfn-get-current-url says:
> For each cookie in all associated cookies of session's
> current browsing context's active document ...

However, the cookie implementations in driver.sys.mjs called _getCurrentURL
which returned the URL of the _top level browsing context_ as specified
in https://w3c.github.io/webdriver/#dfn-get-current-url

As a consequence, the cookie tests that set and deleted cookies
inside an iframe used the top level path for deleting cookies instead of
the path of the iframe, so they failed to find any cookies applicable
to that path.

For example running cookies/encoding/charset.html would set cookies
by calling `fetch('/cookies/resources/cookie.py?...')` then it would
try to delete cookies by calling getAndExpireCookiesForDefaultPathTest
which opened an iframe to /cookies/resources/echo-cookie.html
This iframe would call `setTestContextUsingRootWindow()` then call
`await test_driver.delete_all_cookies();` - but this call attempted to
delete cookies for the top level browing context's path - /cookies/encoding/

Differential Revision: https://phabricator.services.mozilla.com/D211434
2024-06-04 10:43:16 +00:00
..
awsy Bug 1741375 - Proxy DNS by default when using SOCKS v5 r=necko-reviewers,extension-reviewers,kershaw,perftest-reviewers,robwu,sparky 2024-05-21 11:55:26 +00:00
condprofile
config
crashtest
docs
extensions
firefox-ui
geckodriver
gtest Backed out 7 changesets (bug 1876590) as requested by Gerard for causing gtest failures related to BuildIDReader.ReadFromRealLib. CLOSED TREE 2024-05-31 08:16:07 +03:00
jsshell
marionette Bug 1900137 - Home and newtab turn on wallpaper for nightly r=home-newtab-reviewers,webdriver-reviewers,whimboo,nbarrett 2024-06-04 03:48:47 +00:00
mochitest Bug 1898826 - ignore changes to security.webauthn.show_ms_settings_link in tests. r=keeler 2024-05-28 20:56:32 +00:00
modules
mozbase Bug 1898051 - Add the ability to run tasks that match a tag specified in the manifest. r=taskgraph-reviewers,ahal 2024-05-31 21:51:34 +00:00
mozharness Bug 1900059: Get rid of references to 'six' in gittool.py to fix multil10n.py usage of gittool.py r=releng-reviewers,jcristau,hneiva 2024-06-04 00:25:08 +00:00
perfdocs Bug 1883430 - Update perfdoc owners. r=perftest-reviewers,sparky 2024-05-30 21:26:15 +00:00
performance
profiles Bug 1900137 - Home and newtab turn on wallpaper for nightly r=home-newtab-reviewers,webdriver-reviewers,whimboo,nbarrett 2024-06-04 03:48:47 +00:00
raptor Bug 1896120 - Update browsertime example external link in docs r=perftest-reviewers,kshampur 2024-05-30 08:26:08 +00:00
runtimes Bug 1898690 - Move statuspanel tests into browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,mak 2024-05-28 17:00:44 +00:00
specialpowers Bug 1885449 - Move GV code shared between Android and iOS to a shared directory. r=geckoview-reviewers,frontend-codestyle-reviewers,nalexander,owlish 2024-05-16 22:08:51 +00:00
talos Backed out changeset 6f7a33d823af (bug 1824726) for causing dt failures @ browser_webconsole_message_categories.js CLOSED TREE 2024-05-28 18:54:54 +03:00
test
tools
tps
web-platform Bug 1848226 - Marionette's driver.sys.mjs uses wrong URL for cookie operations r=edgul,webdriver-reviewers,whimboo 2024-06-04 10:43:16 +00:00
webcompat
webdriver Bug 1895738 - [geckodriver] Update validation of "unhandledPromptBehavior" capability for WebDriver BiDi. r=webdriver-reviewers,jgraham,jdescottes 2024-05-23 18:30:05 +00:00
xpcshell Bug 1899781 - Use correct timeout in xpcshell TV r=jmaher 2024-05-30 14:57:15 +00:00
addtest.py
cppunittest.toml
mach_commands.py
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
skipfails.py
testinfo.py
testsuite-targets.mk Backed out 7 changesets (bug 1876590) as requested by Gerard for causing gtest failures related to BuildIDReader.ReadFromRealLib. CLOSED TREE 2024-05-31 08:16:07 +03:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff