Commit Graph

4544 Commits

Author SHA1 Message Date
Max Schmitt
ab850afb45
fix: support relative downloadsPath directory for downloads (#6402) 2021-05-05 17:07:10 +02:00
Andrey Lushnikov
5509527917
devops: do a full browser checkout by default on Dev machines (#6411)
The `git fetch --unshallow` is a non-trivial command to run, so we
should default to a full checkout unless we're on CI.
2021-05-05 01:12:03 -07:00
Pavel Feldman
ee835fba6c
fix(webkit): fix screencast compilation on win (#6412) 2021-05-04 18:19:17 -07:00
Andrey Lushnikov
77c1020193
devops: re-use firefox checkout for firefox-stable (#6410)
Every patch to Firefox should also go to firefox-stable. This patch
starts re-using Firefox-beta checkout for firefox-stable, making
possible to easily rebaseline work atop of firefox-stable.

With this patch, working on a patch in Firefox is a 2-step
process:
1. work on a patch against Firefox-Beta
2. rebaseline your work atop of Firefox-Stable

Working on Firefox-Beta is as usual:
- setup an up-to-date firefox checkout:
  ```sh
  $ ./browser_patches/prepare_checkout.sh firefox
  ```
- create a new branch for your firefox work off `playwright-build`:
  ```sh
  $ cd ./browser_patches/firefox/checkout
  $ git checkout -b my-feature
  ```
- once work is done, export your branch:
  ```sh
  $ ./browser_patches/export.sh firefox
  ```

Rebaselining your work for Firefox-Stable takes advantage of a single
checkout:
- prepare a firefox-stable checkout:
  ```sh
  $ ./browser_patches/prepare_checkout.sh ff-stable
  ```
- rebaseline your feature branch atop of stable:
  ```sh
  $ cd ./browser_patches/firefox/checkout
  $ git checkout my-feature
  $ git rebase -i playwright-build
  ```
- make sure firefox-stable compiles:
  ```sh
  $ ./browser_patches/firefox-stable/build.sh
  ```
- export firefox-stable:
  ```sh
  $ ./browser_patches/export.sh ff-stable
  ```
2021-05-04 17:46:24 -07:00
Dmitry Gozman
5c5196104e
browser(firefox-stable): cherry pick recent changes from browser_patches/firefox (#6409) 2021-05-04 17:01:48 -07:00
Dmitry Gozman
14ebcfdf0b
docs: update fill/selectOption docs to mention label retargeting (#6406) 2021-05-04 13:08:38 -07:00
Pavel Feldman
fc9454eb76
browser(webkit): implement screencast (#6404) 2021-05-04 12:57:03 -07:00
Yury Semikhatsky
86df1df8e7
test: update download test expectations (#6394) 2021-05-04 11:59:39 -07:00
Andrey Lushnikov
5326f39021
browser(chromium): build 878941 that reverts shader changes (#6407) 2021-05-04 11:51:45 -07:00
Joel Einbinder
1a58281394
browser(firefox): don't record video outside the viewport (#6361) 2021-05-04 05:33:32 -07:00
Max Schmitt
2945daca7a
devops: fixed broken GitHub Actions workflow (#6399) 2021-05-04 12:19:50 +02:00
Andrey Lushnikov
b8eb2b8914
feat(firefox-beta): roll Firefox to beta 89.0b6 (1250) (#6393) 2021-05-04 00:46:56 -07:00
Andrey Lushnikov
ce7a72b217
test: disable certain screencast tests on Firefox. (#6396)
These were regressed by 934bc672f7

Tests link: https://devops.aslushnikov.com/flakiness2.html#commits=20&timestamp=1620085865166
2021-05-04 00:45:36 -07:00
Andrey Lushnikov
4e0e13cf05
browser(firefox-beta): roll Firefox to beta 89.0b8 - May 2, 2021 (#6397) 2021-05-04 00:45:07 -07:00
Andrey Lushnikov
4cd5673cc7
chore: add debugging information on bots to trace unzipping (#6395)
We occasionally stuble upon unzipping error: "end of central directory
record signature not found" that's coming from the underlying
unzip library.

This tracing should help us investigate what's going on here.
2021-05-03 16:52:54 -07:00
Andrey Lushnikov
653d483ba8
docs: add firefox-stable channel documentation (#6328)
Fixes #5993
2021-05-03 16:52:33 -07:00
Yury Semikhatsky
fe94dc5cf3
docs: expose tracing API in java (#6387) 2021-05-03 15:23:03 -07:00
Joel Einbinder
6219042c74
fix(webkit): swallow requests from detached frames (#6242) 2021-05-03 12:34:09 -07:00
Andrey Lushnikov
fd4253991f
devops: fix swiftshader on Chromium Windows (#6391)
References #6390
2021-05-03 11:25:01 -07:00
Anže Vodovnik
dddfbaaeb2
chore(dotnet): run dotnet format after generation (#6376) 2021-05-03 10:23:36 +02:00
Pavel Feldman
1a859ebe68
chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381) 2021-05-02 22:45:06 -07:00
Max Schmitt
6da7e70232 chore: regenerate types after non-clean merge
Follow-up to #6379
2021-05-01 10:58:23 +02:00
Thomas Wang
af92565bc7
Update class-page example code (#6379) 2021-04-30 21:39:10 -07:00
Yury Semikhatsky
07fb81a4ef
fix(launcher): improve error message for missing channel distribution (#6380) 2021-04-30 19:39:52 -07:00
Gnome Bard
018f3146a8
fix(electron): deliver promised _nodeElectronHandle (#6348) 2021-04-30 18:46:27 -07:00
Dmitry Gozman
de21a94b75
test: roll to folio@0.4.0-alpha6 (#6366) 2021-04-30 13:26:13 -07:00
Max Schmitt
29164a625f
devops: use Node.js 12 on Windows bots (#6377) 2021-04-30 21:35:41 +02:00
Joel Einbinder
6ce56dde49
test(accessibility): remove and update tests for new chromium (#6372) 2021-04-30 10:19:37 -07:00
Andrey Lushnikov
5e8d9d20b5
feat(firefox): roll Firefox to r1248 @ v89.0b2 (#6281) 2021-04-30 09:36:54 -07:00
Max Schmitt
a59a494e64
chore: drop support for Node.js 10 (#6371) 2021-04-30 07:49:10 -07:00
Max Schmitt
7405655c26
docs(cli): add install-deps command and reference to it (#6374) 2021-04-30 07:44:30 -07:00
Pavel Feldman
934bc672f7
test(tracing): start adding tracing tests (#6369) 2021-04-30 07:40:22 -07:00
Darío Kondratiuk
9da718d6d5
docs: change the position argument location in check functions (#6191) 2021-04-29 21:23:03 -07:00
Darío Kondratiuk
ba652c177f
docs: inline parsing should honor template location (#6289) 2021-04-29 21:16:09 -07:00
Darío Kondratiuk
bb8453972a
chore(dotnet): don't generate setters on interfaces (#6293) 2021-04-29 21:10:59 -07:00
Darío Kondratiuk
d9015b99d0
chore(dotnet): translate Javascript words to csharp (#6321)
There are some words that we can replace so we don't need to write csharp specific comments
2021-04-29 21:08:46 -07:00
Darío Kondratiuk
dec973611c
docs(page): add missing docs on emulateMedia (#6322) 2021-04-29 21:08:30 -07:00
Andrey Lushnikov
6c04b82256
browser(firefox-beta): roll @ beta Apr 29, 2021 - v89.0b6 (#6368) 2021-04-29 16:37:45 -07:00
Yury Semikhatsky
0abcaf02c8
browser(webkit): roll to safari-612.1.12-branch (#6367) 2021-04-29 15:46:22 -07:00
Yury Semikhatsky
b0fae0f831
browser(firefox): merge FrameData into Frame (#6365) 2021-04-29 15:09:10 -07:00
Max Schmitt
1c40c94ed7
chore: only throw the proxy on launch required on win/CR (#6350) 2021-04-30 00:02:48 +02:00
Dmitry Gozman
263a0fd2e1
fix: evaluate in utility for screenshots (#6364)
We use `waitForFunctionValue` in the main world that may be corrupted.

References #6356.
2021-04-29 14:53:53 -07:00
Dmitry Gozman
a4561310e8
test: set 20 minutes timeout for installation tests (#6363) 2021-04-29 11:12:03 -07:00
Dmitry Gozman
11882cdda7
test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
Max Schmitt
2333eb09a6
chore: adjust GitHub template envinfo command (#6359) 2021-04-29 09:43:41 -07:00
Pavel Feldman
434f474ce8
chore(evaluate): implement non-stalling evaluate (#6354) 2021-04-29 09:28:19 -07:00
Pavel Feldman
06a92684f3 Reapply #6363 w/ modification--amend 2021-04-28 22:18:05 -07:00
Pavel Feldman
0becd9428a Revert "Revert "fix: break require cycle (#6353)""
This reverts commit 17e966bc2e.
2021-04-28 22:16:53 -07:00
Pavel Feldman
17e966bc2e Revert "fix: break require cycle (#6353)"
This reverts commit 0bcfa92360.

Inspector no longer opens.
2021-04-28 22:10:50 -07:00
Dmitry Gozman
0bcfa92360
fix: break require cycle (#6353)
We have `CRBrowserContext` that extends `BrowserContext`, and
it sometimes fails beacause `BrowserContext` is undefined, depending
on the require order. Below is the require cycle.

```log
server/browserContext.ts
server/supplements/recorderSupplement.ts
server/supplements/recorder/recorderApp.ts
server/playwright.ts
server/android/android.ts
server/chromium/crBrowser.ts
server/browserContext.ts
```

Fixing this by using `require`.
2021-04-28 20:39:01 -07:00