Commit Graph

608302 Commits

Author SHA1 Message Date
Jan de Mooij
b8dcfab3e5 Bug 1480678 part 13 - Use JS_WrapValue in IntlUtils::{GetDisplayNames,GetLocaleInfo} instead of switching realms. r=kmag 2018-08-09 10:48:29 +02:00
Jan de Mooij
0090285015 Bug 1480678 part 12 - Do a CheckedUnwrap in AudioContext::DecodeAudioData to ensure we don't have a CCW. r=bz
Note that right now aBuffer.Obj() will never be a cross-compartment wrapper anyway, because that can only happen when we're calling a WebIDL constructor, and this is not a constructor.
2018-08-09 10:48:29 +02:00
Jan de Mooij
2c9cefda61 Bug 1480678 part 11 - Wrap the typed array in the current compartment instead of entering its realm in WriteStructuredCloneImageData. r=bz
This is also better security-wise: if we're writing the structured clone in some compartment that shouldn't have access to the underlying data of the ImageData, we shouldn't be giving that access here.
2018-08-09 10:48:29 +02:00
Jan de Mooij
729eb9343a Bug 1480678 part 10 - Remove unnecessary realm entering in TCPSocket::Send. r=bz 2018-08-09 10:48:29 +02:00
Jan de Mooij
6b5c6b10aa Bug 1481772 - Remove unnecessary JSAutoRealm in mozJSComponentLoader::ImportInto. r=kmag 2018-08-09 10:48:29 +02:00
Nihanth Subramanya
30046206a2 Bug 1480610 - Add minimal stub for fxmonitor add-on into build system. r=johannh
--HG--
extra : rebase_source : c029c0f7aa4e165d49e77ebced68fec94a9a82a2
2018-08-08 19:07:25 +02:00
Ian Moody
4a3f7af1ea Bug 1467541 - Add a test for opening the layout debugger. r=dbaron
Summary:

Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : b23b7f9a8407bf460838d56f5d66bcf6fb347cc2
2018-08-09 10:53:01 +03:00
Ian Moody
dde3d69565 Bug 1467541 - Remove dead layout debug files. r=dbaron
Summary: No longer used since it stopped being built as an extension.

Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : a75301c90c962ce870b3c28dd0a79339ba81aa5d
2018-08-09 10:52:54 +03:00
Ian Moody
3e13ecf9a8 Bug 1467541 - Package layout debugger in debug builds. r=dbaron
Reviewers: dbaron

Reviewed By: dbaron

Bug #: 1467541

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

--HG--
extra : histedit_source : 32e707a592ede9fdbed1d1fe4b39e0e6103c949f
2018-08-09 10:52:49 +03:00
Nazım Can Altınova
2ee5623032 Bug 1480499 - Add profiler label frame to gfxUserFontEntry::LoadPlatformFont with the OTHER category r=mstange
MozReview-Commit-ID: 49eCKAMxy3I

--HG--
extra : rebase_source : ee17aaded12943d7a150bf3f8d15d58d246c2ce5
2018-08-03 15:15:24 +02:00
Nazım Can Altınova
ba374b05d5 Bug 1480496 - Add a profiler label frame to Loader::ParseSheet with the LAYOUT category r=mstange
MozReview-Commit-ID: CcuCs9fxTbT

--HG--
extra : rebase_source : eec3bb1c60a3fe1d724c302cfe6edfd226c8ac21
2018-08-03 13:43:57 +02:00
Xidorn Quan
d37916aaf6 Bug 1481792 - Make several more specified values Copy. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D2932

--HG--
extra : moz-landing-system : lando
2018-08-08 12:06:19 +00:00
Xidorn Quan
3b8f9b869d Bug 1481781 - Add check for non-Copy specified value to ensure specified_is_copy always returns the right result. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D2931

--HG--
extra : moz-landing-system : lando
2018-08-08 12:07:34 +00:00
Margareta Eliza Balazs
de751cd3e6 Backed out changeset b1b651603919 (bug 1471952) for devtools failures in devtools/client/framework/test/browser_toolbox_window_title_frame_select.js on a CLOSED TREE 2018-08-08 15:02:32 +03:00
Csoregi Natalia
0ed25650ef Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-08 13:02:49 +03:00
Csoregi Natalia
0f4d50ff52 Merge inbound to mozilla-central. a=merge 2018-08-08 12:58:36 +03:00
Csoregi Natalia
12a50f2d0e Merge autoland to mozilla-central. a=merge 2018-08-08 12:57:08 +03:00
Csoregi Natalia
2b802087e7 Backed out changeset ce04f86f84f4 (bug 1481559) for browser_preferences_usage.js failures. a=backout 2018-08-08 12:54:48 +03:00
Martin Balfanz
927b8ba270 Bug 1471952 - change default tool to Inspector;r=rcaliman
Change default tool to inspector

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

--HG--
extra : moz-landing-system : lando
2018-08-08 09:37:50 +00:00
Andrea Marchesini
7786b357e9 Bug 1480179 - Fix the traverse() of MediaQueryList in nsDocument, r=smaug 2018-08-08 08:22:37 +02:00
sotaro
4709864388 Bug 1476846 - Fix UpdateEpoch() handling r=nical 2018-08-08 14:14:00 +09:00
Brindusan Cristian
f8555a213f Merge inbound to mozilla-central. a=merge 2018-08-08 00:51:43 +03:00
Jeff Gilbert
c95b959d03 Bug 1481283 - Use SamplingState for both WebGLTexture and WebGLSampler state. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D2795

--HG--
extra : moz-landing-system : lando
2018-08-07 19:12:09 +00:00
Ed Lee
613dc273cb Bug 1481559 - Add search filter, search pref and bug fixes to Activity Stream r=ursula
MozReview-Commit-ID: ANMt3NGC8HY

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

--HG--
extra : moz-landing-system : lando
2018-08-07 18:55:31 +00:00
Alex Gaynor
8f9e8a51b2 Bug 1446509 - added final versions of macro for declaring AddRef and Decref; r=froydnj
Also make use of them in a few places.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 18:25:49 +00:00
Valentin Gosu
1030589ee4 Bug 1478732 - Change nsHostResolver to dispatch one resolver task per native lookup r=bagder
Differential Revision: https://phabricator.services.mozilla.com/D2431

--HG--
extra : moz-landing-system : lando
2018-08-07 07:03:57 +00:00
Julian Descottes
0a42678142 Bug 1481616 - Reorder rules to show high-dpi alert icon in ruleview;r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D2888

--HG--
extra : moz-landing-system : lando
2018-08-08 09:06:45 +00:00
Nicolas Chevobbe
372a786c24 Bug 1478251 - Enable client/shared/test/browser_layoutHelpers.js in e10s; r=jdescottes.
Removing the skip-if seems to work fine.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 06:43:44 +00:00
Brad Werth
2805e247da Bug 1479508 Part 4: Remove a test that only exists to check grids in display:none subtrees -- something no longer targeted by the UI. r=gl
This test seems to have no reason to exist anymore. getElementsWithGrid used
to retrieve ALL elements styled with grid, even if they weren't visible.
With the other changes in this patch, we no longer return such grids, and the
case that this test aims to check is no longer something that can occur.

MozReview-Commit-ID: 68AiqYe7uww

--HG--
extra : rebase_source : c919a70b649219938a65874a13a7841e4ee320df
2018-08-03 18:14:34 -07:00
Chris Manchester
21e6277fe3 Bug 1480313 - Set check_unchanged for cargo build script rules in the Tup build. r=mshal
MozReview-Commit-ID: Cx3sP5m16Yl

--HG--
extra : rebase_source : aabd3eb315ee4509531663ef1ca507f59f2d1b88
2018-08-01 21:24:51 -07:00
Mike Conley
587dd4f432 Bug 1481519 - Let tab warming ride out to release on macOS. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2874

--HG--
extra : moz-landing-system : lando
2018-08-07 18:31:45 +00:00
Emilio Cobos Álvarez
0f460b1379 Bug 1481037 - Update StyleBench. r=jmaher
Pick upstream changes.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 15:31:47 +00:00
Narcis Beleuzu
6480962188 Backed out changeset e64cbe967b63 (bug 1480866) for GTest failure. CLOSED TREE 2018-08-07 21:21:27 +03:00
Mark Banner
8ca5017f6f Bug 1481445 - Remove nsINavBookmarksService::mobileFolder and PlacesUtils.mobileFolderId. r=lina
Depends on D2851

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

--HG--
extra : moz-landing-system : lando
2018-08-07 18:09:01 +00:00
Mark Banner
8c39205461 Bug 1481445 - Remove the id option for PlacesUtils.isRootItem (guids only accepted). r=lina
Depends on D2850

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

--HG--
extra : moz-landing-system : lando
2018-08-07 17:37:01 +00:00
Mark Banner
ccfb776495 Bug 1481445 - Replace usage of the old bookmark ids in promiseBookmarksTree with guids. r=lina
MozReview-Commit-ID: AgqSKneywM4

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

--HG--
extra : moz-landing-system : lando
2018-08-07 15:01:32 +00:00
Bryce Van Dyk
460c97cad4 Bug 1481005 - Explicitly delete dtor of AlignmentFinder::Alinger to avoid MSVC warning breaking debug builds. r=froydnj
Bug 1480624 added new code that results in a warning on MSVC debug builds. This
warning is treated as an error and makes such builds unhappy. The warning is
due to implicit deletion of a dtor, this changeset makes that deletion
explicit to avoid the fatal warning.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 17:58:39 +00:00
Matt Brubeck
bb9689b710 Bug 1481319 - Include prefix when matching bookmark keywords. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D2804

--HG--
extra : moz-landing-system : lando
2018-08-07 17:47:46 +00:00
Botond Ballo
168027fec9 Bug 1480866 - Avoid creating a fling animation with zero velocity. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D2743

--HG--
extra : moz-landing-system : lando
2018-08-07 13:39:34 +00:00
Narcis Beleuzu
c0ef44e6f9 Backed out changeset 249187863dd9 (bug 1478847) for wptlint failure on MANIFEST.json. CLOSED TREE 2018-08-07 20:31:18 +03:00
Brad Werth
44d7185986 Bug 1479508 Part 3: Update test expectations. r=bz
MozReview-Commit-ID: Haf4LTUwDOc

--HG--
extra : rebase_source : 22825ceb86772a233a9ff9bd67fcddb6e557cee8
2018-08-01 16:02:57 -07:00
Brad Werth
eea863c791 Bug 1479508 Part 2: Change GetElementsWithGrid to use a more conservative traversal that skips subtrees without frames. r=bz
MozReview-Commit-ID: 1hTQD8LoLQw

--HG--
extra : rebase_source : e8651e1a78818a25c98cc34db2ac217756596666
2018-08-01 15:33:06 -07:00
Brad Werth
949df1e3d9 Bug 1479508 Part 1: Move devtools-specific function definitions in Element.webidl into a better-documented partial interface. r=bz
MozReview-Commit-ID: 6227lasylzN

--HG--
extra : rebase_source : f9cf8938d4cd01ceebc1adc2ffd078a98d928fae
2018-08-01 11:52:21 -07:00
Mantaroh Yoshinaga
07d7b06d44 Bug 1477367 - Close the popup menu before changing the panel to options panel. r=birtles
Pressing the F1 key make the toolbox panel to options panel, However, popup menu
doesn't closed at the moment. This patch will close the popup menu in this case.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 02:13:38 +00:00
Jeff Muizelaar
955d35ed01 Bug 1480608. Skip over items that aren't in DrawTarget/DirtyRect. r=mstange
MozReview-Commit-ID: Kc9E1SUVUh3

--HG--
extra : rebase_source : d3ee33154622915bd444139bce639e4372fe8f43
2018-08-02 18:09:17 -04:00
Narcis Beleuzu
e2bdc2a3f4 Backed out changeset ddfa5cc2ea30 (bug 1478178) for mochitest failures on layout/base/tests/test_reftests_with_caret.html. CLOSED TREE 2018-08-08 06:48:29 +03:00
Jeff Muizelaar
a61a3dece7 Bug 1480620. Replace WebRender's use of DrawTargetTiled.
This replaces WebRender's use of DrawTargetTiled which was just trying to
apply offset.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 02:55:23 +00:00
Masayuki Nakano
dde0996690 Bug 1481292 - part 2: Make ContentEventHandler::GetLastFrameInRangeForTextRect() and ContentEventHandler::AdjustCollapsedRangeMaybeIntoTextNode() use RangeBoundary when they treat start or end of range r=smaug
ContentEventHandler::GetLastFrameInRangeForTextRect() and
ContentEventHandler::AdjustCollapsedRangeMaybeIntoTextNode() use
nsINode::GetChildAt_Deprecated() directly. They use this method when they
treat start or end of a range. So, we can make them use RangeBoundary instead.

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

--HG--
extra : moz-landing-system : lando
2018-08-08 01:43:31 +00:00
Masayuki Nakano
9f4492d17d Bug 1481292 - part 1: Get rid of ContentEventHandler::GetNodePositionHavingFlatText() because of unused r=smaug
ContentEventHandler::GetNodePositionHavingFlatText() is not used by anybody.
So, we should just get rid of it.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 13:50:23 +00:00
Abdoulaye O. Ly
3776af14f0 Bug 1479257 - Implement ability to duplicate a selection of tabs through drag and drop. r=jaws
MozReview-Commit-ID: FSttZ0ytxX0

--HG--
extra : rebase_source : 6c2c3b50feddf71b0f93cf512503fa69e5e8cf8c
2018-08-05 05:52:04 +00:00