Commit Graph

329 Commits

Author SHA1 Message Date
Sam Foster
c5963a5340 Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D97394
2020-12-09 02:45:29 +00:00
Henrik Skupin
f56f5b402f Bug 1680814 - [remote] Target events have to emit a complete TargetInfo dictionary. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D98848
2020-12-08 09:19:39 +00:00
Henrik Skupin
8bbcc2773b Bug 1680962 - [remote] sendResponse has to always return a result in the response payload. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D98854
2020-12-07 14:01:17 +00:00
Brindusan Cristian
6474307318 Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE
Backed out changeset 5a0333ca8a19 (bug 1654684)
Backed out changeset 87d06a4d6ab6 (bug 1654684)
2020-12-07 12:59:10 +02:00
Sam Foster
acf2633244 Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D97394
2020-12-07 08:44:06 +00:00
Henrik Skupin
5167e2ba69 Bug 1680740 - [remote] Implement Target.getTargets. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D98803
2020-12-04 19:56:36 +00:00
Maja Frydrychowicz
48a8400533 Bug 1670286 - [puppeteer] Sync vendored puppeteer to v5.5.0 r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D97809
2020-12-04 15:08:06 +00:00
Henrik Skupin
36a7a875c8 Bug 1680101 - [remote] Temporarily force disabling Fission until Remote Agent is compatible. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D98377
2020-12-01 20:33:40 +00:00
Nika Layzell
42028efc71 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Henrik Skupin
e9e39992b5 Bug 1605784 - [remote] Implement Emulation.setTouchEmulationEnabled. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D96705
2020-11-11 19:22:46 +00:00
Henrik Skupin
c113dc1c42 Bug 1675266 - [remote] Report correct browser name/version, and user agent string for "/json/version" httpd handler. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D96009
2020-11-06 18:36:46 +00:00
Henrik Skupin
28bce1f7d9 Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf
To allow other components in Firefox to easily find the address
under which the Remote Agent is accessible, add the host and port
information as "debuggerAddress" to the Remote Agent's interface
definition.

Differential Revision: https://phabricator.services.mozilla.com/D96008
2020-11-06 18:36:49 +00:00
Csoregi Natalia
cf51e7ef26 Backed out 3 changesets (bug 1675266, bug 1671205) for failures on test_capabilities.js. CLOSED TREE
Backed out changeset a1900289bdac (bug 1671205)
Backed out changeset 04e39b99f9c4 (bug 1675266)
Backed out changeset 3fd5c9f2bd29 (bug 1675266)
2020-11-06 20:32:14 +02:00
Henrik Skupin
e2db3e91fc Bug 1675266 - [remote] Report correct browser name/version, and user agent string for "/json/version" httpd handler. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D96009
2020-11-06 16:41:52 +00:00
Henrik Skupin
53c4528426 Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf
To allow other components in Firefox to easily find the address
under which the Remote Agent is accessible, add the host and port
information as "debuggerAddress" to the Remote Agent's interface
definition.

Differential Revision: https://phabricator.services.mozilla.com/D96008
2020-11-06 17:01:23 +00:00
Razvan Maries
10425eddfc Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
5f9c85da95 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Maja Frydrychowicz
116e28902f Bug 1671725 - [puppeteer] Add missing await. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D94361
2020-10-22 14:11:19 +00:00
Maja Frydrychowicz
ded3e267ad Bug 1671725 - [puppeteer] Increase mocha timeout to 20 seconds. r=remote-protocol-reviewers,jgraham,whimboo
We originally set 15s to keep the overall job duration under 30 minutes.
Since then, we hit timeouts much less frequently and should be able to
afford a longer timeout. The Puppeteer project's default test timeout
is currently 25 seconds.

Also skipping a Page test due to an async Firefox-specific protocol
error that interferes with teardown.

Differential Revision: https://phabricator.services.mozilla.com/D94245
2020-10-22 14:11:16 +00:00
Maja Frydrychowicz
bb67e5edb1 Bug 1671725 - [puppeteer] Handle async TimeoutErrors in several tests r=remote-protocol-reviewers,whimboo
This prevents the errors from being raised later on during an unrelated
test.

Differential Revision: https://phabricator.services.mozilla.com/D94244
2020-10-22 14:12:33 +00:00
Kershaw Chang
883455945d Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana,remote-protocol-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-08 13:26:03 +00:00
Maja Frydrychowicz
29d9310975 Bug 1665283 - [puppeteer] Remove datareporting.healthreport.about.reportUrl from Launcher.ts r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D91450
2020-09-25 15:55:38 +00:00
Anny G
b6286bd455 Bug 1662671 - Remove css for adding an unused resize property for Windows, r=NeilDeakin,remote-protocol-reviewers,maja_zf
Before Quantum, we needed resizer icon on Windows, because when the
add-on statusbar was hidden, we could not resize the window. This is not
needed anymore and is dead code. Consequentially, this also helps reduce
unused images loaded at startup time.

Differential Revision: https://phabricator.services.mozilla.com/D91196
2020-09-25 00:10:23 +00:00
Maja Frydrychowicz
1beed99193 Bug 1666325 - Update docs about remote agent preferences r=remote-protocol-reviewers,whimboo DONTBUILD
...and remove outdated examples.

Differential Revision: https://phabricator.services.mozilla.com/D90905
2020-09-22 15:46:35 +00:00
Henrik Skupin
13f06a6d95 Bug 1661390 - [remote] Use a UUID as session id for targets. r=remote-protocol-reviewers,jgraham
A session is defined as string in CDP but target specific commands
and events currently return a number based on the last used index.
This also makes it very easy to discover active sessions.

Differential Revision: https://phabricator.services.mozilla.com/D89352
2020-09-07 15:31:27 +00:00
Henrik Skupin
3feec2e0e0 Bug 1662549 - [puppeteer] Don't set "toolkit.telemetry.server" to prevent side-effects. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D89057
2020-09-01 21:43:41 +00:00
Kershaw Chang
cb8dd8e93e Bug 1640105 - Skip failed tests, r=dragana,remote-protocol-reviewers,necko-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D86224
2020-08-10 09:20:35 +00:00
Scott
2bcdc17387 Bug 1649883 - Fix user pref for pocket toggle off. r=gvn,remote-protocol-reviewers,perftest-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82773
2020-07-15 14:51:02 +00:00
Kris Maglione
9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Andrea Marchesini
3c1b71a6e4 Bug 1651618 - Use cookie 'SameSite' attribute with capital 'S' everywhere, r=flod,fluent-reviewers,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82872
2020-07-09 20:40:15 +00:00
Henrik Skupin
f8fbd2e85e Bug 1651312 - [remote] Fix invalid data type checks in browser-chrome tests. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D82678
2020-07-08 13:47:22 +00:00
Maja Frydrychowicz
24c63a2d0c Bug 1647439 - Sync Puppeteer to v5.0.0 r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D82072
2020-07-02 18:57:38 +00:00
Maja Frydrychowicz
c0005663ae Bug 1647439 - Sync vendored puppeteer to v4.0.1 r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D82070
2020-07-02 18:52:52 +00:00
Gabriel Luong
2aa7a2a4f2 Bug 1595710 - Add support for "platform" to Emulation.setUserAgentOverride r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D80391
2020-06-30 21:28:29 +00:00
Henrik Skupin
a96e2000f8 Bug 1611843 - Always use an unknown entry id to check for an invalid history entry id. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D81659
2020-06-30 12:52:36 +00:00
Henrik Skupin
a1c4dfc684 Bug 1637640 - [remote] Enable page load events for frames. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D79452
2020-06-22 04:51:46 +00:00
Henrik Skupin
221b0c6839 Bug 1644695 - [remote] Return the frameId of the frame when DOM.describeNode is called with a frame element. r=remote-protocol-reviewers,maja_zf
Depends on D79450

Differential Revision: https://phabricator.services.mozilla.com/D79451
2020-06-15 15:22:56 +00:00
Henrik Skupin
02f1323cb3 Bug 1636373 - [remote] Only emit Runtime.executionContextsCleared event for top-level execution contexts. r=remote-protocol-reviewers,maja_zf
This also fixes a hang in Puppeteer's DOMWorld.js when resolving
the current executionContext promise. With the extra event all
the Puppeteer internal contexts for the tab target have been destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D79450
2020-06-16 20:49:03 +00:00
Geoff Brown
e1d05bdc1d Bug 1644228 - Remove support for IMPACTED_TESTS; r=remote-protocol-reviewers,firefox-build-system-reviewers,rstewart,whimboo
IMPACTED_TESTS was added in bug 1184405, but is under-utilized in current moz.build
annotations; also bug 1516847 removed use of IMPACTED_TESTS in 'mach test'. This
patch removes remaining support for IMPACTED_TESTS.

Differential Revision: https://phabricator.services.mozilla.com/D79141
2020-06-12 08:04:08 +00:00
Emilio Cobos Álvarez
ffec6f608b Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-14 23:26:04 +00:00
Paul Bone
9ae88523bb Bug 1550571 - Pref on Browsing Context preservation r=kmag,remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D77764
2020-06-10 06:51:36 +00:00
Henrik Skupin
2756eea4aa Bug 1639467 - [remote] Enable page events after loading initial page in browser_frameAttached.js. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D78698
2020-06-10 21:00:45 +00:00
Razvan Maries
f761608e79 Backed out changeset bca9f7459a16 (bug 1643656) for reftests perma failures. CLOSED TREE 2020-06-09 18:24:48 +03:00
Emilio Cobos Álvarez
6b86e22f72 Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
It was removed from the spec. Bug 1643934 updates the WPT tests.

Differential Revision: https://phabricator.services.mozilla.com/D78834
2020-06-09 13:21:54 +00:00
Dão Gottwald
7e9799c2c7 Bug 1643606 - Remove remnants of the toolkit.cosmeticAnimations.enabled pref. r=Gijs,remote-protocol-reviewers,marionette-reviewers,extension-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D78462
2020-06-08 16:03:51 +00:00
Maja Frydrychowicz
91ed2688dd Bug 1632710 - [puppeteer] vendor v3.1.0 r=remote-protocol-reviewers,whimboo,jgraham
This requires a custom mocha reporter under puppeteer/
and changes in output parsing.

Differential Revision: https://phabricator.services.mozilla.com/D77625
2020-06-05 18:53:38 +00:00
Maja Frydrychowicz
22b8a4c02c Bug 1632710 - [puppeteer] Remove experimental/ dir r=remote-protocol-reviewers,jgraham,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D77624
2020-06-02 20:49:00 +00:00
Henrik Skupin
a557087998 Bug 1637363 - [remote] Use frameId of the related browsing context for Network events. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D76835
2020-05-29 12:36:26 +00:00
Etienne Bruines
dcaf3bd40f Bug 1637619 - [remote] Implement Network.getAllCookies r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75115
2020-05-27 21:25:26 +00:00
Henrik Skupin
85d151cdef Bug 1638196 - [remote] Use timeout multipler for RecordEvents.record(). r=remote-protocol-reviewers,maja_zf
On Ubuntu 18.04 tests are failing more often for debug builds
due to not received events. By using a timeout multiplier of
4 will give the events enough time to be recorded.

Differential Revision: https://phabricator.services.mozilla.com/D76992
2020-05-27 13:28:37 +00:00