Skip to content

Investigate websocket timeouts - #64

Closed
servo-wpt-sync wants to merge 60 commits into
jdm:masterfrom
servo-wpt-sync:servo_export_20850
Closed

servo-wpt-sync wants to merge 60 commits into
jdm:masterfrom
servo-wpt-sync:servo_export_20850

Conversation

@servo-wpt-sync

Copy link
Copy Markdown
Collaborator

Reviewed in servo/servo#20850.

frivoal and others added 25 commits June 5, 2018 09:17
Text from the spec
(https://drafts.csswg.org/css-contain/#containment-layout):
  "... if the element is an internal table element other than
  display: table-cell, or if the element is an internal ruby element,
  or if the element’s principal box is a non-atomic inline-level box,
  layout containment has no effect."

The patch disables "contain: layout" for internal table elements
but table cells, internal ruby elements and
non-atomic inline-level boxes.

Some of the new tests pass or fail incidentally due to crbug.com/785212,
once that's fixed all the tests should be working as expected.

BUG=843329
TEST=external/wpt/css/css-contain/contain-layout-008.html
TEST=external/wpt/css/css-contain/contain-layout-009.html
TEST=external/wpt/css/css-contain/contain-layout-010.html
TEST=external/wpt/css/css-contain/contain-layout-011.html
TEST=external/wpt/css/css-contain/contain-layout-012.html
TEST=external/wpt/css/css-contain/contain-layout-013.html
TEST=external/wpt/css/css-contain/contain-layout-014.html

Change-Id: I5f0893a9ce69dc8e76cf16acb1b8556bf0e02adf
Reviewed-on: https://chromium-review.googlesource.com/1087268
Reviewed-by: Emil A Eklund <[email protected]>
Commit-Queue: Manuel Rego Casasnovas <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564631}
Imported WebKit's test as a WPT.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1465291
gecko-commit: bb430edf217ece760c5fda5796d776f2256f90e3
gecko-integration-branch: mozilla-inbound
gecko-reviewers: xidorn
…tent.py

The changes made to echo-content.py are the same as the ones made in Bug
1435781.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1351193
gecko-commit: 74219e6cc8b0baab1c2eb7c7127007e3b7bfcd33
gecko-integration-branch: mozilla-inbound
gecko-reviewers: nika
It was registering a service worker for each test case, and had a lot
of test cases.

This changes the file to register a single service worker at the
beginning, and unregister it at the end.

Bug: 847787
Change-Id: Ic2536824a3c57e86bb5e042287e9e62e6222ad9a
Reviewed-on: https://chromium-review.googlesource.com/1087188
Reviewed-by: Makoto Shimazu <[email protected]>
Commit-Queue: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564770}
Referrer handling spans multiple algorithms in multiple specs, so I leave only
the entry points of them.

For top-level module script loading and static imports, referrer is determined
based on the "outside settings":

  "Fetch a module worker script graph given url, outside settings, destination,
  the value of the credentials member of options, and inside settings."

https://html.spec.whatwg.org/multipage/workers.html#worker-processing-model

For dynamic imports, referrer is determined based on the "referencing script's
settings object". In this case, it's "inside settings":

  Step 2.4: "Fetch a module script graph given url, referencing script's settings object,
  "script", and options. Wait until the algorithm asynchronously completes with
  result."

https://html.spec.whatwg.org/multipage/webappapis.html#hostimportmoduledynamically(referencingscriptormodule,-specifier,-promisecapability)

These tests are still failing. Subsequent CLs will fix them.

Bug: 842553
Change-Id: I3855b91c7e6ba93f5c99fb63b24b6274e6b43211
Reviewed-on: https://chromium-review.googlesource.com/1088339
Commit-Queue: Hiroki Nakagawa <[email protected]>
Reviewed-by: Kouhei Ueno <[email protected]>
Reviewed-by: Matt Falkenhagen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564811}
Text form the spec
(https://drafts.csswg.org/css-contain/#containment-layout):
  "If the contents of the element overflow the element,
  they must be treated as ink overflow."

The patch modifies LayoutBox::LayoutOverflowRectForPropagation()
so the overflowing contents of an element with "contain: layout"
are treated as ink overflow. That way they don't interfere at all
in the layout of its ancestors.

BUG=843320
TEST=external/wpt/css/css-contain/contain-layout-015.html

Change-Id: Iedd47edf46a0e4ce0e4102abe5881d25771fe0fa
Reviewed-on: https://chromium-review.googlesource.com/1087462
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Manuel Rego Casasnovas <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564826}
[css-text-3] Add test for intrinsic sizing and overflow-wrap
Mention the need to setup the web server in the github tutorial
This adds webencodings as another vendored package, and moves both to
third_party (part of web-platform-tests#10922).
When chardet is installed, this makes the no-manifest case 7% faster.
While this means in the worst-case we parse almost the entire file
twice (when there's an entity at the end), the more common case is an
unsupported encoding (which, of course, is at the start), and the most
common case is never falling back. In the no-manifest case, this is
22% faster.
Change-Id: I7f467623d5476f717d73aeeaecdc69399c6b65f5
Reviewed-on: https://chromium-review.googlesource.com/1074584
Commit-Queue: Alice Boxhall <[email protected]>
Reviewed-by: Jonathon Kereliuk <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Reviewed-by: Kent Tamura <[email protected]>
Cr-Commit-Position: refs/heads/master@{#564977}
Freezing can only work on hidden pages, currently there is no easy way
in webdriver that allows us to hide the page.

A new webdriver API is in the works to enable that, but meanwhile, for
all testing API, we have to couple hiding with freezing.

This CL does that and reenables the test with Network Service.

Bug: 837709, 848604
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ib5c513aefb219cef38a563be81fe8abf4b354051
Reviewed-on: https://chromium-review.googlesource.com/1089354
Commit-Queue: Fadi Meawad <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#565031}
Bug: 467127
Change-Id: I4176cb0e4216ced9434c5c84832df6d6a5cd37d3
Reviewed-on: https://chromium-review.googlesource.com/1089205
Reviewed-by: Chris Harrelson <[email protected]>
Commit-Queue: Aleks Totic <[email protected]>
Cr-Commit-Position: refs/heads/master@{#565090}
gterzian and others added 8 commits June 7, 2018 09:01
Upstreamed from servo/servo#20858 [ci skip]
…ync_d0e05e0d4283f03892b688225b0134a1b6af84e2

Merge pull request web-platform-tests#11409 from sync_d0e05e0d4283f03892b688225b0134a1b6af84e2
…ync_54ad86342ade28ef425cfb50a2e502170e844198

Merge pull request web-platform-tests#11410 from sync_54ad86342ade28ef425cfb50a2e502170e844198
…ync_90693712e87eed75ff61cb67176cff92b514985c

Merge pull request web-platform-tests#11411 from sync_90693712e87eed75ff61cb67176cff92b514985c
…ync_320e4fd58a3bd93b844d9596e72027d5f3781f3d

Merge pull request web-platform-tests#11412 from sync_320e4fd58a3bd93b844d9596e72027d5f3781f3d
gsnedders and others added 2 commits June 7, 2018 19:17
…eb-platform-tests#11299)" (web-platform-tests#11418)

This reverts commit 7018426.

Fixes web-platform-tests#11397; per @jdm "my PR didn't help at all" hence reverting
doesn't reintroduce any flakiness.
word-wrap was previously defined as its own property in
CSSProperties.json5, but with the same behavior as overflow-wrap.
However, this meant that word-wrap showed up alongside word-wrap in
cssText. This patch converts word-wrap to be an alias of overflow-wrap,
as this will prevent the issue of both properties showing up in cssText
and matches the resolution in
w3c/csswg-drafts#866.

Bug: 679068
Change-Id: I3d415eb1cde9a92dffa2a045ba5fa8b015eeb2d7
Reviewed-on: https://chromium-review.googlesource.com/1073677
Reviewed-by: Philip Jägenstedt <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Chris Nardi <[email protected]>
Cr-Commit-Position: refs/heads/master@{#565331}
@servo-wpt-sync
servo-wpt-sync force-pushed the servo_export_20850 branch 2 times, most recently from eb6b66f to bbbc4af Compare June 7, 2018 19:19
Christoph Kerschbaumer and others added 10 commits June 7, 2018 16:26
…avigate.html part 2.

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1466508
gecko-commit: fac57eb7e7aaaa0c5396d39dc67eae2451754b9f
gecko-integration-branch: central
gecko-reviewers: bz
navigator.sendBeacon should be allowed during the onfreeze callback,
there was no changes in the code needed to enable it since it is
implemented using fetch-keepalive, that is already allowed.

This CL adds a test to make sure that this does not regress.

Bugi: chromium:838684
Change-Id: I71b628ccce4dfbf1f2bd012c24866cd908f56d30
Reviewed-on: https://chromium-review.googlesource.com/1091638
Reviewed-by: Shubhie Panicker <[email protected]>
Commit-Queue: Fadi Meawad <[email protected]>
Cr-Commit-Position: refs/heads/master@{#565478}
… (web-platform-tests#11279)" (web-platform-tests#11424)

This reverts commit 57fea79.

According to @birtles, Mozilla CI can have several tens of seconds between two
frames while the test assumes only hundreds of milliseconds. So this is likely
to be flacky.
Currently, you get CSSUnparsedValues when iterating entries on the
.computedStyleMap(), even for properties which are registered with a
type. However, if you do .computedStyleMap().get(...) with a registered
property, you _do_ get the correct type.

This is because ComputedStyleCSSValueMapping::Get properly looks up the
typed values on the ComputedStyle, but ::GetVariables does not; instead it
directly returns the CSSVariableData for everything, regardless of
registrations.

This patch changes the behavior of iteration to use the same code path
as .get(). This ensures that we either create a CSSCustomProperty-
Declaration on the fly for unregistered properties, or we re-use the
existing (and typed) CSSValue for registered properties.

Note: I initially wanted to do a nested iterator thing here, but dropped
      it because we would anyway need a temp HashSet to avoid potential
      duplicates from the StyleInheritedVariables-root.

Note: One caller of GetVariables() just wants the size. It's possibly a
      little overkill to create entire HashMap just to count something,
      but I don't want to resolve that here in the same patch.

[email protected], [email protected]

Bug: 850072
Change-Id: I64bfb3cc22a377cf956420a9e64d47ca3daac1e2
Reviewed-on: https://chromium-review.googlesource.com/1090848
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Anders Ruud <[email protected]>
Cr-Commit-Position: refs/heads/master@{#565605}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.