Oriol Brufau
8c5a028955
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
c1a622cf01
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
1ad176f1bc
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
abc0c86fef
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
68cbe6833d
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
cd67a09ac1
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
8d2ae3f1c5
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
d4aafad560
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
f1ae42678a
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
9c7e0930c3
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
0094560541
Further changes required by Servo
2023-11-24 08:57:14 +01:00
Oriol Brufau
b5bd416f7c
Make CSSConditionRule's conditionText readonly ( #30768 )
...
As per https://github.com/w3c/csswg-drafts/issues/6819
This will be needed for https://phabricator.services.mozilla.com/D179060
The test was created by Mozilla, but was not correctly synced into WPT.
2023-11-23 10:29:16 +00:00
Oriol Brufau
1816d7750f
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
d44f772dc3
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
9ce567d7fe
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
11414d0c94
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
c7f8845665
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
b6db94bdf5
Further changes required by Servo
2023-11-21 15:36:35 +01:00
Oriol Brufau
61af8fb56d
Enable new color functions from CSS Color 4 ( #30752 )
...
I will need to do most of the work anyways during the style updates,
so by enabling this it will be easier to detect mistakes.
Also, canvas colors are now parsed as <color>, precisely to support
these new features. This is according to the HTML spec:
https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value
2023-11-20 16:15:43 +00:00
Oriol Brufau
3543a87592
Allow currentColor in canvas context's shadowColor ( #30754 )
...
This allows unifying the parse_color function and method, aligns Servo
with other browsers, and obeys the HTML spec:
- https://html.spec.whatwg.org/multipage/canvas.html#shadows
- https://html.spec.whatwg.org/multipage/infrastructure.html#parsed-as-a-css-color-value
2023-11-20 11:03:18 +00:00
Martin Robinson
8de4629a3c
Remove usage of drain_filter
( #30742 )
...
This is a step on the way toward supporting stable rust.
2023-11-17 10:28:33 +00:00
Martin Robinson
50732b49c5
Remove Servo window.trap()
extension ( #30743 )
...
This Servo-specific extension is unused by any code in the repository
and removing it allows us to remove use of nightly only reliance on
rust intrinsics. This is a step toward supporting stable rust.
2023-11-17 07:43:26 +00:00
Delan Azabani
098e6a1580
constellation: clean up logging of pipelines and browsing contexts ( #30657 )
...
* constellation: clean up logging of pipelines and browsing contexts
* bring back sentence case; remove commented code
* fix more typos and wordings
2023-11-14 04:53:31 +00:00
Oriol Brufau
4da83f238a
Further changes required by Servo
2023-11-06 09:35:57 +01:00
Oriol Brufau
bb55e923bb
Further changes required by Servo
2023-11-06 09:35:57 +01:00
Oriol Brufau
9e36918bf0
Further changes required by Servo
2023-11-04 08:17:09 +01:00
Oriol Brufau
12903c51d5
Further changes required by Servo
2023-11-04 08:17:09 +01:00
Oriol Brufau
e19c955c1c
Further changes required by Servo
2023-11-04 08:17:09 +01:00
Oriol Brufau
d2bb508272
Further changes required by Servo
2023-11-04 08:17:09 +01:00
Oriol Brufau
134f680503
Further changes required by Servo
2023-11-04 08:17:09 +01:00
Martin Robinson
f4d3af296c
Move *_traits
and other shared types to shared
...
This is the start of the organization of types that are in their own
crates in order to break dependency cycles between other crates. The
idea here is that putting these packages into their own directory is the
first step toward cleaning them up. They have grown organically and it
is difficult to explain to new folks where to put new shared types. Many
of these crates contain more than traits or don't contain traits at all.
Notably, `script_traits` isn't touched because it is vendored from
Gecko. Eventually this will move to `third_party`.
2023-11-03 15:38:18 +00:00
Oriol Brufau
38caec4f89
Further changes required by Servo
2023-11-03 08:59:49 +01:00
Oriol Brufau
6fa8160633
Further changes required by Servo
2023-11-03 08:59:49 +01:00
Oriol Brufau
98d10f954b
Further changes required by Servo
2023-11-03 08:59:49 +01:00
Martin Robinson
f8ec3df495
Fix intermittent crashes in paint worklets ( #30671 )
...
Garbage collection means that the worklets might drop after the script
head has been cleaned up. The worklet now caches the thread pool in the
DOM object itself which should prevent it from needing to access script
thread TLS when being cleaned up. The value is stored as a OnceCell to
maintain the same lazy thread pool creation pattern as before.
Fixes #25838 .
Fixes #25258 .
2023-11-02 14:55:50 +00:00
Varun Dhand
364d11f15f
Update textinput.rs ( #30643 )
2023-11-01 13:27:32 +00:00
Ennui Langeweile
26a3dffd95
Clean up and merge some canvas-related WebIDLs ( #30606 )
...
* Clean up and merge some canvas-related WebIDLs
* Apply `./mach fmt`
* WebIDL has `test-tidy` support???
2023-10-26 12:45:53 +00:00
Ennui Langeweile
2d7dfb06c0
Use IpcSharedMemory
for Canvas2dMsg::DrawImage
( #30544 )
...
* Use `IpcSharedMemory` for `Canvas2DMsg::DrawImage`
* Fix `Canvas2dMsg::DrawEmptyImage` crashes
* Do not premultiply canvas image data
* Move `image_data` back to its original position
2023-10-18 13:39:58 +00:00
Samson
92defbb4ef
Enable streams feature in mozjs ( #30503 )
...
* Update mozjs
* Enable streams feature
* Switch to servo/mozjs
2023-10-06 00:51:23 +00:00
Samson
8436002383
Support Namespace const in webidl ( #30492 )
...
* Add TestNS with const
* Implement namespace const in codegen
2023-10-04 11:29:54 +00:00
Samson
bd9c17234c
fix handle_wgpu_msg crash ( #30479 )
...
* Enter realm before handle_wgpu_msg
fix https://github.com/servo/servo/issues/30419
* Update expectations
2023-10-03 15:16:42 +00:00
Oriol Brufau
f0b7f3aca2
Further changes required by Servo
2023-10-02 14:37:19 +00:00
Oriol Brufau
105050d46d
Further changes required by Servo
2023-10-02 14:37:19 +00:00
Oriol Brufau
6c3f92cb85
Further changes required by Servo
2023-10-02 14:37:19 +00:00
Samson
ddc47aa56b
Codegen support multiple interfaces in single webidl file & WebGPU single webidl ( #30448 )
...
* Codegen support multiple interfaces in single webidl file
* Merge GPU*.webidl into WebGPU.webidl
* Update gpu files to use WebGPUBinding module file
2023-09-30 12:30:12 +00:00
Samson
ebd41d4101
Use Foo_Binding instead of FooBinding for namespace modules ( #30447 )
...
* Update Codegen.py to emit Foo_Binding instead of FooBinding
* s/FooBinding/Foo_Binding/g
2023-09-30 00:52:04 +00:00
Ennui Langeweile
72313d90df
Make the dir
attribute's getter follow the spec ( #30435 )
...
* Refactor the `dir` attribute's getter and setter
* Run `./mach fmt`
* disregard all the previous commits
i'm a genius!
2023-09-27 12:31:27 +00:00
Ennui Langeweile
80d9a2bb4f
Treat the keygen
element as obsolete ( #30429 )
...
* Eradicate the `keygen` element
* Run `./mach fmt`
* Fix relevant Servo test
* Fix outdated manifest
2023-09-26 21:37:46 +00:00
Ennui Langeweile
6f0cba0855
Refactor the translatable
attribute lightly ( #30430 )
2023-09-26 05:05:37 +00:00
Samson
c9b1f35a36
Update mozjs to a version that includes SpiderMonkey ESR 115 ( #30379 )
...
* Update mozjs to sm115
* fix module stuff
https://phabricator.services.mozilla.com/D163949
* fix always allow cloning
https://bugzilla.mozilla.org/show_bug.cgi?id=1774866
* Update expectations
toStringTag now works on wasm object due to SM bump
2023-09-20 16:07:38 +00:00