Repository navigation
[WIP] Implement beforeunload event and infrastructure - #47
Closed
servo-wpt-sync wants to merge 113 commits into
Closed
servo-wpt-sync wants to merge 113 commits into
servo-wpt-sync wants to merge 113 commits into
Conversation
Intent to ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/DHSUFGpZafc Bug: 723076 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I09d422e0fa9888610cfb3a8acfcea6c9f8c8de24 Reviewed-on: https://chromium-review.googlesource.com/831397 Commit-Queue: Chris Harrelson <[email protected]> Reviewed-by: Fredrik Söderquist <[email protected]> Cr-Commit-Position: refs/heads/master@{#544756}
As specified in the spec, when the snap-container has scroll-snap-type: proximity, we should only consider snap positions that are close to the current scroll offset. https://drafts.csswg.org/css-scroll-snap-1/#snap-strictness Bug: 823820 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I6312f98df421e303eb538f422ede39cea8dd5d38 Reviewed-on: https://chromium-review.googlesource.com/971466 Commit-Queue: Sandra Sun <[email protected]> Reviewed-by: Ali Juma <[email protected]> Reviewed-by: David Bokan <[email protected]> Cr-Commit-Position: refs/heads/master@{#544783}
This verifies that the sender throws the right error when called after the connection closing. Bug: chromium:822799 Change-Id: Id3ab4ddc65b1510526fa49b7bfe3f9f95a7f2d65 Reviewed-on: https://chromium-review.googlesource.com/968927 Reviewed-by: Henrik Boström <[email protected]> Commit-Queue: Harald Alvestrand <[email protected]> Cr-Commit-Position: refs/heads/master@{#544804}
Just creating a new BlobDataHandle doesn't actually update the mimetype of the blob (if later the blob is requested through a blob: URL for example), so instead actually create a new blob wrapping the existing blob to properly change the mimetype. Bug: none Change-Id: I93b6d584178a02a74d68bdd6fcace1514ca90ec0 Reviewed-on: https://chromium-review.googlesource.com/967271 Reviewed-by: Hiroshige Hayashizaki <[email protected]> Commit-Queue: Marijn Kruisselbrink <[email protected]> Cr-Commit-Position: refs/heads/master@{#544864}
Bug: 498037 Change-Id: I8f0e72da2aac76e5ff8ac0b4ffffd8b228e0ac42 Reviewed-on: https://chromium-review.googlesource.com/970047 Reviewed-by: Timothy Dresser <[email protected]> Commit-Queue: Nicolás Peña Moreno <[email protected]> Cr-Commit-Position: refs/heads/master@{#544895}
Reify as an identifier. Bug: 820299 Change-Id: I483a1e3c126e5b280a2337772584070f96cd533e Reviewed-on: https://chromium-review.googlesource.com/970263 Reviewed-by: Darren Shen <[email protected]> Commit-Queue: Rune Lillesveen <[email protected]> Cr-Commit-Position: refs/heads/master@{#544939}
This patch change |Range::intersectsNode()| to follow the spec[1]. [1] https://dom.spec.whatwg.org/#dom-range-intersectsnode Bug: 822510 Change-Id: Ifd504443355da12482b759701cddd62e2a90d7a6 Reviewed-on: https://chromium-review.googlesource.com/970044 Reviewed-by: Kent Tamura <[email protected]> Commit-Queue: Yoshifumi Inoue <[email protected]> Cr-Commit-Position: refs/heads/master@{#544971}
This CL supports ES Modules on DedicatedWorker behind the ModuleDedicatedWorker flag and adds WPT tests. With the flag, you can specify 'type' option on the constructor of DedicatedWorker (i.e., new Worker) to start a dedicated worker as a module script. On DedicatedWorkerGlobalScope, static import is available, but dynamic import() hasn't been implemented yet. Bug: 680046 Change-Id: I3aca350228ec07be7884c7a2eb8cd351e7fd6b6e Reviewed-on: https://chromium-review.googlesource.com/967908 Commit-Queue: Hiroki Nakagawa <[email protected]> Reviewed-by: Kouhei Ueno <[email protected]> Cr-Commit-Position: refs/heads/master@{#544983}
This change moves the KeyboardLock API methods to a 'keyboard' namespace on the Navigator object. We are doing this work now as there has been a request for additional keyboard functionality that would also be placed on the new keyboard object and we wanted to move the KeyboardLock methods there for consistency before we launch. KeyboardLock API Spec is here: https://w3c.github.io/keyboard-lock/#API Old calling pattern: Navigator.keyboardLock(); Navigator.keyboardUnlock(); New calling pattern: Navigator.keyboard.lock(); Navigator.keyboard.unlock(); Note: The main logic in the KeyboardLock.cpp class and tests is the same as it was, however the file changed enough that git does not recognize it as a file move. BUG=680809 Change-Id: I234b2ab12d5ecd44c894ed5103863fd96fd548d4 Reviewed-on: https://chromium-review.googlesource.com/969656 Reviewed-by: Philip Jägenstedt <[email protected]> Reviewed-by: Gary Kacmarcik <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Commit-Queue: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/master@{#544996}
Element::CanAttachShadowRoot() needs to be updated because it returns wrongly true for customized built-in elements. The spec: https://dom.spec.whatwg.org/#dom-element-attachshadow Bug: 823033 Change-Id: Ia9aeb47569414830f5435f37f85d96101b9fe432 Reviewed-on: https://chromium-review.googlesource.com/970142 Reviewed-by: Koji Ishii <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Commit-Queue: Hayato Ito <[email protected]> Cr-Commit-Position: refs/heads/master@{#545026}
This adds internal slots "LastOffer" and "LastAnswer", and uses those to check that SetLocalDescription uses an unchanged SDP offer/answer. Because modification of SDP is suspected to be used in a number of places, this change only rejects SDP with modified fingerprints (which would fail anyway), but merely counts the usage for other modifications. Bug: chromium:823036 Change-Id: I0c978d5ff3e63b0afab3ec02334c57a5aaa94cdd Reviewed-on: https://chromium-review.googlesource.com/966441 Commit-Queue: Harald Alvestrand <[email protected]> Reviewed-by: Henrik Boström <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Reviewed-by: Tommi <[email protected]> Cr-Commit-Position: refs/heads/master@{#545175}
1. Check the HTTP port of wptserve instead of HTTPS to avoid the unnecessary complexities of setting up SSL context (which may fail in some environments). 2. Use exponential backoff when waiting for wptserve and specify a maximum retry to avoid indefinite hang. 3. Use `terminate` instead of `kill` to give wptserve a chance to clean up, which is especially useful when running locally. WPTServe.url still returns a HTTPS URL to make sure tests that require secure context (e.g. service workers) still work.
This reverts the logic for logical top/bottom paddings to be the same as before https://chromium-review.googlesource.com/619603. The logical top/bottom paddings are truncated like what we do for other table layouts. We still keep subpixels for logical left/right paddings to ensure correct logical width calculation. This is still the same as before https://chromium-review.googlesource.com/619603. Bug: 823824 Change-Id: Icb617bf5771d1726f767207853f4adc8275731dc Reviewed-on: https://chromium-review.googlesource.com/974315 Reviewed-by: Morten Stenshorne <[email protected]> Reviewed-by: David Grogan <[email protected]> Commit-Queue: Xianzhu Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#545225}
And align a couple other things while there. Helps with whatwg/html#3543.
Indefinitely sized containers use the specified definite min-size (if any) as available space in order to compute the number of auto repeat tracks to create. A bug in that code was causing the grid to be one track larger than expected. That was only happening in the case of the free space being a multiple of the total size of the autorepeat tracks. Bug: 823140 Change-Id: I6cc13df478da4ba00585fa557012391291941d1a Reviewed-on: https://chromium-review.googlesource.com/973522 Commit-Queue: Sergio Villar <[email protected]> Reviewed-by: Emil A Eklund <[email protected]> Reviewed-by: Manuel Rego Casasnovas <[email protected]> Cr-Commit-Position: refs/heads/master@{#545403}
For top level directories like _venv/ we were creating the regexp ^\_venv/$, which we were then feeding paths like _venv/bin/foo which it fails to match. Since we are matching against full paths, we certainly want to allow matching _venv/* and probably also bare _venv, so add a special case for paths with a trailing slash to allow these options.
…0147) Lint earlier checked _venv/ and .git/ which it shouldn't be checking.
…when it's inherited (web-platform-tests#10029) * Distinguish which instance toJSON is being executed against when inherited
…form-tests#8648) Until now, we had to use IsSecureContext() to check whether an execution context is a secure context manually. But we can use [SecureContext] instead of the manual check now. After this change, all related APIs including PaymentRequest will not be exposed in non-secure context. Bug: none Change-Id: Ie5b3fc6641e882cc2844595fea350b6adb3425db
This means we can also assume a null ComputedStyle on options means they are display:none. That is a pre-requisite for fixing issue 822581. Bug: 824754 Change-Id: Ia8a400ec8eed9ecb9a85d2c93c354841ad721492 Reviewed-on: https://chromium-review.googlesource.com/975604 Commit-Queue: Rune Lillesveen <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#545443}
This change allows the removal of a descriptor to be simulated by the Bluetooth test interface. A generated test script was also converted to test the new interface. BUG=569709 Change-Id: Id4286a3e44cd04ee1b371938f1ef89f33458269c Reviewed-on: https://chromium-review.googlesource.com/972334 Reviewed-by: Giovanni Ortuño Urquidi <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Conley Owens <[email protected]> Commit-Queue: Ovidio Henriquez <[email protected]> Cr-Commit-Position: refs/heads/master@{#545448}
* Add webauthn idl file * Simplify webauthn/interfaces.https.html test
* Check inherited interfaces exist * Re-jig IdlHarness error capture + report ordering
Test that back and forward mouseup events are received and can be preventDefaulted. BUG=680741 Change-Id: I381a3c3dacc344ae4f49c8a35cdcc0ef83907917 Reviewed-on: https://chromium-review.googlesource.com/986508 Reviewed-by: Navid Zolghadr <[email protected]> Commit-Queue: Dave Tapuska <[email protected]> Cr-Commit-Position: refs/heads/master@{#546857}
This reverts commit 6a337f19713e049cd42969b0c909c59aff4146cd. Reason for revert: https://crbug.com/824704 These tests are failing: external/wpt/bluetooth/server/getPrimaryServices/blocklisted-services-with-uuid.https.html external/wpt/bluetooth/server/getPrimaryServices/blocklisted-services.https.html external/wpt/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.html external/wpt/bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html external/wpt/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.html Original change's description: > bluetooth: FakeBluetoothChooser impl. > > Implements the interfaces that FakeBluetoothChooser overrides. The > mojom::FakeBluetoothChooser overrides are implemented by running > |event_handler_| with the appropriate arguments. The BluetoothChooser > overrides do nothing at the moment, since the base class is only meant > to update the chooser user interface. > > This change also begins to partially convert a Bluetooth chooser test to test > the interface and deletes the temporary tests that were created to test this > API. > > This change reverts commit 42624492cd5e80855f1dd3a5a8146b258def2c2a, which > reverted the original change. The original change caused the > new-scan-device-added.html test to fail because of a Mojo validation error > resulting from not updating the > third_party/.../external/wpt/resources/chromium/fake_bluetooth_chooser.mojom.js > file needed by the test. > > Bug: 719827, 719826, 824704, 826787 > Change-Id: I5e5cce7e809b4d71216c2d074a417ea822d5e527 > Reviewed-on: https://chromium-review.googlesource.com/985195 > Commit-Queue: Ovidio Henriquez <[email protected]> > Reviewed-by: Giovanni Ortuño Urquidi <[email protected]> > Reviewed-by: Daniel Cheng <[email protected]> > Cr-Commit-Position: refs/heads/master@{#546729} [email protected],[email protected],[email protected],[email protected] Change-Id: Ie2ef2af1ae74e8dd5ca01441027adaa59e6e0c0f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 719827, 719826, 824704, 826787 Reviewed-on: https://chromium-review.googlesource.com/986592 Reviewed-by: François Doray <[email protected]> Commit-Queue: François Doray <[email protected]> Cr-Commit-Position: refs/heads/master@{#546851}
[css-align] tests for row-gap / column-gap normal
BUG=787020 TBR=dpranke,asvitkine Change-Id: I38740d1ee9fe621eabd5416f1a87b23a71fbb7e7 Reviewed-on: https://chromium-review.googlesource.com/986812 Reviewed-by: Thomas Anderson <[email protected]> Commit-Queue: Thomas Anderson <[email protected]> Cr-Commit-Position: refs/heads/master@{#547246}
Testing for a specific number is causing problems and determining the right number is problematic in general, as running out of memory is always a legitimate possiblity. See WebAssembly/design#1167 for more discussion. In light of this, it's best to just remove the test. Bug: Change-Id: I66e248c8ab851bca0c54fa6fe13b6e93e55f1264 Reviewed-on: https://chromium-review.googlesource.com/851081 Commit-Queue: Brad Nelson <[email protected]> Reviewed-by: Brad Nelson <[email protected]> Cr-Commit-Position: refs/heads/master@{#547333}
The types attribute must return this DataTransfer object's types array
…ave-length [svg 2 text] add scripted tests for length and indexed access
5 tasks
servo-wpt-sync
force-pushed
the
servo_export_20329
branch
from
April 2, 2018 01:40
7c65ada to
12166e7
Compare
Before 5e1b52dd7e828fb2e4bd69f599c0c30eec3e873c, synchronous XHR on worker was handled by service workers. It is because the |is_sync_load| was false when the sync request is from worker thread. But after the CL, the |is_sync_load| flag for the sync request from worker became true, so the request will not go to the service worker. This CL will fix this by - Set the SkipServiceWorker flag for synchronous loads from the main thread in the renderer process. (FetchParameters.cpp) - Don't set skip_service_worker even if is_sync_load is true in the browser process. (resource_dispatcher_host_impl.cc) Bug: 706331,827473 Change-Id: I186bc97f3f8d298e0a04942d0ec4b708b3022cc1 Reviewed-on: https://chromium-review.googlesource.com/989376 Reviewed-by: Kinuko Yasuda <[email protected]> Commit-Queue: Tsuyoshi Horo <[email protected]> Cr-Commit-Position: refs/heads/master@{#547407}
The link was dead; update to the new link.
Bug: 821831 Change-Id: I5b3e1978e37ce34e6fb885ca1077ea90ab2f494c Reviewed-on: https://chromium-review.googlesource.com/987972 Reviewed-by: Takayoshi Kochi <[email protected]> Commit-Queue: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#547424}
servo-wpt-sync
force-pushed
the
servo_export_20329
branch
from
April 2, 2018 12:05
12166e7 to
330a6e6
Compare
…items We were not resolving properly percentage paddings and margins for tracks that have something like minmax(auto, 100px). The reason was that while computing the minimum size of a grid item, the percentages were resolved against the inline size of the grid container. But for grid items we shouldn't never use the grid container size, but the grid area size, as that's their containing block. The patch modifies ContainingBlockLogicalWidthForContent() and ContainingBlockLogicalHeightForContent() in LayoutBox, so for grid items we return 0 if the area size hasn't been set yet. We never want to use the grid container's sizes in these cases. BUG=808758 TEST=external/wpt/css/css-grid/grid-items/grid-items-percentage-margins-* TEST=external/wpt/css/css-grid/grid-items/grid-items-percentage-paddings-* Change-Id: Ib142e51aee1fe623d38688469b179f01f82eb07b Reviewed-on: https://chromium-review.googlesource.com/980756 Reviewed-by: Javier Fernandez <[email protected]> Commit-Queue: Manuel Rego Casasnovas <[email protected]> Cr-Commit-Position: refs/heads/master@{#547417}
servo-wpt-sync
force-pushed
the
servo_export_20329
branch
2 times, most recently
from
April 2, 2018 15:00
3486e31 to
d64cfec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reviewed in servo/servo#20329.