Граф коммитов

381 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster a42c193442 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 20:49:25 +00:00
Csoregi Natalia 4eae934956 Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE
Backed out changeset 2fdc1b5569e1 (bug 1654684)
Backed out changeset 8ae1d037aa9c (bug 1654684)
2020-12-09 16:11:42 +02:00
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
Henrik Skupin e6142c7d10 Bug 1599773 - [remote] Implement Page.frameDetached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71293
2020-05-19 19:45:27 +00:00
Henrik Skupin 9b6a2efca4 Bug 1599413 - [remote] Implement Page.frameAttached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71292
2020-05-19 19:37:45 +00:00
Bogdan Tara 3b974da483 Backed out 2 changesets (bug 1599773, bug 1599413) for browser_frameAttached.js failures CLOSED TREE
Backed out changeset 779bc06348ad (bug 1599773)
Backed out changeset 6f223ae549d8 (bug 1599413)
2020-05-19 12:29:17 +03:00
Henrik Skupin 7457a0c05c Bug 1599773 - [remote] Implement Page.frameDetached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71293
2020-05-19 07:34:24 +00:00
Henrik Skupin 7afbbdd314 Bug 1599413 - [remote] Implement Page.frameAttached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71292
2020-05-19 07:32:27 +00:00
Narcis Beleuzu 92804bc12e Backed out 2 changesets (bug 1599773, bug 1599413) for mochitest failure on browser_frameAttached.js.
Backed out changeset 2c3f77cdc4e0 (bug 1599773)
Backed out changeset 746f1f57bd84 (bug 1599413)
2020-05-19 01:16:47 +03:00
Henrik Skupin d854295e0d Bug 1599773 - [remote] Implement Page.frameDetached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71293
2020-05-18 18:34:49 +00:00
Henrik Skupin 4a22ea5bfe Bug 1599413 - [remote] Implement Page.frameAttached. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71292
2020-05-18 18:34:31 +00:00
Maja Frydrychowicz 4f753dd927 Bug 1599260 - [puppeteer] Check for favicon in request/response test r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D74802
2020-05-15 18:19:18 +00:00
Maja Frydrychowicz f260a91bb8 Bug 1599260 - Include loader id in Page.lifecycleEvent r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D74580
2020-05-15 20:30:27 +00:00
Maja Frydrychowicz 6604ce89a1 Bug 1552324 - Implement subset of Network.responseReceived r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D74579
2020-05-15 20:29:00 +00:00
Henrik Skupin cc30d56142 Bug 1593226 - [remote] Use frame's window for dynamic isolated world creation on new document. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D75170
2020-05-14 15:23:10 +00:00
Henrik Skupin 0e1d2b6ea7 Bug 1593226 - [remote] Add support for frameId argument to Page.createIsolatedWorld. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74636
2020-05-14 15:23:47 +00:00
Henrik Skupin 4d6e8e2039 Bug 1593226 - [remote] Emit Runtime.executionContextCreated and Runtime.executionContextDestroyed events also for frames. r=remote-protocol-reviewers,maja_zf
With this patch both events will be emitted when sub frames are
loaded or destroyed.

Because more work is necessary before we can enable general frame
support in Remote Protocol all the code has been put behind the
preference "remote.frames.enabled'. Only if it's true (which is
not the default) the events are emitted.

Differential Revision: https://phabricator.services.mozilla.com/D74635
2020-05-14 14:56:57 +00:00
Henrik Skupin b31dd93847 Bug 1593226 - [remote] Only emit Runtime.executionContextsCleared events when Runtime is enabled. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74634
2020-05-14 14:56:08 +00:00
Henrik Skupin b515fabd59 Bug 1593226 - [remote] Return execution context instead of only the id in "enableRuntime" helper. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74633
2020-05-14 14:55:56 +00:00
Christoph Kerschbaumer 026a7442f3 Bug 1636900: Remove TYPE_XBL from nsIContentPolicy. r=remote-protocol-reviewers,emilio,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D74835
2020-05-13 06:53:28 +00:00
Etienne Bruines eceac4afa1 Bug 1553849 - [remote] Add offline mode support to Network.emulateNetworkConditions r=whimboo,remote-protocol-reviewers,maja_zf
Implements the Chrome Devtools Protocol (CDP) command
Network.emulateNetworkConditions partially. At the moment,
only "offline" is emulated, all other arguments are ignored.

Differential Revision: https://phabricator.services.mozilla.com/D73211
2020-05-12 11:01:10 +00:00
Henrik Skupin b87caead47 Bug 1636557 - [remote] Return class name and description for DOM nodes in Runtime.callFunctionOn and Runtime.evalute. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D74454
2020-05-09 15:06:30 +00:00
Henrik Skupin aa232e7905 Bug 1631089 - [remote] Force sRGB tag for generated screenshots. r=remote-protocol-reviewers,jgraham
With full color management enabled in bug 455077, generated
screenshots will not be saved as sRGB when the display has
a different ICC profile. As long as bug 1615395 hasn't been
fixed, force screenshots to be saved as sRGB.

Differential Revision: https://phabricator.services.mozilla.com/D74007
2020-05-08 09:31:36 +00:00
Etienne Bruines da5b77f74b Bug 1635496 - [remote] Fixed dispatchMouseEvent to not await undefined promises. r=remote-protocol-reviewers,whimboo
The "this" state is not persistent across spawn-calls, using "this" in
"function" also does not make a whole lot of sense.

In order to persist the Promise across spawn-calls, the value is stored
in "content" instead.

Since one cannot reliably return an Event from SpecialPowers.spawn (due
to serialization issues), we are awaiting them instead of returning.

Differential Revision: https://phabricator.services.mozilla.com/D73913
2020-05-05 20:04:16 +00:00
Maja Frydrychowicz ad74e45a42 Bug 1633433 - Wait for frame navigation and improve logging r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D73274
2020-05-04 19:06:16 +00:00
Maja Frydrychowicz 0fe99be5b1 Bug 1634691 - Return early in Page.navigate for all non-http traffic r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D73460
2020-05-04 14:46:53 +00:00
Maja Frydrychowicz e23ce2e143 Bug 1634691 - Decouple Target id from browsing context id r=remote-protocol-reviewers,whimboo
This fixes exceptions hit in destructors when the browsing context
is null. We encounter this when navigating to file: urls, for example,
in which case the target doesn't have a browsing context id.

Differential Revision: https://phabricator.services.mozilla.com/D73459
2020-05-04 14:46:46 +00:00
jayati 0881978969 Bug 1620438 - Remove references to extensions.webservice.discoverURL. r=robwu,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D71203
2020-04-27 14:36:04 +00:00
Maja Frydrychowicz b0c8cf0cf7 Bug 1633042 - [remote] Compare frame id after load event r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D72559
2020-04-27 15:04:51 +00:00
Maja Frydrychowicz 14c71105a6 Bug 1599257 - [puppeteer] Update tests r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D71870
2020-04-24 16:30:29 +00:00
Maja Frydrychowicz cb6f9945e3 Bug 1599257 - [remote] Block Page.navigate until navigation request is done r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D71657
2020-04-24 16:50:44 +00:00
Henrik Skupin e4a357c0d2 Bug 1605359 - [remote] Page.getFrameTree has to return details for all frames in the current tab. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D71608
2020-04-21 01:37:36 +00:00
Henrik Skupin 5bffe12d30 Bug 1599413 - [remote] Add executeSoon to sync helper methods. r=remote-protocol-reviewers,jgraham
There are needs to delay the execution of code on the main thread
until the next tick of the event loop has happened.

Differential Revision: https://phabricator.services.mozilla.com/D71291
2020-04-17 09:08:30 +00:00
Henrik Skupin def4b7f1d6 Bug 1628344 - [remote] Return DOM.Node “attributes” for DOM.describeNode. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D70426

--HG--
extra : moz-landing-system : lando
2020-04-09 19:11:09 +00:00
Henrik Skupin df420b9588 Bug 1607562 - [remote] Update puppeteer unit tests and expectation data. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D68638

--HG--
extra : moz-landing-system : lando
2020-03-31 12:10:00 +00:00
Henrik Skupin 3148bbdb17 Bug 1607562 - [remote] Basic implementation for DOM.resolveNode. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D68637

--HG--
extra : moz-landing-system : lando
2020-03-31 13:47:00 +00:00
Henrik Skupin 6d28f407dd Bug 1607560 - [remote] Basic implementation for DOM.describeNode. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D66937

--HG--
extra : moz-landing-system : lando
2020-03-31 14:33:38 +00:00
Henrik Skupin 83ef5bf1cc Bug 1624785 - [remote] Split-up long running test file browser_callFunctionOn.js. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D68269

--HG--
extra : moz-landing-system : lando
2020-03-27 14:12:55 +00:00
Henrik Skupin 67dcc52487 Bug 1623484 - [remote] Runtime.evaluate and Runtime.callFunctionOn return wrong data for Symbol and BigInt types. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67843

--HG--
extra : moz-landing-system : lando
2020-03-24 20:33:10 +00:00
Henrik Skupin 01bd8f19db Bug 1623581 - [remote] Add "awaitPromise" support to Runtime.evaluate. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67842

--HG--
extra : moz-landing-system : lando
2020-03-24 20:34:54 +00:00
Henrik Skupin 2d184d685d Bug 1623581 - [remote] Add "returnByValue" support to Runtime.evaluate. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D67841

--HG--
extra : moz-landing-system : lando
2020-03-24 20:32:19 +00:00
Henrik Skupin bc1a51934e Bug 1623581 - [remote] Refactor Runtime.evaluate and Runtime.callFunctionOn browser chrome tests. r=remote-protocol-reviewers,maja_zf
Tests are mixing APIs between each other, which this patch removes.

Also error messages have been adjusted for both methods to
be on par with Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D67840

--HG--
extra : moz-landing-system : lando
2020-03-24 20:32:15 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Henrik Skupin c1765e69b2 Bug 1619548 - [remote] Update expectation states of Puppeteer unit tests to pass on MacOS. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D65141

--HG--
extra : moz-landing-system : lando
2020-03-03 18:05:42 +00:00
Henrik Skupin 441d61323b Bug 1615360 - [remote] Add BigInt support to Runtime.callFunctionOn. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D64466

--HG--
extra : moz-landing-system : lando
2020-02-27 10:56:48 +00:00
Maja Frydrychowicz 2536ddcb74 Bug 1614108 - Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo
Copy format module from Marionette.

Differential Revision: https://phabricator.services.mozilla.com/D62344

--HG--
extra : moz-landing-system : lando
2020-02-15 08:22:56 +00:00
Henrik Skupin 825278c69a Bug 1610374 - [remote] Page.navigateToHistoryEntry() has to wait for requested index been set. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62658

--HG--
extra : moz-landing-system : lando
2020-02-15 08:14:40 +00:00
Mihai Alexandru Michis 683caf5062 Backed out changeset 2aad23c07f68 (bug 1610374) for causing lint failures in remote/test/browser/page/head.js
CLOSED TREE
2020-02-15 03:51:21 +02:00
Henrik Skupin 8e15f0c1c5 Bug 1610374 - [remote] Page.navigateToHistoryEntry() has to wait for requested index been set. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62658

--HG--
extra : moz-landing-system : lando
2020-02-14 22:49:45 +00:00
Henrik Skupin 85d206a203 Bug 1615368 - [remote] Response for Runtime.callFunctionOn with returnbyValue misses "type" and "description". r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D62779

--HG--
extra : moz-landing-system : lando
2020-02-14 20:33:05 +00:00
Henrik Skupin 86186350f2 Bug 1615260 - [remote] Return correct properties for unserializable values in Runtime.callFunctionOn. r=remote-protocol-reviewers,maja_zf
Values like NaN, Infinity, -Infinity are not serializable and have
to be returned via the unserializable property and not as value.

This patch also adds the type and description properties as
Puppeteer tests require, but leaves out support for
BigInt (bug 1615360).

Differential Revision: https://phabricator.services.mozilla.com/D62778

--HG--
extra : moz-landing-system : lando
2020-02-14 20:33:16 +00:00