Repository navigation
[WIP] Implement beforeunload event and infrastructure - #46
Closed
servo-wpt-sync wants to merge 104 commits into
Closed
servo-wpt-sync wants to merge 104 commits into
servo-wpt-sync wants to merge 104 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}
We should check Background{X/Y}Origin when check
BackgroundPosition{X/Y}. BackgroundPosition same but
BackgroundEdgeOrigin different is not the same position, we should
return false when FillLayersEqual().
Bug: 823046
Signed-off-by: Zhuoyu Qian <[email protected]>
Change-Id: Ia7d0c5af33e1ee5986420dc054c2ce1b1f65e9b0
Reviewed-on: https://chromium-review.googlesource.com/967912
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#546679}
Matching the w3c/csswg-drafts#2294 spec change Not including tests for used value in multicol, because (so far) it is UA defined.
This function isn't used. Bug: 658997,402387 Change-Id: I01d751dfebaafd1580beaeb12ebcd124df132b26 Reviewed-on: https://chromium-review.googlesource.com/984919 Commit-Queue: Kenichi Ishibashi <[email protected]> Reviewed-by: Matt Falkenhagen <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Cr-Commit-Position: refs/heads/master@{#546765}
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}
This patch adds support for marker, marker-start, marker-end, marker-mid We also had to add a new CSS data type <url>, but because it's not spec'd yet, we can't really test it. Bug: 820299 Change-Id: Ie3f851be3d65396705594d99582ac3e87e3fc57d Reviewed-on: https://chromium-review.googlesource.com/983192 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Darren Shen <[email protected]> Cr-Commit-Position: refs/heads/master@{#546645}
…tform-tests#10237) This was inverted so that the Windows instructions were printed on Linux. Rather than just changing the condition, switch the messages, to match the order of some preceding code.
This exposes RTCRtpReceiver.getStats() in JavaScript (behind flag) which implements the stats selection algorithm[1] for receivers. (This is similar to RTCRtpSender.getStats(): https://chromium-review.googlesource.com/c/chromium/src/+/975306) [1] https://w3c.github.io/webrtc-pc/#dfn-stats-selection-algorithm Bug: 680172 Change-Id: I8049a52fcaa3c2bd51e5541c7149d9b3aee57e3d Reviewed-on: https://chromium-review.googlesource.com/976121 Commit-Queue: Henrik Boström <[email protected]> Reviewed-by: Taylor Brandstetter <[email protected]> Cr-Commit-Position: refs/heads/master@{#546801}
…form-tests#10233) Corresponding to the spec changes decided in w3c/csswg-drafts#2000
* Update webrtc-pc IDL
* Update geometry IDL * Prevent multiple testing of the same interfaces.
* 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}
5 tasks
servo-wpt-sync
force-pushed
the
servo_export_20329
branch
from
March 31, 2018 08:49
db28050 to
bbd068f
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.