| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
|
| |
| |
| |
| |
| |
| | |
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
I'm sad to say that this improved performance significantly. A lot of
this win is due to the Rust compiler not being smart about not zeroing
objects out if it doesn't need to.
r? @glennw
|
| |
| |
| |
| |
| |
| | |
I'm sad to say that this improved performance significantly. A lot of
this win is due to the Rust compiler not being smart about not zeroing
objects out if it doesn't need to.
|
|\ \
| |/
|/| |
|
|/ |
|
|\
| |
| |
| | |
r? @glennw @mbrubeck
|
|/
|
|
|
| |
significantly by giving tiles some time to paint before we render
unrendered content.
|
|\
| |
| |
| |
| | |
This should make help output a lot cleaner and simplify the way that
uncommon debug options are passed.
|
| |
| |
| |
| |
| | |
This should make help output a lot cleaner and simplify the way that
uncommon debug options are passed.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes issue #3630
A short summary of the changes:
* Use atomic generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
inflight events are processed
* Handles both timeout, errors and abort/open in a symmetric fashion
i.e All inflight events will be cancelled for timeouts, aborts,
errors and on calling open.
* Change the ErroredMsg enum to be more symmetric with the returned
Error enum
I noticed a few possible changes that could make the code for fetch task simpler:
* We can remove the additional timer task and let the fetch task manage
its own timer (or maybe the resource loader can do this.)
* The CORS related steps could also be moved into the resource loader.
* Right now upload events are not support. This requires some support
from resource loader.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Following tests are re-enabled:
* /XMLHttpRequest/send-network-error-async-events.sub.htm
* /XMLHttpRequest/send-network-error-sync-events.sub.htm
* /XMLHttpRequest/xmlhttprequest-timeout-worker-aborted.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-simple.html
* /XMLHttpRequest/xmlhttprequest-timeout-worker-twice.html
Following tests are disabled:
* /XMLHttpRequest/xmlhttprequest-timeout-worker-overridesexpires.html
The following tests are expected to timeout since window.postMessage is
not implemented yet:
* /XMLHttpRequest/xmlhttprequest-timeout-abortedonmain.html
* /XMLHttpRequest/xmlhttprequest-timeout-overrides.html
* /XMLHttpRequest/xmlhttprequest-timeout-overridesexpires.html
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes issue #3630
A short summary of the changes:
* Use generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
inflight events are processed
* Change the ErroredMsg enum to be more symmetric with the returned
Error enum
|
|\ \
| | |
| | |
| | | |
Rust doesn't handle integers as bool on if statements, and defineProperty signature uses *mut instead of *const.
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
r=glennw,glennw
One part (of 8!) of css font family disambiguation is that font families should
be matched case-insensitively.
This patch implements that. Once it lands, a bug needs to be filed to do lowercasing
properly (as a string, instead of char-by-char -- it's a unicode thing).
r? @glennw
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One part (of 8!) of css font family disambiguation is that font families should
be matched case-insensitively.
This patch implements that. Once it lands, a bug needs to be filed to do lowercasing
properly (as a string, instead of char-by-char -- it's a unicode thing).
r? @gw
|
|\ \
| | |
| | |
| | | |
Fixes #3724.
|
| |/
| |
| |
| | |
Fixes #3724.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
This is a grab bag of various microoptimizations for script that I came across when profiling our performance on RoboHornet.
r? @jdm
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The security properties of SipHash are irrelevant for event listeners
and the creation of the random number generator was showing up high in
the profiles.
|
| | |
| | |
| | |
| | | |
non-fragment nodes.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
when constructing DOM unique IDs.
This was showing up in the RoboHornet profile.
|
| | |
| | |
| | |
| | | |
Was a huge improvement to RoboHornet.
|
| | |
| | |
| | |
| | |
| | | |
In my tests the size of the root collection never exceeded 7, so 16
seems like a nice conservative number.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
It was likely added accidentally after a rustc upgrade.
r? @jdm
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It was likely added accidentally after a rustc upgrade.
r? @jdm
|
|\ \ \ \ |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790.
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | | |
The correct thing to do here is to use `#[allow(unrooted_must_root)]` (the warning already mentions this). `#[must_root]` on functions does nothing.
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | | |
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | | |
Fixes #3855.
I'm not sure if this is the right place to set `cancelable`. If changing the default value in `Event::new_inherited` is not satisfactory, it will be possible to set the `Cell`'s value to `false` in `Event::new` itself.
|
| | | | |
| | | | |
| | | | |
| | | | | |
because we expect all tests to pass now. Fixes #3855
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is the last PR and most of the work for the maze solver and RoboHornet.
r? @glennw
cc @cgaebel
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
out-of-flow" and "reconstruct flow" damage bits.
This is needed for good performance on the maze solver.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`vertical-align: top`.
We actually don't support the other values correctly, and so this test
was relying on a bug in incremental reflow.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will be necessary for incremental reflow of absolutely-positioned
flows.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
r? @kmcallister
|