Commit graph

727862 commits

Author SHA1 Message Date
Jean-Yves Avenard
34942c95ff Bug 1663372 - Ignore toolchains.json file with git. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D89337
2020-09-25 13:09:50 +00:00
Csoregi Natalia
5aa05eeefe Backed out 4 changesets (bug 1643948) for hazard failures on CacheIR.cpp. CLOSED TREE
Backed out changeset 3acf673e3bc1 (bug 1643948)
Backed out changeset e8a33b1a8a73 (bug 1643948)
Backed out changeset ebc80496d7c1 (bug 1643948)
Backed out changeset cdbe54a4b28f (bug 1643948)
2020-09-25 16:21:49 +03:00
Ted Campbell
598bc5feef Bug 1667258 - Remove support for RealmCreationOptions::cloneSingletons. r=jandem
Script object-literal singletons are only generated for top-level run-once
scripts which both XDR and cloning no longer need to support. As a result,
the `cloneSingletons` mechanism is no longer needed and can be removed.

We can simplify the Interpreter and JITs handling of JSOp::Object to no
longer worry about cloneSingletons as a result. They also lets us remove the
`setSingletonsAsValues` code since we no longer have realm-wide poison bits.

Differential Revision: https://phabricator.services.mozilla.com/D91365
2020-09-25 12:31:03 +00:00
Ted Campbell
7c9c1cdfec Bug 1667258 - Disallow JS::EncodeScript on run-once scripts. r=jandem,nbp
Use the same conditions for EncodeScript as we do for CopyScriptImpl. This
involves checking if the top-level script was compiled as run-once. This
check applies regardless of whether the script has been run on not (which is
a stricter test than might otherwise be required). This lets us avoid the
"cloneSingletons" mechanism altogether.

This is more consistent with browser use-cases of EncodeScript which do not
mark scripts as run-once.

We change test behavior to not use the run-once flag for non-incremental
mode. Cases that are testing run-once-only features now use incremental XDR
which is consisten with what the browser actually does.

Depends on D91363

Differential Revision: https://phabricator.services.mozilla.com/D91364
2020-09-25 12:22:32 +00:00
Ted Campbell
d370124b1a Bug 1667258 - Assert that JSOp::Object is only used for run-once scripts. r=jandem
The JSOp::Object opcode is only for "run-once singleton contexts" which
require the run-once CompileOption to be set. We will use this invariant to
eventually remove the cloneSingletons mechanism.

Differential Revision: https://phabricator.services.mozilla.com/D91363
2020-09-25 08:54:20 +00:00
André Bargull
d5806f33d5 Bug 1643948 - Part 4: Add missing JitSpew_Codegen calls. r=jandem
And remove calls from helper functions like `emitLoadTypedElementResult()`
and `emitStoreTypedElement()`.

Differential Revision: https://phabricator.services.mozilla.com/D91033
2020-09-25 12:12:05 +00:00
André Bargull
97b1033295 Bug 1643948 - Part 3: Transpile GuardArgumentsObjectNotOverriddenIterator. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D91032
2020-09-24 15:21:49 +00:00
André Bargull
43746ed755 Bug 1643948 - Part 2: Optimise arguments[Symbol.iterator] in CacheIR. r=jandem
This change allows to retrieve `arguments[Symbol.iterator]` without calling the
resolve hook and without actually adding the iterator function to the arguments
object.

Differential Revision: https://phabricator.services.mozilla.com/D91031
2020-09-24 15:27:49 +00:00
André Bargull
e153e7b836 Bug 1643948 - Part 1: Reify the arguments object iterator in the resolve hook. r=jandem
Both arguments objects resolve hook were defining the iterator property, but
didn't set the corresponding `ITERATOR_OVERRIDDEN_BIT` flag. We don't need to
apply a similar change for the other resolved properties, because they're
using the `(Un)MappedArgGetter` and `(Un)MappedArgSetter` property functions.

In preparation for part two, the code to retrieve `ArrayValues` was already
moved into a separate function.

Differential Revision: https://phabricator.services.mozilla.com/D91030
2020-09-24 15:20:01 +00:00
Frederic Wang
eb4b491896 Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to
prepare for full math-depth support. Currently, the property is guarded
under a disabled-by-default flag, so there should be no observable
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D91285
2020-09-25 12:04:53 +00:00
Andrew Halberstadt
f96cfcdd6a Bug 1663549 - [ci] Use a modern 'bugbug_push_schedules.json' with the test_mach_try_auto.py integration test, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D91345
2020-09-24 21:19:07 +00:00
Jeff Muizelaar
70cb4bccd7 Bug 1666811. Make tag finding safe. r=aosmond
Change find_tag() to return an Option<&tag> instead of *const tag
and clean up all of the users.

Differential Revision: https://phabricator.services.mozilla.com/D91150
2020-09-25 11:45:04 +00:00
Mihai Alexandru Michis
0a6da57551 Backed out changeset 7d8ce79d27a4 (bug 1666473) for causing wpt failures in infrastructure/reftest/*
CLOSED TREE
2020-09-25 15:07:43 +03:00
julianwels
cde5895adc Bug 1662359 - Don't upgrade subresources whose triggering principal is exempt from HTTPS-Only mode. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D91280
2020-09-25 11:23:56 +00:00
Joel Maher
f5333de16a Bug 1656546 - adjust tresize to work on lower resolution screens. r=dthayer,perftest-reviewers,sparky
adjust tresize to work on lower resolution screens.

Differential Revision: https://phabricator.services.mozilla.com/D91133
2020-09-24 15:08:21 +00:00
Julian Descottes
4fd39a83f2 Bug 1618693 - [devtools] Remove LocalTabTargetFront and move localtab logic to TabDescriptorFront r=ochameau
The goal of this revision is to unify the various tab & frame target fronts on the client side so that they are all simple instances of BrowsingContextTargetFront.
This will simplify https://bugzilla.mozilla.org/show_bug.cgi?id=1644397 . At the moment all targets emitted by the watcher are turned into BrowsingContextTargetFront by target list (https://searchfox.org/mozilla-central/rev/35d927df97900a57ecb562ad13909e392440b0fb/devtools/client/fronts/watcher.js#37). Removing `LocalTabTargetFront` means we don't have to introduce this concept to TargetList.

The first top target of a content toolbox will be a BrowsingContextTargetFront, same as all the future ones, even if they are provided by the watcher.

Differential Revision: https://phabricator.services.mozilla.com/D91106
2020-09-25 09:55:14 +00:00
Kartikaya Gupta
1e2a75a230 Bug 1667176 - Use ostream operator instead of AppendToString for nsRectAbsolute. r=mattwoodrow
Depends on D91340

Differential Revision: https://phabricator.services.mozilla.com/D91341
2020-09-25 08:57:25 +00:00
Kartikaya Gupta
0c9ba9147e Bug 1667176 - Use ostream operator instead of AppendToString for nsRect. r=mattwoodrow
Depends on D91339

Differential Revision: https://phabricator.services.mozilla.com/D91340
2020-09-25 08:57:25 +00:00
Kartikaya Gupta
cb1b7eb76c Bug 1667176 - Use ostream operator instead of AppendToString for nsPoint. r=mattwoodrow
Depends on D91338

Differential Revision: https://phabricator.services.mozilla.com/D91339
2020-09-25 08:57:24 +00:00
Kartikaya Gupta
8150321a2c Bug 1667176 - Replace AppendToString for DeviceColor with ostream operator. r=mattwoodrow
Depends on D91337

Differential Revision: https://phabricator.services.mozilla.com/D91338
2020-09-25 08:57:24 +00:00
Kartikaya Gupta
d8fb331a86 Bug 1667176 - Remove unused sRGBColor AppendToString function. r=mattwoodrow
Depends on D91336

Differential Revision: https://phabricator.services.mozilla.com/D91337
2020-09-25 08:57:24 +00:00
Kartikaya Gupta
90e40536c2 Bug 1667176 - Remove the ViewID AppendToString function, and convert call sites to stream writes. r=mattwoodrow
Depends on D91335

Differential Revision: https://phabricator.services.mozilla.com/D91336
2020-09-25 08:57:24 +00:00
Kartikaya Gupta
dcd854a52e Bug 1667176 - Remove the void* AppendToString function, and fix the typo that exposed. r=mattwoodrow
Depends on D91334

Differential Revision: https://phabricator.services.mozilla.com/D91335
2020-09-25 08:57:23 +00:00
Kartikaya Gupta
a36e0f76fb Bug 1667176 - Collapse ScrollableLayerGuid stringification functions. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D91334
2020-09-25 08:57:23 +00:00
Kartikaya Gupta
328e91296c Bug 1667176 - Move ScrollableLayerGuid functions into a .cpp file. r=mattwoodrow
Depends on D91332

Differential Revision: https://phabricator.services.mozilla.com/D91333
2020-09-25 08:57:23 +00:00
Kartikaya Gupta
aaef0a4678 Bug 1667176 - Miscellaneous unified build fixes. r=mattwoodrow
Upcoming patches shift around which files get unified and expose these build
failures.

Differential Revision: https://phabricator.services.mozilla.com/D91332
2020-09-25 08:57:23 +00:00
Dan Minor
234fe8f57a Bug 1665166 - Fix paths in build.gradle; r=snorp
Depends on D91323

Differential Revision: https://phabricator.services.mozilla.com/D91324
2020-09-24 19:53:33 +00:00
Dan Minor
fb29f2a137 Bug 1665166 - Fix include in RtpRtcpConfig.h; r=ng
Depends on D91322

Differential Revision: https://phabricator.services.mozilla.com/D91323
2020-09-24 18:50:56 +00:00
Dan Minor
f45a6d5bc5 Bug 1665166 - Regenerate libwebrtc moz.build files; r=ng
Depends on D91320

Differential Revision: https://phabricator.services.mozilla.com/D91322
2020-09-24 19:01:35 +00:00
Dan Minor
67f56c312d Bug 1665166 - Normalize non_unified_source paths in gn_processor.py r=firefox-build-system-reviewers,rstewart
In order to support building with relative paths to third-party code we need
to normalize the non-unified source paths prior to comparing them to incoming
source paths during moz.build file generation.

Depends on D91319

Differential Revision: https://phabricator.services.mozilla.com/D91320
2020-09-24 18:55:02 +00:00
Dan Minor
45562522d9 Bug 1665166 - Updates to moz.build files; r=ng
Depends on D91318

Differential Revision: https://phabricator.services.mozilla.com/D91319
2020-09-24 18:40:21 +00:00
Dan Minor
e800fc9506 Bug 1665166 - Move media/webrtc build files to dom/media/webrtc/third_party_build; r=ng
Depends on D91317

Differential Revision: https://phabricator.services.mozilla.com/D91318
2020-09-24 18:20:26 +00:00
Dan Minor
9f1d2b5af5 Bug 1665166 - Move media/webrtc/trunk/* to third-party/libwebrtc; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D91317
2020-09-24 18:28:41 +00:00
Jonathan Kew
c23510803e Bug 1666473 - Update mPrintInfo in SetPaperWidth/Height overrides. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D91262
2020-09-25 11:06:39 +00:00
Frederic Wang
0547b82540 Bug 1667122 - Make CSS tests work when math-style is disabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D91387
2020-09-25 10:52:38 +00:00
Sebastian Hengst
c2bed85d28 Bug 1666388 - set coop-csp-sandbox-navigate.https.html to intermittent on mac opt. r=jgraham DONTBUILD DONTBUILD
Added in bug 1664225

Differential Revision: https://phabricator.services.mozilla.com/D91143
2020-09-25 09:51:16 +00:00
tobar2018
9d2d6fb472 Bug 1659264 - Remove all references to the preference 'layout.css.moz-touch-enabled.enabled'. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D91401
2020-09-25 10:29:08 +00:00
Emilio Cobos Álvarez
309f9b7e7b Bug 1661138 - Make WPT print reftests not open new windows. r=jgraham,marionette-reviewers
As it's too slow (specially on Android and WebRender) and causes tests
to timeout semi-randomly.

In order to do that, implement nsIBrowserDOMWindow in the reftest
window, in a way that keeps the existing behavior for all other things
we care about.

While at it, remove the renderroot attribute which is just leftover (no
longer exists).

Differential Revision: https://phabricator.services.mozilla.com/D91186
2020-09-25 09:15:48 +00:00
Christoph Kerschbaumer
9abdc0cc16 Bug 1667326: Remove unnecessary pref for SRI. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D91399
2020-09-25 10:04:08 +00:00
Sebastian Hengst
a9b78eaf11 Bug 1666362 - adjust expectations for html/cross-origin-opener-policy/resource-popup.https.html. r=jgraham DONTBUILD
Also fixes bug 1666335.

Differential Revision: https://phabricator.services.mozilla.com/D91153
2020-09-25 09:51:27 +00:00
Miko Mynttinen
093f7dcfb5 Bug 1619370 - Return the rect from BrowserChild::GetVisibleRect() in app units r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D91272
2020-09-25 09:38:06 +00:00
Jonathan Watt
d5de56ef43 Bug 1667285. Make nsPrintSettingsService::_CreatePrintSettings pure virtual. r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D91377
2020-09-25 09:33:14 +00:00
Nicolas Silva
05cdd4de3a Bug 1647035 - Avoid incorrect font variation initialization. r=gw,lsalzman
The bug doesn't affect every user. It at least affects fedora users running freetype 2.10.2 with the system font Cantarell regular. If FT_Get_Var_Design_Coordinates isn't called on the original FT_Face before FT_Set_Var_Design_Coordinates is called, the new font face with variations gets into an invalid state, causing FT_Load_Glyph to fail with the Invalid font error (0x3). FT_Get_Var_Design_Coordinates was not called on the parent/gpu process because it is done on a face built from the same font on the content process. The workaround is to call it and ignore the result.

Differential Revision: https://phabricator.services.mozilla.com/D91306
2020-09-25 08:58:56 +00:00
Csoregi Natalia
035dfdea2b Backed out changeset 66c2fb744703 (bug 1656689) for causing Bug 1667275. CLOSED TREE 2020-09-25 12:24:03 +03:00
Peter Van der Beken
b14a77101d Bug 1666881 - Make fission.sessionHistoryInParent require a restart when switching. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D91260
2020-09-25 09:03:58 +00:00
Julian Descottes
956cce1717 Bug 1667323 - [marionette] Use contentWindow instead of custom content getter in MarionetteFrameChild.jsm r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D91394
2020-09-25 09:02:31 +00:00
Julian Descottes
a1058a488f Bug 1662479 - [marionette] Port WebDriver:GetPageSource to JSWindowActor r=marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D91352
2020-09-25 08:36:24 +00:00
Valentin Gosu
fbeb1d188a Bug 1667085 - Move SendHello out of Http2Session constructor r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91276
2020-09-25 07:56:50 +00:00
Mirko Brodesser
6726171836 Bug 1649121: part 95) Update ElementInfo's documentation. r=m_kato
Helps understanding the members.

Differential Revision: https://phabricator.services.mozilla.com/D91145
2020-09-24 17:10:48 +00:00
Lars T Hansen
3648bc9ef3 Bug 1663327 - Fix emulation of tbl instruction. r=jseward
The emulation must use a temporary register to avoid clobbering the
output register early.

Differential Revision: https://phabricator.services.mozilla.com/D90739
2020-09-21 08:59:15 +00:00