Commit Graph

1721 Commits

Author SHA1 Message Date
Iulian Moraru
d0224a2194 Backed out 2 changesets (bug 1863266) for causing xpcshell failures on test_DOM.js. CLOSED TREE
Backed out changeset 8dd3f736b169 (bug 1863266)
Backed out changeset 8ff7b69bf4d6 (bug 1863266)
2023-11-09 21:53:57 +02:00
Henrik Skupin
090e54c529 Bug 1863266 - [remote] Improve DOM.isDisabled() for complex disabled checks. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D193201
2023-11-09 19:04:41 +00:00
Alexandra Borovova
025458222b Bug 1841049 - [bidi] Serialize a context property for WindowProxy. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D192703
2023-11-08 15:32:16 +00:00
Stanca Serban
18c4fedab7 Backed out 5 changesets (bug 1826198, bug 1852223) for causing dt failures in browser_networkobserver_auth_listener.js. CLOSED TREE
Backed out changeset b8d7a9ec9aa2 (bug 1852223)
Backed out changeset 0e7a2180e566 (bug 1852223)
Backed out changeset a7ad7ccbc6a3 (bug 1826198)
Backed out changeset 081fda2ff03d (bug 1826198)
Backed out changeset c50d12ac515b (bug 1826198)
2023-11-08 11:38:54 +02:00
Julian Descottes
371b0dfbb0 Bug 1852223 - [bidi] Handle intercepted requests in the authRequired phase r=webdriver-reviewers,Sasha
Depends on D189517

Differential Revision: https://phabricator.services.mozilla.com/D191236
2023-11-08 08:27:44 +00:00
Julian Descottes
42b3a2c972 Bug 1826198 - [bidi] Add support for the network.authRequired event r=webdriver-reviewers,whimboo
Depends on D189515

Differential Revision: https://phabricator.services.mozilla.com/D189516
2023-11-08 08:27:44 +00:00
Julian Descottes
4cb7df0138 Bug 1861655 - [bidi] Create navigation id in browsingContext.navigate r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D192110
2023-11-07 21:24:21 +00:00
Henrik Skupin
8425a0af64 Bug 1851376 - [geckodriver] Set "services.settings.server" to a dummy URL. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D192831
2023-11-07 16:49:42 +00:00
Alexandra Borovova
53ec80c94b Bug 1840999 - [bidi] Add support for "origin" argument to browsingContext.captureScreenshot. r=webdriver-reviewers,whimboo
Depends on D192579

Differential Revision: https://phabricator.services.mozilla.com/D192453
2023-11-07 10:52:54 +00:00
Sergey Galich
1b10d39234 Bug 1862410 - Removing unused LoginReputation service and updating link to Chromium's safe browsing protobuf r=dimi,webdriver-reviewers,perftest-reviewers,devtools-reviewers,geckoview-reviewers,jonalmeida,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192464
2023-11-06 19:13:09 +00:00
Alexandra Borovova
178a244302 Bug 1862649 - [bidi] Remove "scrollIntoView" argument from "browsingContext.captureScreenshot". r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D192577
2023-11-06 13:17:42 +00:00
Mark Banner
a033642737 Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin
Differential Revision: https://phabricator.services.mozilla.com/D190759
2023-11-04 09:29:27 +00:00
Geoff Brown
66f86ffbdd Bug 1860170 - Use mozprocess.run_and_wait in puppeteer r=hneiva,webdriver-reviewers,Sasha
Migrate away from mozprocess ProcessHandler, which is poorly supported.

Differential Revision: https://phabricator.services.mozilla.com/D191491
2023-10-30 16:43:16 +00:00
Alexandra Borovova
5d77c81510 Bug 1845488 - [bidi] Add support for "userActivation" parameter to script evaluation. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D192078
2023-10-30 12:56:16 +00:00
Henrik Skupin
84b1092524 Bug 1861000 - [webdriver-bidi] Always pass extraOptions when serializing a remote value. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D191938
2023-10-27 10:03:49 +00:00
Alexandra Borovova
6431e9277a Bug 1859258 - [bidi] Replace "ViewportOptions" with "BoxOptions" for "browsingContext.captureScreenshot" command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D191843
2023-10-27 07:51:53 +00:00
Tom Marble
28edc0c671 Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 21:47:25 +00:00
Natalia Csoregi
8a8efda530 Backed out changeset 1ca403a2c00e (bug 1859905) for causing failures on test_mochitest_integration.py CLOSED TREE 2023-10-25 22:26:24 +03:00
Tom Marble
9c93e7d5df Bug 1859905 - convert .ini manifests to .toml: batch 19 browser_*.ini r=jmaher,webdriver-reviewers,necko-reviewers,extension-reviewers,devtools-reviewers,anti-tracking-reviewers,valentin,robwu,pbz
Differential Revision: https://phabricator.services.mozilla.com/D191771
2023-10-25 17:12:24 +00:00
Noemi Erli
e7edea2369 Backed out 3 changesets (bug 1826198) for causing failures in browser_networkobserver_auth_listener.js CLOSED TREE
Backed out changeset c8d9b37591bf (bug 1826198)
Backed out changeset f08806f8c130 (bug 1826198)
Backed out changeset 01afc774b301 (bug 1826198)
2023-10-25 19:40:59 +03:00
Julian Descottes
bc8b00bb43 Bug 1826198 - [bidi] Add support for the network.authRequired event r=webdriver-reviewers,whimboo
Depends on D189515

Differential Revision: https://phabricator.services.mozilla.com/D189516
2023-10-25 15:39:24 +00:00
Alexandra Borovova
d88e5f0be6 Bug 1694390 - [bidi] Implement browsingContext.contextDestroyed event. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189472
2023-10-25 13:02:54 +00:00
Alexandra Borovova
1a322fdc55 Bug 1694390 - Make TabManager a class. r=webdriver-reviewers,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D191332
2023-10-25 13:02:54 +00:00
Alexandra Borovova
31fd0bf54b Bug 1860375 - Add check for if tabs are not undefined to getTabsForWindow method. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D191632
2023-10-24 15:36:27 +00:00
Julian Descottes
f0eae66847 Bug 1860603 - [puppeteer] Synchronize the test page fix for oopif puppeteer tests r=webdriver-reviewers,whimboo
Synchronized from https://github.com/puppeteer/puppeteer/pull/11218

Differential Revision: https://phabricator.services.mozilla.com/D191721
2023-10-24 14:29:37 +00:00
Alexandra Borovova
5efc971076 Bug 1851761 - [bidi] Add defaultValue field to the "browsingContext.userPromptOpened" event. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189633
2023-10-24 09:07:16 +00:00
Henrik Skupin
ffdc4971dc Bug 1274251 - [remote] Add support for serializing and deserializing of window objects. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D191436
2023-10-24 05:00:05 +00:00
Sylvestre Ledru
82db67a6be Bug 1860157 - Fix typos found by codespell 2.2.6 r=webdriver-reviewers,zeid,search-reviewers,perftest-reviewers,devtools-reviewers,releng-reviewers,gbrown,sparky,jteow
Differential Revision: https://phabricator.services.mozilla.com/D191480
2023-10-19 20:52:10 +00:00
Sandor Molnar
42751c0a70 Bug 1622090 - Fix puppeteer test. a=test-only CLOSED TREE 2023-10-18 23:42:00 +03:00
Dave Townsend
be1eb3c4b8 Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-18 07:04:41 +00:00
Dave Townsend
e9df606fd2 Bug 1857999: Add html namespace declarations for files that are missing it. r=Gijs,webdriver-reviewers,devtools-reviewers
The automated scripts requires an already present namespace prefix for the
xhtml namespace so just manually add those for documents that don't already have
one.

Differential Revision: https://phabricator.services.mozilla.com/D190680
2023-10-18 07:04:41 +00:00
Vinny Diehl
c7f3f5b114 Bug 1557650 - Add support for numeric dashed dates r=arai,webdriver-reviewers
While formal ISO dates must have 4-digit years, implementations tend to
allow dates up until +275760-09-13T00:00:00Z per the TimeClip algorithm:

 * https://tc39.es/ecma262/#sec-timeclip
 * https://tc39.es/ecma262/#sec-utc-t

As well as cases such as "1995-09-26 09:00 EST" where the time and
timezone are specified as with any other date.

This patch also adds support for formats like "1-12-20" or "1-12-2012".

The date is returned in localtime, but the limit is processed in GMT.

Differential Revision: https://phabricator.services.mozilla.com/D189895
2023-10-17 21:00:00 +00:00
Julian Descottes
dd422fdd4b Bug 1855149 - [bidi] Add authChallenges to response data in network events r=webdriver-reviewers,whimboo
Depends on D190072

Differential Revision: https://phabricator.services.mozilla.com/D190073
2023-10-17 11:10:41 +00:00
Julian Descottes
220803a19e Bug 1855149 - [bidi] Add a helper to parse challenge headers r=webdriver-reviewers,whimboo
Parsing challenge headers is not trivial, given that there can be multiple challenges in a single header.
Implementing this properly most likely means implementing a proper tokenizer.
It would be better to reuse the implementation already used by necko but this is not exposed to JS yet.

For now, add a simple parser with xpcshell tests to be reused in the network module of WebDriver bidi.

Differential Revision: https://phabricator.services.mozilla.com/D190072
2023-10-17 11:10:40 +00:00
Sandor Molnar
9ac67f260f Backed out 4 changesets (bug 1857999) for causing dt failures on browser_theme_switching.js & Mn failures at test_element_state_chrome.py CLOSED TREE
Backed out changeset 75f5e6e3d917 (bug 1857999)
Backed out changeset 0d0c1d1e80e7 (bug 1857999)
Backed out changeset b8a03d31ecea (bug 1857999)
Backed out changeset dd5a10f9cfff (bug 1857999)
2023-10-16 14:12:22 +03:00
Dave Townsend
f71c7b369a Bug 1857999: Move XML stylesheet processing instructions to link elements. r=Gijs,webdriver-reviewers,settings-reviewers,application-update-reviewers,devtools-reviewers,places-reviewers,Standard8,whimboo,bytesized,ochameau
The result of running the automated script available at https://github.com/Mossop/depi

Differential Revision: https://phabricator.services.mozilla.com/D190681
2023-10-16 09:43:26 +00:00
Dave Townsend
e945bed3e4 Bug 1857999: Add html namespace declarations for files that are missing it. r=Gijs,webdriver-reviewers,devtools-reviewers
The automated scripts requires an already present namespace prefix for the
xhtml namespace so just manually add those for documents that don't already have
one.

Differential Revision: https://phabricator.services.mozilla.com/D190680
2023-10-16 09:43:25 +00:00
Masayuki Nakano
bf010881ca Bug 1858082 - Wrap the drag service getter into a try block r=whimboo,webdriver-reviewers
The drag service is never instantiated if it's in the headless mode.
And in this case, `NS_ERROR_XPC_GS_RETURNED_FAILURE` exception is thrown.
Therefore, we need to wrap the service getter with a `try` block and
return `null` if it fails.

Differential Revision: https://phabricator.services.mozilla.com/D190580
2023-10-11 12:32:18 +00:00
Calixte
136a839099 Bug 1858063 - Update PDF.js to new version 2c87c4854a486d5cd0731b947dd622f8abe5e1b5 r=pdfjs-reviewers,Snuffleupagus,marco,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D190538
2023-10-10 16:14:43 +00:00
Masayuki Nakano
b9f2cc10a7 Bug 1844723 - Synthesizing mouseup during a drag session should end the session r=edgar,dom-core,webdriver-reviewers,whimboo
The WPT which was added by the previous patch (D187644) fails if it runs
after `mousemove_prevent_default_action.tentative.html` because it synthesize
`dragstart` with synthesizing multiple mouse events, however, `mouseup`
does not ends the drag session and the following test starts with the session.

The TestDriver finally runs `EventUtils`.  Therefore, we can make it manage
the drag session with XPCOM API.

Note that we should synthesize `dragover` for `mousemove`, and `drop` if
the drop is accepted.  However, it requires more work, so we should do it
in a separate bug.

Differential Revision: https://phabricator.services.mozilla.com/D188934
2023-10-10 07:33:06 +00:00
Joel Maher
138d83af91 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-05 11:58:59 +00:00
John Schanck
3b26eb3c70 Bug 1856395 - remove WebAuthnController. r=keeler,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189846
2023-10-05 00:52:32 +00:00
Norisz Fay
8d9aaf93b0 Backed out 2 changesets (bug 1853245) for causing python failure CLOSED TREE
Backed out changeset d09e9295477f (bug 1853245)
Backed out changeset 54a1341a95d6 (bug 1853245)
2023-10-04 23:31:21 +03:00
Joel Maher
da6575a322 Bug 1853245 - Migrate .ini to .toml browser-chrome (batch 7.99). r=aryx,webdriver-reviewers,necko-reviewers,pip-reviewers,places-reviewers,mak,mconley,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189883
2023-10-04 15:59:49 +00:00
Julien Cristau
93630da8b8 Bug 1851988 - fix some python string escape sequences r=webdriver-reviewers,perftest-reviewers,whimboo,afinder,releng-reviewers,firefox-build-system-reviewers,ahal,sergesanspaille
Use r-strings or escape backslashes to avoid a deprecation warning.

Differential Revision: https://phabricator.services.mozilla.com/D187655
2023-10-04 09:49:09 +00:00
Sylvestre Ledru
4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Henrik Skupin
fbd0c1d69f Bug 1853147 - [remote] Disable captive portal service for web-platform tests only. r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D189216
2023-09-28 07:32:19 +00:00
Julian Descottes
f087ee6684 Bug 1849743 - [remote] Update URLPattern module to match spec fixes r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D186653
2023-09-27 11:48:44 +00:00
Joel Maher
99abb50b8d Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Alexandra Borovova
0ec4ac9b05 Bug 1841786 - [bidi] Add support for serialization of "generator" and "proxy". r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D187757
2023-09-26 09:11:07 +00:00