servo/tests/unit
bors-servo 7cc0af37cf Auto merge of #18512 - tromey:preserve-style-sheet-source-url, r=SimonSapin
Preserve sourceURL comment on style sheets

In addition to the sourceMappingURL comment, there is a second special
comment, "sourceURL", that can be used to set the "display name" of a
style sheet for developer tools.  This name is also used as the base
URL for the source-map URL resolution algorithm.  sourceURL is
described here:
https://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/
The devtools feature bug is here:
https://bugzilla.mozilla.org/show_bug.cgi?id=880831

This patch changes servo to preserve and expose this value for use in M-C.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18512)
<!-- Reviewable:end -->
2017-09-15 08:07:49 -05:00
..
gfx Preserve sourceURL comment on style sheets 2017-09-14 12:39:18 -06:00
layout Fix some "unused" warnings 2017-06-06 16:58:35 +02:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
net Fix unit tests for updated CORS preflight fetch 2017-08-18 16:30:25 -07:00
net_traits Moved pub_domains to net_traits and did a spring clean. 2016-09-29 17:28:47 -05:00
profile Bump serde to 1.0 2017-06-16 13:31:18 +02:00
script Track custom element state 2017-08-09 14:36:22 -06:00
servo_config Allow cli prefs to have numerical value 2017-01-05 19:32:14 +01:00
servo_remutex Removed util. 2016-12-14 18:04:37 -06:00
style Auto merge of #18512 - tromey:preserve-style-sheet-source-url, r=SimonSapin 2017-09-15 08:07:49 -05:00
stylo Preserve sourceURL comment on style sheets 2017-09-14 12:39:18 -06:00