Closed
Bug 1275766
Opened 8 years ago
Closed 8 years ago
Re-enable parallel traversal for stylo
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(5 files, 1 obsolete file)
1.03 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
1.22 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
985 bytes,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
5.17 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
We turned it off a while back in our sprint to wikipedia, and various issues have arisen in the interim. I have patches to fix all the remaining issues so that we can turn it back on, and hopefully leave it as such.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8756605 -
Flags: review?(cam)
Assignee | ||
Comment 2•8 years ago
|
||
Right now these are just coercing the values and invoking the main thread
destructor.
Attachment #8756606 -
Flags: review?(cam)
Assignee | ||
Comment 4•8 years ago
|
||
The contents are immutable after creation and safe to destroy on any thread.
Attachment #8756608 -
Flags: review?(cam)
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8756609 [details] [diff] [review]
Part 5 - Implement Gecko_GetElementId and Gecko_GetClassOrClassList. v1
Review of attachment 8756609 [details] [diff] [review]:
-----------------------------------------------------------------
Flagging ms2ger for feedback on the DOM attr usage.
Attachment #8756609 -
Flags: review?(cam)
Attachment #8756609 -
Flags: feedback?(Ms2ger)
Updated•8 years ago
|
Attachment #8756605 -
Flags: review?(cam) → review+
Comment 7•8 years ago
|
||
Comment on attachment 8756606 [details] [diff] [review]
Part 2 - Invoke the proper URLValue constructor from Servo. v1
Review of attachment 8756606 [details] [diff] [review]:
-----------------------------------------------------------------
s/destructor/constructor/ in the commit message, I think.
Attachment #8756606 -
Flags: review?(cam) → review+
Updated•8 years ago
|
Attachment #8756607 -
Flags: review?(cam) → review+
Updated•8 years ago
|
Attachment #8756608 -
Flags: review?(cam) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8756609 [details] [diff] [review]
Part 5 - Implement Gecko_GetElementId and Gecko_GetClassOrClassList. v1
Review of attachment 8756609 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/style/ServoBindings.cpp
@@ +196,5 @@
> + nsAString::const_iterator iter, end;
> + str.BeginReading(iter);
> + str.EndReading(end);
> + while (iter != end) {
> + MOZ_ASSERT(nsContentUtils::IsHTMLWhitespace(*iter++));
You could collapse this block down to a single (though a little long) assertion statement, if you want:
MOZ_ASSERT(nsContentUtils::TrimWhitespace<nsContentUtils::IsHTMLWhitespace>(attr->GetStringValue()).IsEmpty());
@@ +218,5 @@
> + nsTArray<nsCOMPtr<nsIAtom>>* atomArray = attr->GetAtomArrayValue();
> + nsCOMPtr<nsIAtom>* elements = atomArray->Elements();
> + nsIAtom** rawElements = reinterpret_cast<nsIAtom**>(elements);
> + *aClassList = rawElements;
> + return atomArray->Length();
Maybe assert in here that the returned length is > 1?
But I don't think that's always true. For example if you have class="x " (i.e. with some white space but still only a single class name) it'll still have an atom array.
If that's right, the calling convention will need to change.
Attachment #8756609 -
Flags: review?(cam)
Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8756655 -
Flags: review?(cam)
Attachment #8756655 -
Flags: feedback?(Ms2ger)
Assignee | ||
Updated•8 years ago
|
Attachment #8756609 -
Attachment is obsolete: true
Attachment #8756609 -
Flags: feedback?(Ms2ger)
Updated•8 years ago
|
Attachment #8756655 -
Flags: review?(cam) → review+
Assignee | ||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9de9eee6be3
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e8227f66e97
https://hg.mozilla.org/integration/mozilla-inbound/rev/faf4134b30b9
https://hg.mozilla.org/integration/mozilla-inbound/rev/53c8478b70c0
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe87fe3e36a9
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e9de9eee6be3
https://hg.mozilla.org/mozilla-central/rev/9e8227f66e97
https://hg.mozilla.org/mozilla-central/rev/faf4134b30b9
https://hg.mozilla.org/mozilla-central/rev/53c8478b70c0
https://hg.mozilla.org/mozilla-central/rev/fe87fe3e36a9
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•8 years ago
|
Attachment #8756655 -
Flags: feedback?(Ms2ger)
You need to log in
before you can comment on or make changes to this bug.
Description
•