Xidorn Quan
5b6e237eec
Bug 1681957 - Migrate gecko-fuzz-targets away from rkv 0.10. r=vporof
...
Differential Revision: https://phabricator.services.mozilla.com/D99453
2020-12-12 08:32:40 +00:00
Brindusan Cristian
556f400fb6
Backed out changeset b022f8da9772 (bug 1678938) for reftest failures at 1157984-1.html.
2020-12-12 10:01:00 +02:00
Julian Descottes
b4654f4fca
Bug 1681968 - [marionette] Remove unused wins map from Marionette driver module r=marionette-reviewers,whimboo
...
Depends on D98781
Differential Revision: https://phabricator.services.mozilla.com/D99462
2020-12-11 16:18:42 +00:00
Dan Glastonbury
d22631c4d7
Bug 1679094 - Resolve dom::Promise from Rust. r=nika
...
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.
Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 02:55:49 +00:00
Lee Salzman
b1ffa2c392
Bug 1678938 - flip the clip nudge direction when crossing back outside. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D99576
2020-12-12 05:56:51 +00:00
alwu
95cf843de9
Bug 1678357 - part3 : modify test. r=chunmin
...
Because of part1, now we would activate controller in different momemt, so we have to modify our test to make them work or reduce the possible intermittent failure.
Depends on D98830
Differential Revision: https://phabricator.services.mozilla.com/D98831
2020-12-12 03:26:09 +00:00
alwu
f981a2bc7a
Bug 1678357 - part2 : correct the logic of notifying metadata change. r=chunmin
...
Based on the comment, the logic here wants to ensure that we would only notify that change if the change happens on the active media session, so correct the condition to make it right.
Depends on D98829
Differential Revision: https://phabricator.services.mozilla.com/D98830
2020-12-11 23:41:53 +00:00
alwu
e2d5aa9ffd
Bug 1678357 - part1 : activate the controller when it starts playing. r=chunmin
...
We currently activate the controller when it first becomes audible, which is possible to drop the first `playbackstatechange` event if the task to dispatch that evnt runs before we activate the controller.
The audible change always comes later than the playback change, so if we want to 100% ensure the first `playbackstatechange` can happen after `activated` event, then we have to activate the controller earlier. Therefore, this patch would activate the controller once it becomes playing.
Note that, even if we remove the audible check in media controller, we would still only control audible media because we have filtered out inaudible media in the content process.
Differential Revision: https://phabricator.services.mozilla.com/D98829
2020-12-11 23:42:39 +00:00
Tooru Fujisawa
881057374f
Bug 1675962 - Part 5: Move LifoAlloc to CompilationInfo and CompilationInfoVector, to share between all delazification. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97119
2020-12-12 01:32:39 +00:00
Tooru Fujisawa
071a211404
Bug 1675962 - Part 4: Add cache for CompilationAtomCache for delazifications. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97118
2020-12-12 01:31:29 +00:00
Tooru Fujisawa
e789d5f235
Bug 1675962 - Part 3: Use CompilationStencil as delazifications vector element. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97117
2020-12-12 01:31:22 +00:00
Tooru Fujisawa
026d0788d5
Bug 1675962 - Part 2: Take CompilationInput and CompilationStencil separately. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97116
2020-12-12 01:31:09 +00:00
Tooru Fujisawa
5d55356c6f
Bug 1675962 - Part 1: Make CompilationInfo methods static. r=tcampbell
...
These methods will be modified to take CompilationInput and CompilationStencil
separately in later patch.
Differential Revision: https://phabricator.services.mozilla.com/D97115
2020-12-12 01:31:01 +00:00
Tooru Fujisawa
53800b5bab
Bug 1671912 - Reuse CompilationGCOutput across delazifications in CompilationInfoVector::instantiateStencils. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97114
2020-12-12 01:30:48 +00:00
Tooru Fujisawa
0712077f35
Bug 1677354
- Part 2: Assert all non-top-level scripts are function. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97112
2020-12-12 01:30:35 +00:00
Tooru Fujisawa
8cb2349dba
Bug 1677354
- Part 1: Always copy script fields to stencil. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D97111
2020-12-12 01:30:27 +00:00
Toshihito Kikuchi
a354021b5a
Bug 1681936 - Skip mXULLoadDurationMS check in GTest. r=mhowell
...
In GTest, xul.dll is considered untrusted because only the `FirefoxDirectory`
flag of `ModuleTrustFlags` is turned on. In CCov build, however, xul.dll is
considered trusted because the `FirefoxDirectoryAndVersion` flag is also turned
on. In the former case, the `FirefoxDirectoryAndVersion` is not turned on
because when xul.dll is re-built for GTest, its version becomes newer than
firefox.exe. In the CCov build, the version of firefox.exe was also reset
probaly during instrumentation. As a result, the loding event contains a value
in `mXULLoadDurationMS` in CCov build, but normally not.
This fix removes the check for `mXULLoadDurationMS` in GTest.
Differential Revision: https://phabricator.services.mozilla.com/D99564
2020-12-12 00:09:43 +00:00
Lee Salzman
428d1105f4
Bug 1678938 - nudge clipped coordinates inside clip boundary. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D99008
2020-12-12 01:11:36 +00:00
Csoregi Natalia
3b68bf27c8
Backed out changeset cccdff68c790 (bug 1679094) for causing build bustage. CLOSED TREE
2020-12-12 03:18:44 +02:00
Kagami Sascha Rosylight
2e396db5f4
Bug 1680951 - Do not scroll when calling select() r=masayuki
...
This is intended to be a hotfix for the URL bar regression. Ideally there should be a spec or this behavior should be removed completely.
Previously select() scrolled back to the start position before the regression, but this fix does not restore that behavior.
Differential Revision: https://phabricator.services.mozilla.com/D98972
2020-12-09 20:59:17 +00:00
Dan Glastonbury
27752e15a3
Bug 1679094 - Resolve dom::Promise from Rust. r=nika
...
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.
Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 00:47:23 +00:00
Dan Glastonbury
6c151a3362
Bug 1679095 - Extend nsstring to support creating void strings. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D97904
2020-12-12 00:43:30 +00:00
smolnar
d34a3b49c3
Backed out changeset ad64ffa1c7f6 (bug 1678938) for causing reftest failures. CLOSED TREE
2020-12-12 02:51:33 +02:00
Daisuke Akatsuka
aa31799d78
Bug 1681217: Avoid sending keyup event to content document during cycling tabs. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D98993
2020-12-11 23:52:20 +00:00
Emilio Cobos Álvarez
5d978443c6
Bug 1681939 - Use nsAutoCString for UTF8String return values. r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D99444
2020-12-11 23:15:47 +00:00
Adam Gashlin
d6e9f901d9
Bug 1676296 Part 2: Cross-platform task scheduler interface, Windows implementation. r=mhowell,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D97842
2020-12-11 23:18:16 +00:00
Adam Gashlin
6443deaaee
Bug 1676296 Part 1: XPCOM component for Windows Task Scheduler. r=mhowell
...
Differential Revision: https://phabricator.services.mozilla.com/D97841
2020-12-11 23:17:53 +00:00
Andrew McCreight
215e494a20
Bug 1640445 - Avoid a race between the GC and WriteCache() with an extra field. r=kmag,decoder
...
See the comment on ScriptHolder for an explanation.
Differential Revision: https://phabricator.services.mozilla.com/D78711
2020-12-11 23:25:27 +00:00
Julian Descottes
b21a958eae
Bug 1676671 - [marionette] Remove unused return value from driver::registerBrowser r=marionette-reviewers,maja_zf
...
Depends on D98780
The existing call sites for registerBrowser do not read the return value:
https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#634
https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#3668
and it is currently not documented.
Differential Revision: https://phabricator.services.mozilla.com/D98781
2020-12-11 15:49:59 +00:00
Julian Descottes
7e23a6e87c
Bug 1676671 - [marionette] Remove unused knownFrames array from browser.js r=marionette-reviewers,maja_zf
...
Depends on D98779
This array was created and populated but not checked anywhere. It should be safe to remove it?
https://searchfox.org/mozilla-central/search?path=&q=knownFrames
Differential Revision: https://phabricator.services.mozilla.com/D98780
2020-12-11 15:40:56 +00:00
Julian Descottes
da7ddb18f4
Bug 1676671 - [marionette] Refactor driver::registerBrowser and browser::register to infer id from browser element r=marionette-reviewers,maja_zf,whimboo
...
Depends on D98778
Differential Revision: https://phabricator.services.mozilla.com/D98779
2020-12-11 15:40:53 +00:00
Julian Descottes
8ea8dd4470
Bug 1676671 - [marionette] Register browsers without framescript events when using JSWindowActors r=marionette-reviewers,maja_zf,whimboo
...
Depends on D99427
Differential Revision: https://phabricator.services.mozilla.com/D98778
2020-12-11 15:41:50 +00:00
Xidorn Quan
3173c39eb9
Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D99442
2020-12-11 14:34:23 +00:00
Sean Feng
d82519ce96
Bug 1682011 - Make performance objects to keep observers alive r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D99495
2020-12-11 22:27:27 +00:00
Iain Ireland
be1fe13541
Bug 1681806: Add test r=jandem
...
We did not have test coverage for the code in `InvalidationBailout` handling a failure in `BailoutIonToBaseline`.
The testcase produced by the fuzzer took over a minute to run on my machine. I managed to get it down to about 10 seconds in debug.
Differential Revision: https://phabricator.services.mozilla.com/D99410
2020-12-11 22:08:53 +00:00
Iain Ireland
5c090fc693
Bug 1681806: Don't set bailout kind if bailout failed r=jandem
...
Differential Revision: https://phabricator.services.mozilla.com/D99409
2020-12-11 20:10:46 +00:00
alwu
0cc4339049
Bug 1680856 - part2 : change telemetry probe type from Histogram to Scalar. r=bryce
...
When using Histogram type, all results would be grouped together, so the highest usage platform would definitely be the platform with most usage, which would be Windows, but that can't indicate that users like its implementation most.
So change the probe type to Scalar which has separate histogram for each key type.
Differential Revision: https://phabricator.services.mozilla.com/D99151
2020-12-09 21:13:23 +00:00
alwu
324da17be5
Bug 1680856 - part1 : report telemetry result when we start enabling or using media control. r=bryce
...
Per suggestion [1], report telemetry result eariler when we know the result in order to prevent the result not being captured because the telemetry service is already shutdown at the time we report the result.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1680856#c4
Differential Revision: https://phabricator.services.mozilla.com/D99150
2020-12-09 19:49:36 +00:00
Mark Striemer
1120f472e7
Bug 1669725 - Hide print settings that don't apply to PDF for PDFs r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D98679
2020-12-11 20:55:46 +00:00
Maja Frydrychowicz
b0ea773e56
Bug 1669176 - Move out action initializing code from listener.js r=marionette-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D99389
2020-12-11 16:06:19 +00:00
Sonia Singla
87b847bd56
Bug 1666831 - engine-override.xml can be removed as its can be replaced by engine.xml. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D98103
2020-12-11 21:58:52 +00:00
kanishk509
3eca37d628
Bug 1654217 - Make getEngineByAlias async. r=Standard8,preferences-reviewers,nanj
...
Differential Revision: https://phabricator.services.mozilla.com/D96729
2020-12-11 21:41:17 +00:00
Shane Caraveo
38ed953c58
Bug 1637059 fix persistent listeners when updating permissions r=rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D85790
2020-12-11 21:30:05 +00:00
Lee Salzman
6de14c3441
Bug 1681747 - add SWGL fast-path for composite shader. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D99550
2020-12-11 21:15:22 +00:00
Jeff Muizelaar
1ef16511cc
Bug 1682034 - Make transform_precacheLUT_float return Option<Box<qcms_transform>>. r=aosmond
...
This lets the caller use it more safely.
Differential Revision: https://phabricator.services.mozilla.com/D99507
2020-12-11 20:26:27 +00:00
Jonathan Kew
03ce4e3b7a
Bug 1681918 - Don't try to use the shared font list in a content process if DWrite failed to get a reference to the system font collection. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D99437
2020-12-11 17:47:47 +00:00
Csoregi Natalia
24146fd642
Backed out changeset a8c087a36965 (bug 1681811) for failures on test_case_mp4. CLOSED TREE
2020-12-11 22:51:06 +02:00
Lee Salzman
8c5648c6f2
Bug 1678938 - nudge clipped coordinates inside clip boundary. r=jimb
...
Depends on D99007
Differential Revision: https://phabricator.services.mozilla.com/D99008
2020-12-09 20:28:45 +00:00
Julian Descottes
bd1e8fc725
Bug 1681885 - [marionette] Add a test for switchToWindow after a remoteness change r=marionette-reviewers,whimboo,maja_zf
...
Differential Revision: https://phabricator.services.mozilla.com/D99427
2020-12-11 20:15:46 +00:00
Andrei Oprea
bc21be7e4d
Bug 1680371 - Synchronous Experiment API for Non-First-Startup Use Cases r=k88hudson,pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D99077
2020-12-11 17:59:51 +00:00