Commit Graph

689246 Commits

Author SHA1 Message Date
Andrea Marchesini
ce553d0097 Bug 1605566 - MessagePort + wasm - part 4 - Implement RefMessageBodyService, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D59615

--HG--
extra : moz-landing-system : lando
2020-01-24 07:58:34 +00:00
Andrea Marchesini
94ac5ab147 Bug 1605566 - MessagePort + wasm - part 3 - MessagePort serializes objects using MessageData union, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D59614

--HG--
extra : moz-landing-system : lando
2020-01-24 07:58:21 +00:00
Andrea Marchesini
0077863f8e Bug 1605566 - MessagePort + wasm - part 2 - implement JS::StructuredCloneScope::UnknownDestination, r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D59613

--HG--
extra : moz-landing-system : lando
2020-01-24 07:57:56 +00:00
Andrea Marchesini
8c690f0963 Bug 1605566 - MessagePort + wasm - part 1 - access scope via method in StructuredClone code, r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D59612

--HG--
extra : moz-landing-system : lando
2020-01-24 07:57:28 +00:00
Patrick Brosset
8bb046da06 Bug 1610761 - Don't show inactivity warning on z-index if inside grid/flex r=rcaliman
In bug 1551585 we added a new inactivity warning shown on top,
right, bottom, left and z-index properties when they are used on elements
that are not positioned.
Turns out that z-index *can* be used on unpositioned elements if these
elements are grid or flex items.

In grid layouts it's useful to determine which item shows on top when
several overlap in a grid cell.

In flex layouts, z-index values other than auto create a stacking context
even if position is static.

So this change simply avoids showing the warning for z-index if the element
is a flex or a grid item.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 19:20:38 +00:00
Bert Peers
6ac6d71555 Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Second part: trace the updates that are sent to the DataStore, and save
at least the Insert/Remove and ItemUID as part of the wr-capture.
(We could expand this with more info, eg. the actual Keys, later).

TileView then reads them back and generates a color coded report to
overlay with the page view.  This helps to see the types and amounts of
interned primitives that lead to cache invalidations.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 07:26:32 +00:00
Jan de Mooij
8f405ee5af Bug 1610189 - Don't reuse ObjectGroups of cross-realm arrays. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D60488

--HG--
extra : moz-landing-system : lando
2020-01-23 18:42:42 +00:00
shindli
78f9c85759 Backed out changeset 86d1da74131f (bug 1264175) for causing mochitest failures in dom/serviceworkers/test/test_fetch_event.html CLOSED TREE 2020-01-24 06:18:04 +02:00
Glenn Watson
a688008906 Bug 1611331 - Tidy up rect field naming in picture cache code. r=Bert
Differential Revision: https://phabricator.services.mozilla.com/D60921

--HG--
extra : moz-landing-system : lando
2020-01-24 03:24:35 +00:00
Tetsuharu OHZEKI
d1bcd85656 Bug 1594280 - Fix uses of nsIDocShellTreeItem in nsIDocShellTreeItem in nsDocShell::ValidateOrigin. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D58447

--HG--
extra : moz-landing-system : lando
2020-01-23 18:14:42 +00:00
Glenn Watson
c0b3e007b8 Bug 1611357 - Update fuzziness for grid-track-intrinsic-sizing-002.html r=sotaro
This test also has the same dashed border and occasional fuzziness
that grid-track-intrinsic-sizing-003.html does with DC enabled.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 03:21:23 +00:00
Tim Nguyen
86a980c29c Bug 1611117 - Remove unused includes from nsNumberControlFrame. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D60885

--HG--
extra : moz-landing-system : lando
2020-01-23 23:37:08 +00:00
Agi Sferro
5050d80b5d Bug 1610936 - Set browser.tabs.remote.autostart to true when running wpt r=jgraham,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D60741

--HG--
extra : moz-landing-system : lando
2020-01-24 00:52:00 +00:00
Perry Jiang
64699e71f7 Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
isReload is no longer a property defined by the FetchEvent specification.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 02:38:01 +00:00
Jan Varga
1439211b47 Bug 1608449 - Test fixes for old localStorage implementation; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D60884

--HG--
extra : moz-landing-system : lando
2020-01-23 20:34:55 +00:00
Mark Hammond
ad7ca6c10b Bug 1611065 - fix how extension-storage checks if the FxA session is valid. r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D60797

--HG--
extra : moz-landing-system : lando
2020-01-24 02:12:49 +00:00
sotaro
f2d0fd9379 Bug 1592509 - Re-enable gfx.webrender.compositor by default on Windows r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D59434

--HG--
extra : moz-landing-system : lando
2020-01-23 22:18:11 +00:00
Andreea Pavel
b52e2c7507 Bug 1605565 - disabled browser_togglePolicies.js on linux64 r=egao
Differential Revision: https://phabricator.services.mozilla.com/D60933

--HG--
extra : moz-landing-system : lando
2020-01-24 01:29:00 +00:00
Chris Manchester
0daada8368 Bug 1611231 - Add a note about rewrite_includes_only to sccache-dist docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60879

--HG--
extra : moz-landing-system : lando
2020-01-23 21:58:52 +00:00
Chris Manchester
9151a66146 Bug 1611231 - Update in-tree sccache to fix -frewrite-includes bustage. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60878

--HG--
extra : moz-landing-system : lando
2020-01-23 21:58:50 +00:00
sotaro
56b30bd8c4 Bug 1602643 - Disable WebRender compositor dinamically for async screenshot r=gw
Differential Revision: https://phabricator.services.mozilla.com/D59658

--HG--
extra : moz-landing-system : lando
2020-01-23 23:52:05 +00:00
Edwin Takahashi
7ee98bde51 Bug 1602863 - run mochitest-chrome on linux1804 r=jmaher
Changes:

Migrate over the platform of `mochitest-chrome` to ubuntu1804:

Mark as expected failure one test, and expand the disable annotation of another test to include all platform variants of linux.

Resulting runs have some intermittent failures but nothing significant.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 01:04:09 +00:00
Mike Conley
86b88adf07 Bug 1596169 - Do a better job of cleaning up inside of PictureInPictureChild::willDestroy. r=mstriemer
Inside of PictureInPictureChild's willDestroy, we were calling removeMouseButtonListeners();,
which gets rid of all of the event listeners that we use to detect clicks on the page to
check for clicking on the PiP toggle.

There are, however, other event listeners that weren't being removed, and more importantly,
there were DeferredTask's that weren't being disarmed and torn down. This was causing us to
sometimes log error messages to the console when navigating between pages, because the
JSWindowActorChild has gone away by the time the DeferredTask runs.

So now we call stopTrackingMouseOverVideos instead, which also shuts down the DeferredTask's
(and also calls removeMouseButtonListeners).

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

--HG--
extra : moz-landing-system : lando
2019-11-14 18:38:56 +00:00
Tom Prince
8234d41bc1 Bug 1605275: [taskgraph] Use worker alias for bouncer workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60781

--HG--
extra : moz-landing-system : lando
2020-01-23 16:54:55 +00:00
Tom Prince
c697547b5f Bug 1605275: [taskgraph] Use worker aliases for beetmover and balrog workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60780

--HG--
extra : moz-landing-system : lando
2020-01-23 16:54:13 +00:00
Tom Prince
ba57164174 Bug 1605275: [taskgraph] Use worker alias for treescript workers; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D60779

--HG--
extra : moz-landing-system : lando
2020-01-23 16:53:58 +00:00
James Willcox
e2ee347144 Bug 1608588 - Auto-deny desktop-notification permission appropriately r=geckoview-reviewers,esawin
This causes us to automatically deny the `desktop-notification`
permission if there is no user interaction, like desktop Firefox. This is
not enforced if the `dom.webnotifications.requireuserinteraction`
preference is set to `false`

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

--HG--
extra : moz-landing-system : lando
2020-01-23 16:28:42 +00:00
Marco Bonardo
dd6f2af24c Bug 1605161 - The muxer shouldn't put non-search-suggestions results in the suggestions bucket. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D60840

--HG--
extra : moz-landing-system : lando
2020-01-23 16:53:04 +00:00
Coroiu Cristina
1110c2bfad Backed out changeset 8eb2b7857f62 (bug 1608588) for ESlint failure at mobile/android/components/geckoview/GeckoViewPermission.js on a CLOSED TREE 2020-01-23 18:17:48 +02:00
James Willcox
f691a36dc0 Bug 1608588 - Auto-deny desktop-notification permission appropriately r=geckoview-reviewers,esawin
This causes us to automatically deny the `desktop-notification`
permission if there is no user interaction, like desktop Firefox. This is
not enforced if the `dom.webnotifications.requireuserinteraction`
preference is set to `false`

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

--HG--
extra : moz-landing-system : lando
2020-01-23 12:48:55 +00:00
Yoshi Cheng-Hao Huang
b4e01399cf Bug 1603330 - Update test to prevent JIT keeps the retval of wr.deref(). r=jonco
Move allocation into a function call can prevent JIT keeps the return
value of weakRef.deref().

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:15:51 +00:00
Paul Adenot
2dd304ff1d Bug 1609400 - Lock when setting a graph's current driver. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D60408

--HG--
extra : moz-landing-system : lando
2020-01-21 23:49:54 +00:00
Yoshi Cheng-Hao Huang
89dee44acc Bug 1604829 - Increment mark count only when the cell is marked. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D60832

--HG--
extra : moz-landing-system : lando
2020-01-23 13:20:40 +00:00
James Graham
70f05f4e9b Bug 1611162 - Disable test on Android for harness error after timeout, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D60847

--HG--
extra : moz-landing-system : lando
2020-01-23 15:13:55 +00:00
James Willcox
dcf1f45bdd Bug 1610338 - Make popup blocking work in GeckoView r=geckoview-reviewers,agi
This also fixes the tests, and adds a utility method for waiting one
round trip between the UI and Gecko thread.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 15:22:47 +00:00
Andrew Halberstadt
e9029a6b3a Bug 1608535 - [mozlint] Add an option to specify the number of processes to spawn, r=Standard8
This is a ride-along commit that would have made debugging the problem solved
by this bug easier.

Depends on D60688

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

--HG--
extra : moz-landing-system : lando
2020-01-23 13:31:44 +00:00
Andrew Halberstadt
e431feba99 Bug 1608535 - [ci] Parallelize ESLint in CI, r=Standard8
This can sometimes reduce ESLint's runtime by 10 minutes!

Depends on D60686

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:22:08 +00:00
Andrew Halberstadt
8f09bc743f Bug 1608535 - [lint] Forward new --no-error-on-unmatched-pattern to eslint, r=Standard8
This prevents eslint from dumping an error and bailing when a path was specified that
doesn't contain any lintable files.

This patch fixes a bad interaction with 'mozlint' where passing a directory containing
failures alongside a directory that doesn't have lintable files results in the errors
being hidden and mozlint reporting that everying is OK.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 13:30:27 +00:00
Coroiu Cristina
1d7d0b00b0 Backed out changeset b404fd242e7f (bug 1545196) for browser-chrome failures at projects/compiler-rt/lib/asan/asan_interceptors_memintrinsics.cc
CLOSED TREE

--HG--
extra : histedit_source : 180a97c6ffcec24cbbe05e9bf766d5e34a210f74
2020-01-23 17:07:32 +02:00
Nicolas Silva
ad465b9ca6 Bug 1606771 - Pass more reftests. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D60767

--HG--
extra : moz-landing-system : lando
2020-01-23 14:20:47 +00:00
Nicolas Silva
cca4fcdf86 Bug 1606771 - Add a reftest. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D59901

--HG--
extra : moz-landing-system : lando
2020-01-23 14:20:27 +00:00
Nicolas Silva
e6772d15e4 Bug 1608156 - Adjust reftest expectations. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D59900

--HG--
extra : moz-landing-system : lando
2020-01-23 14:26:39 +00:00
Nicolas Silva
0f0223fc9b Bug 1606771 - Fix border image repetition computation. r=gw
The computation of the repetition depends on the aspect ratio of the segment's uv rectangle, which was previously represented by the dx/dy variables in the shader. These were mistakenly computing the ratio of the normalized uvs within the primitive's total uv rect, which was incorrect since the normalization introduces a non-uniform scale.
This patch fixes it by taking the uv size in device pixels instead of the the normalized textel rect. dx and dy are also renamed into segment_uv_size which is a more informative name.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:24:57 +00:00
Nicolas Silva
3ab18c54bd Bug 1606771 - Fall back to blob for border-image-repeat with fill but no edges. r=gw
Emit a simple image display item if all borders are empty.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:22:59 +00:00
Nicolas Silva
512f63684e Bug 1606771 - Fix the middle area of border-image nine-patches. r=gw
Unlike the border areas that only nead their own dimensions, the middle area of a border-image determines its repetition parameter based on the size of the borders. A new flag is provided for the brush_image shader to know whether to use the segment's own rect or look at the borders when computing the pattern's size.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:26:32 +00:00
Nicolas Silva
725d18b7cb Bug 1606771 - Implement border-image-repeat: round in WebRender. r=jrmuizel,kvark
border-image-repeat: Round is equivalent to Repeat with the pattern size adjusted to fill the area with a whole number of repetitions. This is done by adjusting the segment's stretch_size in the shader so that it fits a whole number of times in the segment's size.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 14:24:11 +00:00
Nicolas Silva
7c24851526 Bug 1608156 - Fix border-image-repeat: repeat in WebRender. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D59356

--HG--
extra : moz-landing-system : lando
2020-01-23 14:24:11 +00:00
Mihai Alexandru Michis
d8a8849254 Backed out changeset f3b490c076d6 (bug 1602643) for causing bustages regarding CompositorKindChanged
CLOSED TREE
2020-01-23 16:27:33 +02:00
Edgar Chen
c4e4fdbd64 Bug 1575425 - Part 5: Remove DataAllowShared and LengthAllowShared from TypedArray bindings; r=bzbarsky
There's no need for two explicit APIs as we get safety from the IDL layer. And
treating a SharedArrayBuffer as an empty buffer is wrong too.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:09:49 +00:00
Edgar Chen
8346d0956a Bug 1575425 - Part 4: Remove manually checking shareness in various APIs implmentation; r=bzbarsky
Now we support [AllowShared] in WebIDL, we don't need to manually check shareness
and throw exception if API don't accept SharedArrayBuffer, the binding will handle
it.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 13:51:04 +00:00