Closed Bug 1746022 Opened 2 years ago Closed 2 years ago

schema.org parsing should handle nested scopes

Categories

(Toolkit :: Places, defect)

defect

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: mossop, Assigned: mossop)

References

Details

Attachments

(2 files)

We currently assume that any descendent element with an itemprop attribute applies to the current scope but there can be nested scopes.

Blocks: 1746167

This parses the entire set of microdata in the page into a structure similar to
the JSON-LD format for page data and then parses the data from that. This sets
us up for adding support for parsing JSON-LD at somepoint in the future.

Depends on D133876

Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/607f12999b71
Fix some encoding warnings in tests. r=Standard8
Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6e985fdb8783
Correctly parse nested microdata properties. r=Standard8
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: