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