Commit Graph

1707 Commits

Author SHA1 Message Date
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
Julian Descottes
b1c916c2f3 Bug 1756595 - [remote] Update puppeteer expectations for navigationStarted and realmCreated r=webdriver-reviewers,whimboo
Depends on D188405

Differential Revision: https://phabricator.services.mozilla.com/D188953
2023-09-22 15:33:53 +00:00
Julian Descottes
3f49b875c5 Bug 1756595 - [bidi] Add a NavigationListener wrapping NavigationManager events r=webdriver-reviewers,whimboo
Depends on D163994

The NavigationManager interface is inconsistent with the other listeners.
Wrapping it with a regular "Listener" pattern would help keep the modules using it easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D188405
2023-09-22 15:33:53 +00:00
Julian Descottes
b600accfe6 Bug 1756595 - [remote] NavigationManager should not emit navigation-started/stopped for same document navigations r=webdriver-reviewers,Sasha,whimboo
Depends on D163993

Differential Revision: https://phabricator.services.mozilla.com/D188950
2023-09-22 15:33:52 +00:00
Julian Descottes
850bdbab69 Bug 1756595 - [bidi] Implement "browsingContext.navigationStarted" event r=webdriver-reviewers,whimboo
Implements the event defined at https://w3c.github.io/webdriver-bidi/#event-browsingContext-navigationStarted

Depends on D188440

Differential Revision: https://phabricator.services.mozilla.com/D163993
2023-09-22 15:33:51 +00:00
nag
499e8df1ce Bug 1849316 - Refactor TabManager methods to make use of getTabsForWindow method. r=Sasha,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188751
2023-09-22 10:37:11 +00:00
Alexandra Borovova
d4e246b0a8 Bug 1788657 - [bidi] Implement "script.realmCreated" event. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188439
2023-09-22 08:11:31 +00:00
Alexandra Borovova
1dbaa29978 Bug 1788657 - [bidi] Do not return sandbox name in realm info when it equals null. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188438
2023-09-22 08:11:31 +00:00
Harshit Sohaney
1ee160e793 Bug 1835920 - Adding support for set_permission for storage-access-api wpt. r=webdriver-reviewers,bvandersloot,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D183890
2023-09-21 01:48:46 +00:00
Iulian Moraru
385fa91360 Backed out 9 changesets (bug 1848783, bug 1837168, bug 1835920) for causing multiple failures. CLOSED TREE
Backed out changeset ab1717421318 (bug 1848783)
Backed out changeset de5e1715c877 (bug 1848783)
Backed out changeset 1f64106e6667 (bug 1848783)
Backed out changeset e082ba20bbb2 (bug 1848783)
Backed out changeset cb56c5d713bf (bug 1848783)
Backed out changeset 735161c251e4 (bug 1848783)
Backed out changeset 3d1468ac6e84 (bug 1848783)
Backed out changeset 9ff5b92032cb (bug 1837168)
Backed out changeset 15cfb0c4f048 (bug 1835920)
2023-09-20 22:29:41 +03:00
Harshit Sohaney
2e46ed10a3 Bug 1835920 - Adding support for set_permission for storage-access-api wpt. r=webdriver-reviewers,bvandersloot,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D183890
2023-09-20 16:14:37 +00:00
Alexandra Borovova
cde1bb94e8 Bug 1853302 - [bidi] Do not send browsingContext.userPromptOpened event for unsupported prompt types. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188711
2023-09-20 12:26:17 +00:00
Alexandra Borovova
04943f50d5 Bug 1854067 - [marionette] Unsubscribe correctly from PromptListener opened event. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D188710
2023-09-20 11:59:50 +00:00
Cosmin Sabou
39c14444b7 Backed out 9 changesets (bug 1837168, bug 1835920, bug 1848783) for causing storage-access-api wpt failures. CLOSED TREE
Backed out changeset 3fd66f8f5d65 (bug 1848783)
Backed out changeset a96afb6d05d6 (bug 1848783)
Backed out changeset 117132b000ac (bug 1848783)
Backed out changeset 3a14281b7d72 (bug 1848783)
Backed out changeset 7dc5f794364d (bug 1848783)
Backed out changeset 84ca25a557a6 (bug 1848783)
Backed out changeset 8bb89cf9587e (bug 1848783)
Backed out changeset 15a005bef445 (bug 1837168)
Backed out changeset a97bc1fd6637 (bug 1835920)
2023-09-20 04:41:18 +03:00
Harshit Sohaney
7e8b84dd5a Bug 1835920 - Adding support for set_permission for storage-access-api wpt. r=webdriver-reviewers,bvandersloot,jdescottes,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D183890
2023-09-19 21:03:06 +00:00