39 Commits

Author SHA1 Message Date
Mouad Debbar
7a890f27ca
[web] Better format for line break tests (#20767) 2020-08-28 14:43:01 -07:00
Mouad Debbar
282792ad38
[web] Make word boundary consistent with native flutter (#20747) 2020-08-25 17:05:18 -07:00
nturgut
bb24b4938f
[web] Build unit tests with dart2js instead of build_runner (#20390)
* change from build_runner to dart2js

* add internalBootstrapBrowserTest to some of the tests

* add internalBootstrapBrowserTest to all remaining tests

* make tests build in paralel. Total time dropped from 586 to 177 seconds for 8 core MacBook

* change isolates with pool

* fixing analysis errors

* skipping canvaskit tests for ios-safari

* copy image files to the build directory

* adding internalBootstrapBrowserTest to newly added tests

* add internalBootstrapBrowserTest to faling path iterator test

* necessary changes to make chrome windows work

* in windows test in chrome instead of edge. our edge code was for legacy edge

* do not run golden unit tests on Windows LUCI bots for now

* addressing reviewer comments. Adding a method for deciding when to run integration tests.

* remove lines that I forgot to remove

* fixing analysis error. add issue for todo

* add bootstap to a test file

* adding bootstrap to another test

* add internalBootstrapBrowserTest to a golden test

* return test result in bat file. use archieve package to unzip

* fixing logs for chrome_installer

* use archieve and archieve entity instead of dynamic

* adding comments for windows platform archieve part

* addressing reviewer comments

* change readme file
2020-08-17 16:19:27 -07:00
Jason Simmons
9993228251
Fix web_ui warnings flagged by the next Dart analyzer update (#20524) 2020-08-14 13:29:50 -07:00
Mouad Debbar
cfd852892e
[web] Eagerly calculate relevant indices during line break detection (#20278) 2020-08-06 19:29:11 -07:00
Jason Simmons
02c11acc24
Add Dart 2.10 annotations to the web engine sources (#20019) 2020-07-24 15:56:17 -07:00
Mouad Debbar
86f1b645f3
[web][3/3] Handle surrogate during line break detection (#19745) 2020-07-15 12:29:52 -07:00
Mouad Debbar
480d3e72f9
[web][2/3] Implement rules of the line break algorithm (#19610) 2020-07-14 09:31:40 -07:00
Mouad Debbar
0ec6f6c3f2
[web][1/3] Start first batch of auto-generated (already passing) tests for line break (#19586) 2020-07-08 12:06:00 -07:00
Alexandre Ardhuin
218d98f4d8
Operator equals (#19303)
* use Object for operator==

* apply style guide for operator==
2020-06-30 23:16:31 +02:00
nturgut
03b7bad6d1
remove failing tests on safari (#18944) 2020-06-09 17:19:47 -07:00
Nurhan Turgut
1b3b4ec88f
skip font loading tests for safari (#18232) 2020-05-08 13:30:13 -07:00
Mouad Debbar
3e975147fd
[web] First batch of unit tests for line breaker (#18034) 2020-04-30 10:50:51 -07:00
Ferhat
cade0e90ca
[web] Batch systemFontChange messages (#17885)
* Batch systemFontChange messages
* Update test for async
2020-04-24 14:10:22 -07:00
Yegor
b2a7470748
Reland "add limited analysis options (#17332)" (#17374)
* Reland "add limited analysis options (#17332)"

This time I'm starting without Cirrus. Will add Cirrus serpartely from code changes.

This reverts commit 6d33ee1a2ca7d404ebd5cb434d8ab859bf8ac0b7.

* disable Cirrus analysis check
2020-03-27 11:06:10 -07:00
Chinmay Garde
6d33ee1a2c
Revert "add limited analysis options (#17332)" (#17368)
This reverts commit 5389159643fa26342580208b6a9de547ef4de406.
2020-03-27 02:38:50 -07:00
Yegor
5389159643
add limited analysis options (#17332)
add limited analysis options
2020-03-26 14:38:59 -07:00
Mouad Debbar
136a057f28
[web] Rename LineMetrics.text to LineMetrics.displayText (#16734) 2020-02-21 13:17:59 -08:00
Nurhan Turgut
ab0dd12975
[web] Running safari tests on LUCI (#16715)
* Safari font collection tests skip failing methods

* add a clear to the semantics test to make sure no DOM elements are leaking to the other tests

* fix semantics_helper_test. skip for semantics_test. teardown didn't work

* skip test, the skipped method run for 8 minutes according to the logs

* history tests methods runs multiple times. only run them on linux for now. they were also already failing in edge/windows
2020-02-21 09:03:13 -08:00
vsmenon
0ef67b5e74
opt out dart:ui from nnbd (#16473)
* opt out dart:ui from nnbd

* Annotate tests as well
2020-02-20 11:04:00 -08:00
Nurhan Turgut
77c5812d48
[web] Skipping failing edge tests (#16626)
* making edge default test browser on windows. adding some skips (not all) for methods failing on edge

* skip failing tests. make egde default for testing

* skip one more test

* addressing reviewer comments. removing extra bat file
2020-02-18 09:36:04 -08:00
Mouad Debbar
f88f7df960
[web] Unskip tests that are already passing in Safari (#16567) 2020-02-14 10:27:32 -08:00
Nurhan Turgut
44e80fd619
skiping tests in Safari. LUCI recipe for Mac is ready. this is the only step left for stopping us running unit tests in Safari (#16550) 2020-02-11 15:31:57 -08:00
chunhtai
1f4c593032 loadfontfromlist should send fontchange message to framework (#14805) 2020-01-16 17:03:04 -08:00
Mouad Debbar
91a37d8799
Reland "[web] Calculate align offset for each paragraph line (LineMetrics.left)" (#14537) (#15151) 2020-01-08 15:08:12 -08:00
Lau Ching Jun
0f90e6546b
Revert "[web] Calculate align offset for each paragraph line (LineMetrics.left) (#14537)" (#14569)
This reverts commit 1ecfdcb94ccf8a3c9d59b9e2c1ca7c8aa8d3a2d6.
2019-12-18 22:06:00 -08:00
Mouad Debbar
1ecfdcb94c
[web] Calculate align offset for each paragraph line (LineMetrics.left) (#14537) 2019-12-18 14:29:51 -08:00
chunhtai
988b8f149d Fix FontLoader does not remove the cache in web engine (#14536) 2019-12-18 10:58:01 -08:00
Nurhan Turgut
19124783ce
adding firefox unit tests to font loading (#14487) 2019-12-13 15:26:19 -08:00
Mouad Debbar
35adf37ce1
[web] Implement Paragraph.getLineBoundary (#14479) 2019-12-13 13:53:55 -08:00
Nurhan Turgut
7922bc80e9
[web] adding firefox unit tests to font loading (#14467)
* adding firefox unit tests to font loading

* reviewer suggestions
2019-12-13 07:28:27 -08:00
Nurhan Turgut
2805da9e5d
Enable web engine unit tests on Firefox (#14267)
* Enable web engine unit tests on Firefox

* addressing PR comments

* addressing PR comments

* fix the version name on the lock file
2019-12-09 16:27:14 -08:00
Mouad Debbar
0506c65f59
[web] DOM text measurement return a LineMetrics list if single-line (#14138) 2019-12-05 12:15:03 -08:00
Mouad Debbar
8d1c59811c
[web] Fix text measurement when constraint width is infinite (#14132) 2019-12-04 13:27:14 -08:00
Mouad Debbar
bc07e6a239
[web] Initial support for LineMetrics (#13985) 2019-11-27 12:56:44 -08:00
Jonah Williams
298e053bdc
Add support for FontLoader API for the web (#13999) 2019-11-25 11:07:13 -08:00
Nurhan Turgut
3ad8c42591
do not wrap font family name (#12801)
* do not wrap font family name in webkit otherwise icons not show on safari 13 (both IOS and desktop)

* Changing the font loading to work in all browsers.

* Documentation, renaming, gramatical/spelling error related PR comments addressed. Regexp will be addressed in the next commit.

* Changing regular expressions to look simpler. Adding more unit tests.
2019-10-11 15:12:28 -07:00
Yegor
fad38e252f
sync web engine; run web engine tests (#11031)
sync web engine; run web engine tests
2019-08-22 16:38:03 -07:00
Yegor
708fc625d7
rename stub_ui to web_ui (#10776)
* rename stub_ui to web_ui

* update licenses
2019-08-09 11:11:20 -07:00