gecko-dev/dom/manifest/test
Marcos Cáceres 1118e89526 Bug 1563460 - Collect console messages generated by processing manifest for Dev Tools r=baku
This gets rid  of the sending warnings to the browser console. Instead, when the processor is explicitly asked to do so, it now collects spec violations into a `moz_validation` member.

To access the new manifest member, you can now pass a second argument to `ManifestObtainer.contentObtainManifest()` like so:

```
const manifest = await ManifestObtainer.contentObtainManifest(
      this.targetActor.window,
      { checkConformance: true }
);
manifest. moz_validation; // 🎉
```

Differential Revision: https://phabricator.services.mozilla.com/D36885

--HG--
extra : moz-landing-system : lando
2019-07-09 02:33:39 +00:00
..
.eslintrc.js Bug 1508980 - Add more .eslintrc.js files for dom/ and update .eslintignore. r=Gijs 2018-11-21 14:27:27 +00:00
blue-150.png
browser_fire_appinstalled_event.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
browser_Manifest_install.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
browser_ManifestFinder_browserHasManifestLink.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
browser_ManifestIcons_browserFetchIcon.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
browser_ManifestObtainer_obtain.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
browser.ini
common.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
file_reg_appinstalled_event.html Bug 1508991 - Enable ESLint for dom/manifest/ (automatic changes) r=Standard8,Ehsan 2018-12-18 20:38:43 +00:00
file_testserver.sjs
icon.png
manifestLoader.html
mochitest.ini
red-50.png
resource.sjs
test_ImageObjectProcessor_sizes.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ImageObjectProcessor_src.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ImageObjectProcessor_type.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_background_color.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_dir.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_display.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_icons.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_JSON.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_lang.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_name_and_short_name.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_orientation.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_scope.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_start_url.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_theme_color.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_ManifestProcessor_warnings.html Bug 1563460 - Collect console messages generated by processing manifest for Dev Tools r=baku 2019-07-09 02:33:39 +00:00
test_window_onappinstalled_event.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00