Commit Graph

1679 Commits

Author SHA1 Message Date
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
Narcis Beleuzu
2990006272 Backed out 9 changesets (bug 1835920, bug 1848783, bug 1837168) for assertion failure on PermissionManager.cpp . CLOSED TREE
Backed out changeset 589241e4e1f6 (bug 1848783)
Backed out changeset 7446d643420d (bug 1848783)
Backed out changeset 1b5a505a9bc6 (bug 1848783)
Backed out changeset bfd4df9014d7 (bug 1848783)
Backed out changeset 01f053bbdb97 (bug 1848783)
Backed out changeset e1b829bfb8d1 (bug 1848783)
Backed out changeset f17d58a27f3c (bug 1848783)
Backed out changeset d21bdbf5baf1 (bug 1837168)
Backed out changeset a2d17b5958b8 (bug 1835920)
2023-09-19 16:15:26 +03:00
Harshit Sohaney
e8e6daddf9 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 11:11:18 +00:00
Henrik Skupin
50d51d173e Bug 1824227 - [remote] Improve parsing of actions for WebDriver BiDi. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D188082
2023-09-19 10:08:23 +00:00
Sandor Molnar
5fc269b04d Backed out 2 changesets (bug 1824227) for causing xpc failures on remote/shared/webdriver/test/xpcshell/test_Actions.js
Backed out changeset dcdeeb413fde (bug 1824227)
Backed out changeset c6f1454dd012 (bug 1824227)
2023-09-19 02:44:43 +03:00
Henrik Skupin
782b108e9f Bug 1824227 - [remote] Improve parsing of actions for WebDriver BiDi. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D188082
2023-09-18 16:19:59 +00:00
Julian Descottes
5da943f86c Bug 1851438 - [remote] Fix expectations and tests for Puppeteer v21.2.0 on mozilla CI r=webdriver-reviewers,whimboo
Depends on D188104

> TestExpectations.json
> Launcher specs Puppeteer Puppeteer.launch should launch Chrome properly with

Those tests can't work on Mozilla CI because we don't perform a regular install of puppeteer there.

> TestExpectations.json
> Launcher specs Puppeteer Puppeteer.launch should work with no default arguments

Same thing.

> TestExpectations.json
> [proxy.spec] request proxy should respect proxy bypass list

This test frequently fails on our CI because the responseCompleted event is received too late (ie after navigate has resolved). Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1852891 about this.

> TestExpectations.json
> [network.spec] network Response.fromCache should work

I am not sure how this one passes on the puppeteer CI. Locally I never get a second request for the CSS file which we expect to get from the cache. Maybe we are completely missing the request in this case, but I don't know how this can pass on the puppeteer CI.

> TestExpectations.json
> [waittask.spec] waittask specs Frame.waitForFunction should work when resolved right before execution context disposal

The polling mechanism used in this test always fail for me locally and on CI. It might pass on puppeteer CI if it has slightly different timings?

> evaluation.spec.ts
> should not throw an error when evaluation does a navigation

Is ending too quickly on our CI, and the next test is trying to use the browsing context which is navigating, failing frequently.

> page.spec.ts
> Page.Events.PageError should fire

I frequently receive other errors for the same context during the test, which make the test fail. I'm proposing to wait for the specific error message here to avoid the issue.

> target.spec.ts
> should timeout waiting for a non-existent target

Depending on which test ran before, there could be a `server.EMPTY_PAGE` target available, and for some reason that lead the test to immediately fail with a TIMEOUT. Not quite sure why, but I think using an obviously not matching URL is safer?

Differential Revision: https://phabricator.services.mozilla.com/D188105
2023-09-15 13:36:12 +00:00
Julian Descottes
7a9d33e4f7 Bug 1851438 - [remote] Sync vendored puppeteer to v21.2.0 r=webdriver-reviewers,whimboo
Depends on D188103

Differential Revision: https://phabricator.services.mozilla.com/D188104
2023-09-15 13:36:11 +00:00
Julian Descottes
9ed7cf9491 Bug 1847563 - [bidi] Cancel intercepted bidi events for invalid contexts r=webdriver-reviewers,whimboo
Depends on D188102

Differential Revision: https://phabricator.services.mozilla.com/D188103
2023-09-15 13:36:11 +00:00
Julian Descottes
1342e8062c Bug 1847563 - [remote] Add isValidCanonicalBrowsingContext to check against discarded contexts r=webdriver-reviewers,whimboo
Depends on D188101

If the browsing context is discarded, it will not have any embedderElement attached, and we cannot process it as expected.
Add the helper and use it for the existing spots checking for valid browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D188102
2023-09-15 13:36:11 +00:00
Julian Descottes
fd5843da6a Bug 1847563 - [remote] Allow MessageHandler modules to cancel intercepted events r=webdriver-reviewers,Sasha
Depends on D187898

Differential Revision: https://phabricator.services.mozilla.com/D188101
2023-09-15 13:36:10 +00:00
Marco Bonardo
70fdad6676 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-15 09:16:34 +00:00
Marco Bonardo
68e8e4ff48 Bug 1852963 - Fix tests awaiting on BrowserTestUtils.loadURIString(). r=dao,webdriver-reviewers,devtools-reviewers,whimboo
BrowserTestUtils.loadURIString() is not async, nor returning a promise, it's
effectively not awaiting for the page to be loaded.

Differential Revision: https://phabricator.services.mozilla.com/D188211
2023-09-15 09:16:34 +00:00
Sandor Molnar
950a3c620d Backed out 3 changesets (bug 1852963) for causing remote failures on remote/shared/messagehandler/test/browser/browser_session_data.js CLOSED TREE
Backed out changeset 98de7bc404c3 (bug 1852963)
Backed out changeset edf1527c9a99 (bug 1852963)
Backed out changeset 34357750f69c (bug 1852963)
2023-09-14 20:29:06 +03:00
Marco Bonardo
61f8ecc425 Bug 1852963 - Rename BrowserTestUtils.loadURIString() to .startLoadingURIString(). r=dao
This should make a bit clearer that it is only starting the load, not waiting
for its completion.

Differential Revision: https://phabricator.services.mozilla.com/D188213
2023-09-14 16:33:13 +00:00
Marco Bonardo
2d21eb4e99 Bug 1852963 - Fix tests awaiting on BrowserTestUtils.loadURIString(). r=dao,webdriver-reviewers,devtools-reviewers,whimboo
BrowserTestUtils.loadURIString() is not async, nor returning a promise, it's
effectively not awaiting for the page to be loaded.

Differential Revision: https://phabricator.services.mozilla.com/D188211
2023-09-14 16:33:13 +00:00
Julian Descottes
0c26566738 Bug 1852250 - [bidi] Always process navigation data when handling network events r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D187898
2023-09-14 12:19:47 +00:00
William Durand
074ffc748d Bug 1852537 - Add missing add-on install error codes. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187986
2023-09-12 18:29:56 +00:00
William Durand
18d5a11837 Bug 1852537 - Fix typo in an add-on install error code. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187902
2023-09-12 18:29:56 +00:00
Alexandra Borovova
f76d7e94f9 Bug 1788659 - [bidi] Implement "script.realmDestroyed" event. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D187550
2023-09-12 09:39:56 +00:00
Alexandra Borovova
24aa536555 Bug 1849369 - Add event detail to DOMModalDialogClosed event in the GeckoView. r=geckoview-reviewers,webdriver-reviewers,ohall,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D187777
2023-09-12 08:53:31 +00:00
Henrik Skupin
103010df73 Bug 1849972 - [remote] Sync preferences from Marionette to disable services trying to connect to remote addresses. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D186825
2023-09-11 21:21:23 +00:00
Henrik Skupin
726812ad96 Bug 1851583 - [webdriver-bidi] Update "browsingContext.reload" command to return a "NavigateResult". r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D187754
2023-09-11 15:12:00 +00:00
Cosmin Sabou
eb5ad4931f Backed out changeset deff068cb017 (bug 1849369) for marionette dialog related failures. CLOSED TREE 2023-09-11 14:40:03 +03:00
Alexandra Borovova
570733ffcd Bug 1849369 - Add event detail to DOMModalDialogClosed event in the GeckoView. r=geckoview-reviewers,webdriver-reviewers,ohall,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D187777
2023-09-11 10:07:10 +00:00
Julian Descottes
85272583d3 Bug 1846343 - [remote] Catch type errors for navigation messages from child actors r=webdriver-reviewers,whimboo
Depends on D187479

Differential Revision: https://phabricator.services.mozilla.com/D187762
2023-09-08 13:21:17 +00:00
Julian Descottes
8d1c5c5e6a Bug 1846343 - [remote] Check for valid browsing context in Session getSeenNodesForBrowsingContext r=webdriver-reviewers,whimboo
Depends on D187478

Differential Revision: https://phabricator.services.mozilla.com/D187479
2023-09-08 13:21:17 +00:00
Julian Descottes
1cecc01304 Bug 1846343 - [remote] Do not emit network events for discarded browsing contexts r=webdriver-reviewers,whimboo
Depends on D187477

Differential Revision: https://phabricator.services.mozilla.com/D187478
2023-09-08 13:21:17 +00:00
Julian Descottes
3f9f4304ec Bug 1846343 - [remote] Check for valid browsing context in NavigationManager getNavigationForBrowsingContext r=webdriver-reviewers,whimboo
Depends on D187476

Differential Revision: https://phabricator.services.mozilla.com/D187477
2023-09-08 13:21:17 +00:00