Commit Graph

629363 Commits

Author SHA1 Message Date
Jan de Mooij
a62ba0ea68 Bug 1515754 - Change Debugger::onPromiseSettled to check promise->realm()->isDebuggee() instead of cx->realm()->isDebuggee(). r=arai
As discussed on IRC this is hard to trigger, but this is more consistent with
the cross-compartment code.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 21:42:23 +00:00
Jan de Mooij
1d8954ace9 Bug 1515754 - Enter the reaction's realm in EnqueuePromiseReactionJob before creating the job. r=arai
This is consistent with what we do for cross-compartment wrappers and avoids
problems with running jobs against a dying global (Gecko drops such jobs).

I added a globalOfFirstJobInQueue() shell function so I could write a test that
checks both the compartment-per-global and single-compartment cases.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 21:42:21 +00:00
Jan de Mooij
ecaf5bdea0 Bug 1515590 part 4 - Don't call FixWaiverAfterTransplant if JS_TransplantObject didn't change object identity. r=bholley
Depends on D15093

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

--HG--
extra : moz-landing-system : lando
2018-12-21 18:33:08 +00:00
Jan de Mooij
9190590e09 Bug 1515590 part 3 - Fix some debugger tests by forcing separate compartments for the debugger and debuggee. r=ochameau
With same-compartment chrome globals these would end up in the same compartment.
We need to prevent that because the debugger doesn't support it.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 21:39:56 +00:00
Jan de Mooij
929107cd39 Bug 1515590 part 2 - Fix test_bug1042436.xul to create the sandbox in a new compartment because Xray warning state is stored per compartment. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D15092

--HG--
extra : moz-landing-system : lando
2018-12-21 18:34:12 +00:00
Gregory Mierzwinski
9bd9aae4e4 Bug 1514087 - Rebuild custom d8 on a regular basis. r=jmaher
This patch adds a cron task to regularly schedule an update to the custom d8/v8 version in use in jsshell benchmarks.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 19:55:10 +00:00
Cosmin Sabou
e2cefba569 Backed out changeset d5966d00f836 (bug 1516061) for qr assertion failures on dist/include/mozilla/TimeStamp.h. 2018-12-22 20:13:16 +02:00
inspiro
b8d53fc5d2 Bug 1320105 : Convert JSID_IS_INT to PropertyKey::isInt() r=jandem
Convert JSID_IS_INT to PropertyKey::isInt()

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

--HG--
extra : moz-landing-system : lando
2018-12-22 14:17:44 +00:00
Daniel Holbert
07d9d64364 Bug 1516025 part 4: Add needed 'using' statements for SVG Bindings namespaces in several .cpp files. r=longsonr
Depends on D15233

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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:29:46 +00:00
Daniel Holbert
1305e2bc41 Bug 1516025 part 3: Move SVG static helper function "ParseNumber" outside of the mozilla namespace to fix unified build bustage. r=longsonr
This function is invoked elsewhere in this file as "::ParseNumber(...)", which
only works if it's declared outside of any namespace.  So, it needs to be moved
outside of the mozilla namespace in order to be referenced that way (and to be
truly a static function that's private to this .cpp file).

I'm not sure why this builds at all in unified mode, but however it works, it's
cheating, apparently.

Also: this patch adds a 'using' statement for the mozilla namespace, for
e.g. the RangedPtr usages in this function definition (since it no longer lives
inside of a namespace mozilla{} block).

Depends on D15232

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

--HG--
extra : moz-landing-system : lando
2018-12-22 09:13:21 +00:00
Daniel Holbert
76a8cb61f7 Bug 1516025 part 2: Add needed #includes to some files in dom/svg to preemptively fix unified build bustage. r=longsonr
And while I'm here, I'm giving SVGDataParser.h a more specific/efficient string
include, to just provide the *forward-decl* of nsAString for this file's
"nsAString&" usage in a function prototype.

Depends on D15231

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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:29:24 +00:00
Daniel Holbert
4ccbf680fa Bug 1516025 part 1: Add "using namespace mozilla::dom" to some SVG C++ files that currently depend on unification to provide that using statement. r=longsonr
These are to support of usages of "SVGElement" in these files, so they
problably only started needing this namespace as of bug 1515187.  In any case,
they're currently relying on picking up this "using" statement from other files
in unified builds, so let's just make the usage explicit by giving them their
own "using" statement.

Also, I'm fixing up the #include for SVGElement.h in these files to use the
full mozilla/dom include path (and to make these files include their own .h
file first).

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

--HG--
extra : moz-landing-system : lando
2018-12-22 17:04:05 +00:00
Jeff Muizelaar
1f6e956e50 Bug 1516061. Split MissedComposite telemetry. r=mattwoodrow
We're seeing a substantial amount of paint misses caused by
MissedComposite. This splits MissedComposite into subcategories
based on the full paint time.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 15:38:22 +00:00
Jan de Mooij
6a725f61ca Bug 1515611 part 2 - QI nsIWritablePropertyBag instead of nsIPropertyBag on nsIUpdate. r=rstrong
If we QI nsIPropertyBag on an XPCWrappedNative wrapping an XPCWrappedJS, calling
the getProperty method might incorrectly end up calling .getProperty on the
XPCWrappedJS itself, because it also implements nsIPropertyBag.

This became a problem with same-compartment chrome globals because if we no longer
cross a compartment boundary, we don't create a new WrappedNative and can now end up
seeing the nsIPropertyBag if it got queried before nsIWritablePropertyBag.

Depends on D15076

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

--HG--
extra : moz-landing-system : lando
2018-12-20 17:47:32 +00:00
Jan de Mooij
8bcc495ca2 Bug 1515611 part 1 - Remove backgroundInterval from nsIUpdate. r=rstrong
It was added in case there were CDN issues with downloading unthrottled and
since there haven't been any issues it is no longer needed.

This was suggested by rstrong and simplifies the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 01:10:27 +00:00
Razvan Maries
83351481a9 Backed out changeset 99f425b3e45c (bug 1516061) for causing build bustages. CLOSED TREE 2018-12-22 17:01:52 +02:00
Jeff Muizelaar
5f544003da Bug 1516061. Split MissedComposite telemetry. r=mattwoodrow
We're seeing a substantial amount of paint misses caused by
MissedComposite. This splits MissedComposite into subcategories
based on the full paint time..

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

--HG--
extra : moz-landing-system : lando
2018-12-22 14:41:08 +00:00
Dão Gottwald
619a61938f Bug 1516085 - Share .autoscroller styling across platforms. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15252

--HG--
extra : moz-landing-system : lando
2018-12-22 12:16:52 +00:00
Ciure Andrei
189a632b7e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-22 11:52:30 +02:00
Ciure Andrei
f5e90a1d62 Merge inbound to mozilla-central. a=merge 2018-12-22 11:49:59 +02:00
WR Updater Bot
ab4d4812de Bug 1516074 - Update webrender to commit 8476ed5e134e54f2facb01ea45e8a2008c8ba8da (WR PR #3441). r=kats
https://github.com/servo/webrender/pull/3441

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

--HG--
extra : moz-landing-system : lando
2018-12-22 08:59:28 +00:00
WR Updater Bot
a5500b828f Bug 1516012 - Re-vendor rust dependencies. r=kats
Depends on D15247

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

--HG--
extra : moz-landing-system : lando
2018-12-22 08:57:28 +00:00
WR Updater Bot
8e9ac4d7ef Bug 1516012 - Update webrender to commit ca4ee825c0fecc459c8741f05acbd90761667b75 (WR PR #3442). r=kats
https://github.com/servo/webrender/pull/3442

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

--HG--
extra : moz-landing-system : lando
2018-12-22 08:57:10 +00:00
Ting-Yu Lin
6f3aaacaec Bug 1515740 - Restore two flags passed to GetFrameForPoint() in SelectWordOrShortcut() on Android. r=emilio,botond
Differential Revision: https://phabricator.services.mozilla.com/D15226

--HG--
extra : moz-landing-system : lando
2018-12-22 08:18:10 +00:00
Andreas Pehrson
cb8996408e Bug 1512958 - Properly clean up produced tracks in DecodedStream. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D14584

--HG--
extra : source : 74101900e7d484cc9ddcba2cd867ca172b961ea0
2018-12-21 16:23:57 +00:00
Andreas Pehrson
7a2e26a568 Bug 1512958 - Add mochitest. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D14583

--HG--
extra : source : 1d4816ef6e013b44000d5c633245ec8effef810d
2018-12-21 16:23:55 +00:00
Jeff Muizelaar
cbfbd7cf97 Bug 1516033. Make CONTENT_FRAME_TIME_REASON use the same timing as CONTENT_FRAME_TIME. r=mattwoodrow
It perhaps makes more sense to use the start of refresh but I'd like to switch
to the start of the paint so that we get more consistent results between the
two probes.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 05:00:51 +00:00
Coroiu Cristina
e4511f53d0 Merge mozilla-central to autoland a=merge 2018-12-22 06:20:28 +02:00
Coroiu Cristina
0215638358 Backed out 2 changesets (bug 1512958) for frequently failing mda at /dom/media/MediaDecoderStateMachine.cpp a=backout
Backed out changeset 74101900e7d4 (bug 1512958)
Backed out changeset 1d4816ef6e01 (bug 1512958)
2018-12-22 06:14:56 +02:00
Coroiu Cristina
52c4a6e3ad Merge inbound to mozilla-central a=merge 2018-12-22 06:12:53 +02:00
Ryan VanderMeulen
ca70b13b06 Backed out changeset 7408e4b312e9 (bug 1514683) because it's not the correct way to enable SQLITE_DBCONFIG_DEFENSIVE. 2018-12-21 20:44:51 -05:00
Daniel Holbert
9543fab953 Bug 695385 followup: use pixel-valued sizes (not %) for rects in new mochitest. (no review; just tweaking a new test for robustness)
This hopefully will address the test-verify failures that were reported in bug 1516006.

--HG--
extra : rebase_source : d01139f16469c631eb047d21e998dfaf0d58c3a5
extra : amend_source : 8543fd2e10bf485cabaf45dfac156e6b9094ea41
2018-12-21 15:51:44 -08:00
Andrea Marchesini
301d9591cd Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan 2018-12-22 00:38:37 +01:00
Kartikaya Gupta
09dccca832 Bug 1496194 - Ensure the inner sticky rect stays inside the outer sticky rect. r=botond
Depends on D15136

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:37:28 +00:00
Iain Ireland
4425716322 Bug 1480390: Rename TRY_DESTRUCTURING_ITERCLOSE to TRY_DESTRUCTURING to standardize naming conventions r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D14793

--HG--
extra : moz-landing-system : lando
2018-12-21 22:36:19 +00:00
Kartikaya Gupta
b184eedbf0 Bug 1496194 - Add a RectAbsolute implementation for MoveInsideAndClamp. r=botond
Depends on D15135

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:31:55 +00:00
Kartikaya Gupta
04689eb8ea Bug 1496194 - Fix the MoveBy(Point) implementation in RectAbsolute. r=botond
RectAbsolute contained a MoveBy(Point) function where Point was not a
template parameter but the actual gfx::Point type. This seems to be an
unintentional copy/paste error. This patch fixes it to be properly
templated.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:11:26 +00:00
Kartikaya Gupta
1424a0b4a5 Bug 1515486 - Set a leak threshold for the gpu process on WR-enabled WPT tests. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D15223

--HG--
extra : moz-landing-system : lando
2018-12-22 00:10:13 +00:00
Timothy Nikkel
b5a536d9ae Bug 1415987. Use ChooseScale to choose a scale in WebRender. r=jrmuizel 2018-12-21 16:07:21 -06:00
Jeff Muizelaar
a2d5d62f9c Bug 1415987. Factor out ChooseScale from ChooseScaleAndSetTransform in FrameLayerBuilder. r=tnikkel 2018-12-21 16:07:18 -06:00
Coroiu Cristina
36018a1b0d Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-12-22 00:01:43 +02:00
Coroiu Cristina
bbc7fc4e7c Merge inbound to mozilla-central a=merge 2018-12-21 23:55:45 +02:00
Geoff Brown
fa1f40ea6a Bug 1500995 - Allow for missing 'failures' data in 'mach test-info'; r=me,a=test-only 2018-12-21 14:18:15 -07:00
longsonr
aa644bddf1 Bug 1515962 - Move nsSVGPathDataParser nsSVGDataParser and nsSVGArcConverter to the mozilla namespace r=dholbert
--HG--
rename : dom/svg/nsSVGDataParser.cpp => dom/svg/SVGDataParser.cpp
rename : dom/svg/nsSVGDataParser.h => dom/svg/SVGDataParser.h
rename : dom/svg/nsSVGPathDataParser.cpp => dom/svg/SVGPathDataParser.cpp
rename : dom/svg/nsSVGPathDataParser.h => dom/svg/SVGPathDataParser.h
2018-12-21 20:19:15 +00:00
Dorel Luca
c52a15bada Backed out changeset d5f22f6c8de8 (bug 1478894) for eslint failure. CLOSED TREE 2018-12-21 21:34:22 +02:00
Gabriel Luong
fbb46ac366 Bug 1478894 - Part 1: Add an initial boilerplate React/Redux app for the new Rules View. r=pbro 2018-12-21 14:05:46 -05:00
Gabriel Luong
c524e83ea6 Bug 1478894 - Part 1: Add an initial boilerplate React/Redux app for the new Rules View. r=pbro 2018-12-21 14:05:46 -05:00
Richard Marti
e1ba1ce026 Bug 1515759 - Revert in tree.xml the changes from bug 1508141. r=bgrins 2018-12-21 19:39:22 +01:00
Jan de Mooij
becd1e9516 Bug 1514776 - Fix browser_loadPKCS11Module_ui.js test because we now report as uncaught exception instead of reporting to the browser console. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D15178

--HG--
extra : moz-landing-system : lando
2018-12-21 18:37:09 +00:00
Gabriel Luong
7d271f9ac5 Bug 1468833 - Duplicate strings needed in the rules view rewrite from inspector.properties into styleinspector.properties; r=pbro 2018-12-21 13:24:41 -05:00