Граф коммитов

652762 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 3a69834cbc Bug 1552979 - Begin fleshing out off-thread script/module compilation support for UTF-8. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31896

--HG--
extra : rebase_source : dda3b1ae77361a5ab0a0ad52c0beaf7498553c20
2019-05-18 16:46:38 -07:00
Jeff Walden e85889f5df Bug 1552979 - Add ParseModule and CompileModule overloads for UTF-8. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31895

--HG--
extra : rebase_source : 3e5089c028f295b1b837d0e8d003e87d6daa3891
2019-05-20 02:49:20 -07:00
Jeff Walden 462cc759d4 Bug 1552979 - Rename one CompileModule overload to ParseModule to make it easier to distinguish them, both mentally and in searches. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31894

--HG--
extra : rebase_source : b925cffe35dfd8045c094af1652eaad96e7cea63
2019-05-20 02:42:16 -07:00
Jeff Walden e80581731f Bug 1552979 - Make StartOffThreadParseTask accept UniquePtr<ParseTask> and not just a raw ParseTask* borrowed (gulp) from one. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31890

--HG--
extra : rebase_source : 41e17e169215cee75b68152c0d4945704b0e2e64
2019-05-19 01:06:35 -07:00
Jeff Walden fbcf9d0b7a Bug 1552979 - Templatize {Script,Module}ParseTask by Unit as a step toward enabling off-thread parsing of UTF-8 source. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D31889

--HG--
extra : rebase_source : 94d8b13f48df0ba00f120c9324a3c8e9f6ce20bc
2019-05-18 17:09:16 -07:00
Ciure Andrei 1f4007dfc0 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-24 01:38:06 +03:00
Ciure Andrei 90fa4c6afd Merge autoland to mozilla-central. a=merge 2019-05-24 00:51:34 +03:00
Jorg K 48cbbb3137 Bug 1553957 - Include WindowProxyHolder.h in EventTarget.h. r=smaug a=Aryx 2019-05-23 23:09:19 +02:00
Geoff Brown a875b0a496 Bug 1553224 - Run test-verify on Android x86_64; r=jmaher
I had been waiting for more complete x86_64 coverage, but realized that's
not strictly necessary: TV works okay as-is on Android x86_64.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 16:57:17 +00:00
Daniel Holbert 0fb414a70a Bug 1553548: [css-contain] Make table-wrapper-box inherit CSS "contain" from table box. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D32179

--HG--
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-001.html
rename : testing/web-platform/tests/css/css-contain/contain-paint-cell-001.html => testing/web-platform/tests/css/css-contain/contain-paint-table-002.html
extra : moz-landing-system : lando
2019-05-23 16:52:28 +00:00
Daniel Varga 4cbc287f63 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-23 18:54:21 +03:00
Nathan Froyd 0fadcd4cfd Bug 1553810 - remove RSSRCS support from the build system; r=nalexander
We used to support specifying single Rust files for compilation,
emphasis on "used to".

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

--HG--
extra : moz-landing-system : lando
2019-05-23 15:20:26 +00:00
Sylvestre Ledru 6446b8a5f0 Bug 1552897 - Ride along: format with black r=ahal
Depends on D31807

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

--HG--
extra : moz-landing-system : lando
2019-05-23 16:44:04 +00:00
Robert Bartlensky d56df326cf Bug 1552897 - Add support of diff in stylish/mozlint results r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D31807

--HG--
extra : moz-landing-system : lando
2019-05-23 16:42:46 +00:00
Tom Prince 9cfd43cd94 No bug: [declarative-artifacts] Report task being generated in artifact_map errors; r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D31741

--HG--
extra : moz-landing-system : lando
2019-05-23 16:38:36 +00:00
Michael Froman a938581091 Bug 1550567 - pref on vorbis decoding on RDD for linux. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D32327

--HG--
extra : moz-landing-system : lando
2019-05-23 16:13:26 +00:00
John Dai 5b4c150005 Bug 1551873 - Fix JSWindowActor's intermittent TV failures; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D31788

--HG--
extra : moz-landing-system : lando
2019-05-23 08:50:51 +00:00
Julian Descottes 00ccf24ba8 Bug 1553437 - Add cold-open talos DAMP test for jsdebugger, webconsole, netmonitor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D32122

--HG--
extra : moz-landing-system : lando
2019-05-23 08:41:19 +00:00
Patrick Brosset a365f19d19 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:06:16 +00:00
Mihai Alexandru Michis 6026c240e3 Backed out 22 changesets (bug 1550633) for browser-chrome failure at browser_cache.js. CLOSED TREE
Backed out changeset 87067f045e1e (bug 1550633)
Backed out changeset a42883570179 (bug 1550633)
Backed out changeset bf1426571565 (bug 1550633)
Backed out changeset 97f61668f78c (bug 1550633)
Backed out changeset e22ef6f848aa (bug 1550633)
Backed out changeset 22213d6f047c (bug 1550633)
Backed out changeset 27e03b195718 (bug 1550633)
Backed out changeset 9a5e3e6b8c21 (bug 1550633)
Backed out changeset d338d667dcbd (bug 1550633)
Backed out changeset abc099f50543 (bug 1550633)
Backed out changeset ed0f76cca0d9 (bug 1550633)
Backed out changeset 4b193e156faa (bug 1550633)
Backed out changeset fefc8d667b9c (bug 1550633)
Backed out changeset e4128df1406b (bug 1550633)
Backed out changeset 9ad7d7b5ef6d (bug 1550633)
Backed out changeset d8fdfd9505bf (bug 1550633)
Backed out changeset 679ce0bdbf18 (bug 1550633)
Backed out changeset f75c225dc273 (bug 1550633)
Backed out changeset 4346465d73b1 (bug 1550633)
Backed out changeset 4c8fd0720cc2 (bug 1550633)
Backed out changeset 81545b2c0b58 (bug 1550633)
Backed out changeset 12fc5abcd066 (bug 1550633)
2019-05-23 11:54:26 +03:00
Mihai Alexandru Michis 02b6ac0a8d Backed out changeset dd05a7d4bd38 (bug 1553387) for browser-chrome failures at browser_window_menu_list.js. CLOSED TREE 2019-05-23 11:35:01 +03:00
Mihai Alexandru Michis 2ae5a4bb01 Backed out changeset 0f9626b48a66 (bug 1553451) for linting failures. CLOSED TREE 2019-05-23 10:58:22 +03:00
Mihai Alexandru Michis 354eec452c Backed out changeset a649f69f29df (bug 1536672) for failing crashtest at WebGLContextValidate.cpp. CLOSED TREE 2019-05-23 10:57:29 +03:00
violet cb6eb55db1 Bug 1383650 - Remove obsolete check that is wrong in SVG2 r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D32008

--HG--
extra : moz-landing-system : lando
2019-05-23 07:24:59 +00:00
Patrick Brosset 28f446d619 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:07:49 +00:00
Jan de Mooij eaf82d1a04 Bug 1552470 part 6 - Remove TypeScript::MonitorBytecodeType overload that doesn't take script/pc. r=tcampbell
This method was a bit of a footgun because cx->currentScript is quite slow.
It seems better to make this very explicit in the callers.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:11:38 +00:00
Jan de Mooij 9df773da2b Bug 1552470 part 5 - Rename remaining js::TypeMonitorResult overload to TypeScript::MonitorBytecodeTypeSlow. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D31610

--HG--
extra : moz-landing-system : lando
2019-05-23 07:11:19 +00:00
Jan de Mooij e3ed48132f Bug 1552470 part 4 - Fold some js::TypeMonitorResult overloads into TypeScript::MonitorBytecodeType. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D31609

--HG--
extra : moz-landing-system : lando
2019-05-23 07:11:07 +00:00
Jan de Mooij 1c7a3e3327 Bug 1552470 part 3 - Assert we have a JOF_TYPESET op in TypeMonitorResult. r=tcampbell
The "stubs used in compound opcodes" comment is obsolete (refered to some old
opcodes and JaegerMonkey).

This caught one problem, the interpreter called this for JSOP_RESUME.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:10:47 +00:00
Jan de Mooij 2b79df85ac Bug 1552470 part 2 - Rename some TypeScript methods. r=tcampbell
SetThis -> MonitorThisType
SetArgument -> MonitorArgType
Monitor -> MonitorBytecodeType

This is consistent with the thisTypes/argTypes/bytecodeTypes accessors and will
avoid confusion when we rename TypeScript to JitScript.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:10:17 +00:00
Jan de Mooij 3a3b3c836a Bug 1552470 part 1 - Make ThisTypes/ArgTypes/BytecodeTypes non-static methods. r=tcampbell
It makes the code a bit more natural.

The patch also changes these methods to take an AutoSweepTypeScript. This is more
correct and safe than what we did, because these methods return the TypeSet.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:09:42 +00:00
Brian Birtles 1639347f15 Bug 1553021 - Add web-platform-tests for { subtree: true } option to Animatable.getAnimations; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D31945

--HG--
extra : moz-landing-system : lando
2019-05-22 05:48:28 +00:00
Brian Birtles 5ca0980aea Bug 1553021 - Update naming of parameter to getAnimations to match spec; r=bzbarsky
As per spec text added here:

  cf3a00ee5c

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

--HG--
extra : moz-landing-system : lando
2019-05-22 05:40:36 +00:00
Masayuki Nakano c6ffcedbf2 Bug 1534394 - Make WSRunObject::InsertText() set aPointAfterInsertedString by itself when HTMLEditor::InsertTextWithTransaction() returns error r=m_kato
Oddly, `WSRunObject::InsertText()` returns `NS_OK` even when
`HTMLEditor::InsertTextWithTransaction()` returns error.  However,
it fails if insertion point is not editable like `<noscript>` element.
In such case, `aPointAfterInsertedString` isn't modified and its caller,
`HTMLEditRules::WillInsertText()` keep handling inserting remaining text
with non-positioned `EditorDOMPoint`.  Therefore, at the next time,
`WSRunObject` fails to do anything since it requires positioned
`EditorDOMPoint`.

For making uplift safer, this patch makes `WSRunObject::InsertText()` set
`aPointAfterInsertedString` by itself when
`HTMLEditor::InsertTextWithTransaction()` returns error.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 06:06:18 +00:00
Hiroyuki Ikezoe d243910c35 Bug 1550105 - Implement the parser for scale values in viewport meta tag as what the spec defines. r=botond
The relevant definition in the spec;
 https://drafts.csswg.org/css-device-adapt/#min-scale-max-scale

Before this change, if both of initial-scale and maximum-scale are negative,
both values are clamped to 0.25. Whereas with this change, negative scale
values are treated as if it's not specified so that initial-scale value is
automatically calculated based on the layout viewport size.
negative-initial-and-maximum-scale.html is a test case for the case.

Also with this change, initial-scale values are going to be clamped to the
range [0.25, 10] during parsing it so that initial-scale-0.html and
initial-scale-100.html need to be modified, now the former is scaled by 0.25x,
the latter is scaled by 10x.
(Before this change, initial-scale=0 and initial-scale=100 were treated as
 invalid scale values in nsViewportInfo::ConstrainViewportValues[1])

[1] https://searchfox.org/mozilla-central/rev/6c9f60f8cc064a1005cd8141ecd526578ae9da7a/dom/base/nsViewportInfo.cpp#15,19

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

--HG--
extra : moz-landing-system : lando
2019-05-23 06:35:52 +00:00
alwu 7d9efb558d Bug 1550633 - part16 : turn off the pref 'media.block-autoplay-until-in-foreground' in wpt. r=jgraham
Sometime wpt runs test even before the document becomes visible, which would delay `video.play()` and cause `play()` running in wrong order.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:50:40 +00:00
alwu 19f06c523e Bug 1550633 - part15 : return error when we failed to create channel. r=jya
The channel might not be created correctly if we pass invaild url (eg. "invalid://url"), we should handle this error.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 22:22:54 +00:00
Jeff Walden a108f527b2 Bug 1553502 - Add a preference to (...eventually) control whether DOM worker scripts are compiled directly from UTF-8 without inflating. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D32254

--HG--
extra : rebase_source : 630cb95a54d71323c15b5595c9444cac90d2d3db
2019-05-21 15:40:15 -07:00
Mats Palmgren e38772d545 Bug 1553824 - [css-grid-2] Invalidate any stored used track sizes on subgrids too. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D32372

--HG--
extra : amend_source : a4f1ebc717a5b9205e89a5b3651e956d33958089
2019-05-23 21:11:48 +02:00
Daniel Varga 2056f57259 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-05-23 19:03:36 +03:00
Jon Coppeard 6d785a4384 Bug 1395509 - Pack MemoryTracker hashtable keys into a single word on 64bit platforms r=sfink
This code is debug-only, but it seems a shame to waste have this key structure take up two words when it will fix into one. This also moves the MemoryUse enum definition to gc/GCEnum.h.

Differential Revision: https://phabricator.services.mozilla.com/D32170
2019-05-22 17:45:03 +01:00
alwu 72c28ef2e4 Bug 1550633 - part14 : add a test for 'honor user preferences for automatic text track selection'. r=bzbarsky
This test is used to ensure that we queue 'honor user preferences for automatic text track selection' as a marco task, not a mirco task.

In this test, we would trigger a media event before queuing a text track selection task, and check the text track's mode to know whether the text track selection runs after the task for media event.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 19:02:57 +00:00
alwu 26260da093 Bug 1550633 - part13.6 - refactor tests. r=jya
Refactor those tests' structure in order to make them more readable, and add the comment to show what the test purpose is for each test.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 00:13:12 +00:00
alwu 7700a5afe5 Bug 1550633 - part13.5 - wait text track element's 'load' event. r=jya
This patch do two things in order to trigger loading for track element and wait for correct event to check track's and cues' status after loading finished.

(1) listen track element's load event
There are some tests listening video's loadedmetadata, but it's wrong. The loading process of media element and track element are completely non-related.
If you would like to check track element's status, you should wait for track element's load event.

(2) enable track explictly
If the text track which has default attribute is added to the media element before the media element starts running automatic track selection [1], then it would be enable by the media element.
Otherwise, you have to enable track explicitly by changing its track mode.

[1] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-7

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:42:20 +00:00
alwu 69c922b8f8 Bug 1550633 - part13.4 : don't use anonymous function. r=jya
Use named function for callback to reduce the indentation.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:40:55 +00:00
alwu f626b4abe4 Bug 1550633 - part13.3 - create elements in HTML, not in JS. r=jya
Create test elements in HTML beforehand, which can remove unnecessary JS code and make test cleaner.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:40:51 +00:00
alwu 3361374872 Bug 1550633 - part13.2 - no need to set pref "media.webvtt.regions.enabled". r=jya
These tests didn't use region at all, so we have no need to set the pref.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:40:44 +00:00
alwu 1c992466f8 Bug 1550633 - part13.1 - remove unnecessary elements. r=jya
These elemenets are useless and we can run tests without them.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 13:37:54 +00:00
alwu c065aeb585 Bug 1550633 - part12 : enable wpts. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D31561

--HG--
extra : moz-landing-system : lando
2019-05-23 05:31:29 +00:00
alwu 10fe65841a Bug 1550633 - part11.1 - modify 'track-element-src-change-error.html'. r=jya
According to spec [1], if the track URL changes so that it is no longer equal to URL while fetching is ongoing, we need to change the text track readiness state to`failed to load` and dispatch `error`.

So we now only fire `error` if `src` is removed during loading, but if the track element has finished loading before removing `src`, we won't dispatch `error` for it.

[1] https://html.spec.whatwg.org/multipage/media.html#sourcing-out-of-band-text-tracks:text-track-failed-to-load-3

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

--HG--
extra : moz-landing-system : lando
2019-05-22 22:23:50 +00:00