701780 Commits

Author SHA1 Message Date
Iain Ireland
8dad7c3e77 Bug 1628835: Unify result enum r=tcampbell
Internally, irregexp uses -1 for errors, 0 for failure, and 1 for success. We have to use the same values in RegExpRunStatus.

Ideally we would replace RegExpRunStatus with an enum defined in RegExpTypes.h, but that will have to wait until we get rid of the old import.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:08:25 +00:00
Iain Ireland
454a5e1d1b Bug 1628835: Add interpreter support r=tcampbell
The irregexp compiler takes the AST produced by the parser, compiles it down to a more efficient internal representation, then uses a 'macroassembler' to generate code. The generated code can either be bytecode (which is then fed into the interpreter) or jitcode (which can be executed directly).

This patch gets the infrastructure set up and handles the former case.

CompilePattern is based heavily on V8's `RegExpImpl::compile` (affc364620/src/regexp/regexp.cc (L745-L933)). I am upstreaming a patch to move the code in WrapBody into regexp-compiler.cc where it fits better.

V8 is about to land a patch to tweak the API for Interpret so that it allocates memory for its registers internally instead of requiring it to be passed in. When we import this change, we'll be able to pass `matches->pairsRaw()` directly into `MatchForCallFromRuntime`, and the interpreter will fill it in for us.

In the old engine, we could handle interrupts in the middle of the interpreter. If we hit an urgent interrupt in compiled code, we would generate bytecode and fall back to the interpreter (see https://searchfox.org/mozilla-central/rev/9120151ddb35f2d4c37bfe613a54a4f10a9a3dc5/js/src/vm/RegExpObject.cpp#1165-1175). (This is what all the `ForceByteCode` machinery in RegExpObject.cpp is about. It was added in bug 1077514.) That won't work in the new version. V8 does allow interrupts during regexp execution, but only by jumping through some scary hoops to "manually relocate unhandlified references" afterwards. Instead, we just retry the regexp. I have no idea what a reasonable number of retries is before giving up; I've arbitrarily picked 4 for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:08:25 +00:00
Iain Ireland
5748dca264 Bug 1628835: Use RegExpShared in JSRegExp r=tcampbell
In preparation for actually compiling regexps in the next patch, hook up the V8 and irregexp representations of a compiled regexp.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:08:24 +00:00
Iain Ireland
54ca602cfd Bug 1628835: Change parenCount to pairCount r=tcampbell
A regexp with N sets of capturing parens will have N+1 capture groups, with the extra capture containing the entire matching string. Our old implementation stored `parenCount` in the RegExpShared and then added 1 to it whenever it was used. A much simpler answer is to just add 1 when initializing the regexp.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:08:24 +00:00
Drew Willcoxon
1736e700e0 Bug 1628926 - Remove the browser.urlbar.oneOffSearches pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70921

--HG--
extra : moz-landing-system : lando
2020-04-15 08:56:16 +00:00
sefeng
0324d16f3c Bug 1613507 - [geckodriver] Don't set speculative-parallel-limit to 0 but leave it on its default value. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71071

--HG--
extra : moz-landing-system : lando
2020-04-15 21:36:08 +00:00
Ting-Yu Lin
7323697f18 Bug 1625362 Part 3 - Extract grid container's PushIncompleteChildren logic, and move it to nsContainerFrame. r=mats
I left all the bits that related to grid container, such as setting
aStatus, NS_STATE_GRID_DID_PUSH_ITEMS, and aState.mIter in
nsGridContainerFrame::ReflowRowsInFragmentainer().

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:31:35 +00:00
Ting-Yu Lin
a2e0d00564 Bug 1625362 Part 2 - Move some helpers manipulating overflow lists from nsGridContainerFrame to nsContainerFrame. r=mats
We can utilize these helpers to implement flex item fragmentation.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:31:33 +00:00
Ting-Yu Lin
97c3b1d8cb Bug 1625362 Part 1 - Move ReparentFrame and ReparentFrames into nsContainerFrame. r=mats
We have duplicated ReparentFrame and ReparentFrames define in both
nsBlockFrame and nsGridContainerFrame. We should move them into
nsContainerFrame.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:31:25 +00:00
Tim Nguyen
072d80ee18 Bug 1630201 - Merge browser/themes/shared/preferences and browser/themes/shared/incontentprefs. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D71020

--HG--
rename : browser/themes/shared/incontentprefs/bookmark.svg => browser/themes/shared/preferences/bookmark.svg
rename : browser/themes/shared/incontentprefs/containers.css => browser/themes/shared/preferences/containers.css
rename : browser/themes/shared/incontentprefs/critters-postcard.jpg => browser/themes/shared/preferences/critters-postcard.jpg
rename : browser/themes/shared/incontentprefs/dialog.inc.css => browser/themes/shared/preferences/dialog.inc.css
rename : browser/themes/shared/incontentprefs/extensions.svg => browser/themes/shared/preferences/extensions.svg
rename : browser/themes/shared/incontentprefs/face-sad.svg => browser/themes/shared/preferences/face-sad.svg
rename : browser/themes/shared/incontentprefs/face-smile.svg => browser/themes/shared/preferences/face-smile.svg
rename : browser/themes/shared/incontentprefs/formfill.svg => browser/themes/shared/preferences/formfill.svg
rename : browser/themes/shared/incontentprefs/fxaPairDevice.css => browser/themes/shared/preferences/fxaPairDevice.css
rename : browser/themes/shared/incontentprefs/general.svg => browser/themes/shared/preferences/general.svg
rename : browser/themes/shared/incontentprefs/history.svg => browser/themes/shared/preferences/history.svg
rename : browser/themes/shared/incontentprefs/no-search-bar.svg => browser/themes/shared/preferences/no-search-bar.svg
rename : browser/themes/shared/incontentprefs/no-search-results.svg => browser/themes/shared/preferences/no-search-results.svg
rename : browser/themes/shared/incontentprefs/preferences.inc.css => browser/themes/shared/preferences/preferences.inc.css
rename : browser/themes/shared/incontentprefs/preferences.svg => browser/themes/shared/preferences/preferences.svg
rename : browser/themes/shared/incontentprefs/privacy-security.svg => browser/themes/shared/preferences/privacy-security.svg
rename : browser/themes/shared/incontentprefs/privacy.css => browser/themes/shared/preferences/privacy.css
rename : browser/themes/shared/incontentprefs/search-arrow-indicator.svg => browser/themes/shared/preferences/search-arrow-indicator.svg
rename : browser/themes/shared/incontentprefs/search-bar.svg => browser/themes/shared/preferences/search-bar.svg
rename : browser/themes/shared/incontentprefs/search.css => browser/themes/shared/preferences/search.css
rename : browser/themes/shared/incontentprefs/search.svg => browser/themes/shared/preferences/search.svg
rename : browser/themes/shared/incontentprefs/siteDataSettings.css => browser/themes/shared/preferences/siteDataSettings.css
rename : browser/themes/shared/incontentprefs/sync.svg => browser/themes/shared/preferences/sync.svg
rename : browser/themes/shared/incontentprefs/tab.svg => browser/themes/shared/preferences/tab.svg
extra : moz-landing-system : lando
2020-04-15 20:41:37 +00:00
Tim Nguyen
4c24f1af4a Bug 1630201 - Rename browser/themes/shared/preferences/containers.css to browser/themes/shared/preferences/containers-dialog.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D71019

--HG--
rename : browser/themes/shared/preferences/containers.css => browser/themes/shared/preferences/containers-dialog.css
extra : moz-landing-system : lando
2020-04-15 20:32:30 +00:00
Emilio Cobos Álvarez
f9bd47e44b Bug 1626586 - Make history notifications do a bit less work. r=mak,lina,agi,snorp
And batch them when notifying child processes.

This makes RegisterVisitedQuery potentially notify synchronously, but changes
the code to deal with it properly.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:19:41 +00:00
Csoregi Natalia
099f1d6a99 Backed out changeset 130dadf64e30 (bug 658544) for failures on test_PlacesDBUtils_removeOldCorruptDBs.js. CLOSED TREE 2020-04-16 00:34:55 +03:00
Csoregi Natalia
de8e762887 Backed out 7 changesets (bug 1625615) for multiple failures e.g. /test_windowedhistoryframes.html. CLOSED TREE
Backed out changeset f239d24658c9 (bug 1625615)
Backed out changeset acea7c78db20 (bug 1625615)
Backed out changeset d709f5a72c35 (bug 1625615)
Backed out changeset 4cd231b1f3fb (bug 1625615)
Backed out changeset 45942c8dc380 (bug 1625615)
Backed out changeset 3f03a8703a8a (bug 1625615)
Backed out changeset e9299fc48796 (bug 1625615)
2020-04-16 00:32:16 +03:00
Kartikaya Gupta
731e0c0820 Bug 1627362 - Improve logging for fixed/sticky data on the WR codepath. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D70912

--HG--
extra : moz-landing-system : lando
2020-04-15 20:01:05 +00:00
Kartikaya Gupta
96ccdc9b83 Bug 1627362 - Fix WR codepath. r=botond
This patch just ensures the changes in the previous patches get applied
to the WR codepath, and is sufficient to make all the remaining sticky
tests pass on Android+WR.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:05:26 +00:00
Kartikaya Gupta
bbdeafdcdb Bug 1627362 - Properly support items stuck to both bottom and top. r=botond
The semantics of sticky items are somewhat different from the semantics of
fixed items. For fixed items, if an item is fixed to eTop or eBottom or
eTopBottom, it is *always* fixed to those sides. For sticky items, however,
the sides actively stuck to are dependent on the scroll position. So we need
a mechanism to dynamically figure out which sides are stuck, and use those
sides when computing the fixed margins to apply. This patch implements that
by modifying the IsStuckToRootContentAtBottom method into a
SidesStuckToRootContent method.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:05:12 +00:00
Kartikaya Gupta
952f78e233 Bug 1627362 - Rewrite IsStuckAtBottom to be simpler and clearer. r=botond
I couldn't understand what it was doing before, but conceptually it should
be pretty simple.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 21:04:56 +00:00
Kartikaya Gupta
62383abdc6 Bug 1627362 - Allow calling fixed/sticky helpers with (Fixed|Sticky)PositionInfo. r=botond
This sets us up to be able to use these helper methods on WR sampling codepath.

Depends on D70907

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:15:44 +00:00
Kartikaya Gupta
41034c6ca7 Bug 1627362 - Have (Fixed|Sticky)PositionInfo take a HTTN in the constructor. r=botond
This will make future patches simpler, as we can now create these info objects
more easily for the non-WR codepath as well.

Depends on D70906

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:14:12 +00:00
Kartikaya Gupta
483cd1925d Bug 1627362 - Remove the tree lock requirement for a couple of functions. r=botond
We can use the map lock to do a lookup in mApzcMap, instead of requiring the
tree lock to call GetTargetAPZC.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:11:31 +00:00
Joel Maher
44d75609bc Bug 1608388 - Reduce MingW32 builds/tests to be run on m-c only. r=bc
Differential Revision: https://phabricator.services.mozilla.com/D71085

--HG--
extra : moz-landing-system : lando
2020-04-15 20:51:18 +00:00
Gijs Kruitbosch
af2df0c8a7 Bug 1614795 - use the background task queue for startupcache writes, r=dthayer,decoder
Prior to this patch, the startupcache created its own mWriteThread off which it
wrote to disk. It's initialized by MaybeSpawnWriteThread, which got called
at shutdown, to do the shutdown write if there was any reason to do so, and
from a timer that is re-initialized after every addition to the startup cache,
to run 60s after the last change to the cache.

It then joined that write thread on the main thread (in other words, blocks
on that off-main-thread write completing from the main thread) when:
- xpcom-shutdown fired
- the startupcache itself gets destroyed
- someone calls any of:
  * HasEntry
  * GetBuffer
  * PutBuffer
  * InvalidateCache

This patch removes the separate write thread, and instead dispatches a task to
the background task queue, indicating it can block. The task is started in
the same circumstances where we previously used to write (timer from the last
PutBuffer call, and shutdown if necessary).

To ensure it cannot be trying to use the data it writes out (mTable) from
the other thread while that data changes on the main thread, we use a mutex.
The task locks the mutex before starting, and unlocks when finished.
Enumerating the cases that we used to block on joining the thread:

In terms of application shutdown, we expect the background task queue to
either finish the write task, or fail to run it if it hasn't started it yet.
In the FastStartup case, we check if a write was necessary; if so, we
attempt to gain the lock without waiting. If we're successful, the write has
not yet started, and we instead run the write on the main thread. Otherwise,
we retry gaining the lock, blocking this time, thus guaranteeing the
off-the-main-thread write completes.

The task keeps a reference to the startupcache object, so it cannot be
destroyed while the task is pending.

Because the write does not modify `mTable`, and neither does `HasEntry`,
we do not need to do anything there.

In the `GetBuffer` case, we do not modify the table unless we have to read
the entry off disk (memmapped into `mCacheData`). This can only happen if
`mCacheData.initialized()` returns true, and we specifically call
`mCacheData.reset()` before firing off the write task to avoid this.
`mCacheData` is only re-initialized if someone calls `LoadArchive()`,
which can only happen from `Init()` (which is guaranteed not to run
again because this is a singleton), or `InvalidateCache()`, where we lock
the mutex (see below). So this is safe - but we assert on the lock to try
and avoid people breaking this chain of assumptions in the future.

When `PutBuffer` is called, we try to lock the mutex - but if locking fails
(ie the background thread is writing), we simply fail to store the entry
in the startupcache. In practice, this should be rare - it'd happen if
new calls to PutBuffer happen while writing during shutdown (when really,
we don't care) or when it's been 60 seconds since the last PutBuffer so
we started writing the startupcache.

When InvalidateCache is called, we lock the mutex - we shouldn't try to
write while invalidating, or invalidate while writing. This may be slow,
but in practice nothing should call `InvalidateCache` except developer
restarts or the `-purgecaches` commandline flag, so it shouldn't
matter a great deal.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:43:44 +00:00
jayati
c758dad718 Bug 658544 - Add support for cleanup of profile folder. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70644

--HG--
extra : moz-landing-system : lando
2020-04-15 20:38:49 +00:00
Gregory Mierzwinski
7870c996a2 Bug 1628158 - Integrate perftest-notebook into mozperftest. r=tarek
This patch integrates the majority of the mach-perftest-notebook project from the github project to the in-tree mozperftest package/tool. Certain portions of it are disabled in this integration (posting to iodide, and transform searching).

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:24:36 +00:00
Csoregi Natalia
fef701cb35 Backed out 2 changesets (bug 1630201) for bustages due to containers.css. CLOSED TREE
Backed out changeset 05d18c70a0bd (bug 1630201)
Backed out changeset 60f42302b5d5 (bug 1630201)

--HG--
rename : browser/themes/shared/preferences/bookmark.svg => browser/themes/shared/incontentprefs/bookmark.svg
rename : browser/themes/shared/preferences/critters-postcard.jpg => browser/themes/shared/incontentprefs/critters-postcard.jpg
rename : browser/themes/shared/preferences/dialog.inc.css => browser/themes/shared/incontentprefs/dialog.inc.css
rename : browser/themes/shared/preferences/extensions.svg => browser/themes/shared/incontentprefs/extensions.svg
rename : browser/themes/shared/preferences/face-sad.svg => browser/themes/shared/incontentprefs/face-sad.svg
rename : browser/themes/shared/preferences/face-smile.svg => browser/themes/shared/incontentprefs/face-smile.svg
rename : browser/themes/shared/preferences/formfill.svg => browser/themes/shared/incontentprefs/formfill.svg
rename : browser/themes/shared/preferences/fxaPairDevice.css => browser/themes/shared/incontentprefs/fxaPairDevice.css
rename : browser/themes/shared/preferences/general.svg => browser/themes/shared/incontentprefs/general.svg
rename : browser/themes/shared/preferences/history.svg => browser/themes/shared/incontentprefs/history.svg
rename : browser/themes/shared/preferences/no-search-bar.svg => browser/themes/shared/incontentprefs/no-search-bar.svg
rename : browser/themes/shared/preferences/no-search-results.svg => browser/themes/shared/incontentprefs/no-search-results.svg
rename : browser/themes/shared/preferences/preferences.inc.css => browser/themes/shared/incontentprefs/preferences.inc.css
rename : browser/themes/shared/preferences/preferences.svg => browser/themes/shared/incontentprefs/preferences.svg
rename : browser/themes/shared/preferences/privacy-security.svg => browser/themes/shared/incontentprefs/privacy-security.svg
rename : browser/themes/shared/preferences/privacy.css => browser/themes/shared/incontentprefs/privacy.css
rename : browser/themes/shared/preferences/search-arrow-indicator.svg => browser/themes/shared/incontentprefs/search-arrow-indicator.svg
rename : browser/themes/shared/preferences/search-bar.svg => browser/themes/shared/incontentprefs/search-bar.svg
rename : browser/themes/shared/preferences/search.css => browser/themes/shared/incontentprefs/search.css
rename : browser/themes/shared/preferences/search.svg => browser/themes/shared/incontentprefs/search.svg
rename : browser/themes/shared/preferences/siteDataSettings.css => browser/themes/shared/incontentprefs/siteDataSettings.css
rename : browser/themes/shared/preferences/sync.svg => browser/themes/shared/incontentprefs/sync.svg
rename : browser/themes/shared/preferences/tab.svg => browser/themes/shared/incontentprefs/tab.svg
rename : browser/themes/shared/preferences/containers-dialog.css => browser/themes/shared/preferences/containers.css
2020-04-15 23:28:06 +03:00
jayati
5f4804e62f Bug 1485193 - Link with documentation in about:policies. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D69386

--HG--
extra : moz-landing-system : lando
2020-04-15 20:17:05 +00:00
Dzmitry Malyshau
f9d8b44745 Bug 1630316 - Deallocate WebGPU shmems r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D71079

--HG--
extra : moz-landing-system : lando
2020-04-15 19:58:08 +00:00
alwu
9abe89daea Bug 1625615 - part6 : add test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D69675

--HG--
extra : moz-landing-system : lando
2020-04-06 21:42:36 +00:00
alwu
3313825099 Bug 1625615 - part5 : add test-only attribute and event for media element. r=bryce,emilio
Differential Revision: https://phabricator.services.mozilla.com/D69674

--HG--
extra : moz-landing-system : lando
2020-04-15 20:14:14 +00:00
alwu
1702ad395a Bug 1625615 - part4 : start listener if we haven't started listener yet. r=bryce
There is actually possible to start the listener already while running `SuspendOrResumeElement()`, so we should remove the assertion and use a check instead.

Eg.  JS can call `play()`, which would start the listener, before we run this method. This situation can be found when browsing Youtube on the GeckoView.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 17:51:15 +00:00
alwu
7d557acf89 Bug 1625615 - part3 : prevent media starting playing when inactive docshell wants to suspend any media. r=bryce
When the docShell's `SuspendMediaWhenInactive` flag is true, no media should be allowed to start playing. Therefore, we add a check in `Play()`, `CanActivateAutoplay()` to prevent media from playing. In addition, we should also prevent the audio channel agant from starting.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 21:36:40 +00:00
alwu
19c4e866db Bug 1625615 - part2 : suspend or resume media element according to docShell's SuspendMediaWhenInactive r=bryce
If docShell's `SuspendMediaWhenInactive` is true, then we should suspend or resume the media element according to the docshell active state when the docshell changes it active state.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 22:30:10 +00:00
alwu
a9d2260712 Bug 1625615 - part1 : update 'suspendMediaWhenInactive' when GeckoView setting changes r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D69884

--HG--
extra : moz-landing-system : lando
2020-04-07 13:55:30 +00:00
alwu
4634c817c4 Bug 1625615 - part0 : create and set the flag suspendMediaWhenInactive on docShell. r=baku,farre
Implemecurnt a flag `suspendMediaWhenInactive` on the docShell that indicates media in that shell should be suspended when the shell is inactive. Currently, only GeckoView is using this flag.

---

The reason of implementing this flag is because in bug1577890 we remove the old way to suspend/resume the media, and I thought setting docshell to inactive is enough to suspend the media because we already have a mechanism which would suspend/resume media when document becomes inactive/active [1].

However, the active state of document is actually different from what I thought it was. Setting docshell to inactive won't change the document's active state, because that indicates if the document is the current active document for the docshell [2] (docshell can have multiple documents), instead of indicating if the docshell is active or not.

Therefore, we have to add another flag to indicate if the docshell wants to suspend its media when it's inactive, in order to use current mechanism to suspend/resume media.

[1] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/html/HTMLMediaElement.cpp#6453
[2] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/base/Document.h#2627-2633

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:13:29 +00:00
Chris Martin
6590a743a5 Bug 1347710 - Enable sandbox protections for the Windows GPU process r=bobowen
It seems that all the warnings caused by the GPU sandbox have been fixed, and
the transparent window issue was resolved in D61370.

Hopefully there are no further complications and this can stay landed.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:08:29 +00:00
Tim Nguyen
cd2283165d Bug 1630201 - Merge browser/themes/shared/preferences and browser/themes/shared/incontentprefs. r=jaws
Depends on D71019

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

--HG--
rename : browser/themes/shared/incontentprefs/bookmark.svg => browser/themes/shared/preferences/bookmark.svg
rename : browser/themes/shared/incontentprefs/critters-postcard.jpg => browser/themes/shared/preferences/critters-postcard.jpg
rename : browser/themes/shared/incontentprefs/dialog.inc.css => browser/themes/shared/preferences/dialog.inc.css
rename : browser/themes/shared/incontentprefs/extensions.svg => browser/themes/shared/preferences/extensions.svg
rename : browser/themes/shared/incontentprefs/face-sad.svg => browser/themes/shared/preferences/face-sad.svg
rename : browser/themes/shared/incontentprefs/face-smile.svg => browser/themes/shared/preferences/face-smile.svg
rename : browser/themes/shared/incontentprefs/formfill.svg => browser/themes/shared/preferences/formfill.svg
rename : browser/themes/shared/incontentprefs/fxaPairDevice.css => browser/themes/shared/preferences/fxaPairDevice.css
rename : browser/themes/shared/incontentprefs/general.svg => browser/themes/shared/preferences/general.svg
rename : browser/themes/shared/incontentprefs/history.svg => browser/themes/shared/preferences/history.svg
rename : browser/themes/shared/incontentprefs/no-search-bar.svg => browser/themes/shared/preferences/no-search-bar.svg
rename : browser/themes/shared/incontentprefs/no-search-results.svg => browser/themes/shared/preferences/no-search-results.svg
rename : browser/themes/shared/incontentprefs/preferences.inc.css => browser/themes/shared/preferences/preferences.inc.css
rename : browser/themes/shared/incontentprefs/preferences.svg => browser/themes/shared/preferences/preferences.svg
rename : browser/themes/shared/incontentprefs/privacy-security.svg => browser/themes/shared/preferences/privacy-security.svg
rename : browser/themes/shared/incontentprefs/privacy.css => browser/themes/shared/preferences/privacy.css
rename : browser/themes/shared/incontentprefs/search-arrow-indicator.svg => browser/themes/shared/preferences/search-arrow-indicator.svg
rename : browser/themes/shared/incontentprefs/search-bar.svg => browser/themes/shared/preferences/search-bar.svg
rename : browser/themes/shared/incontentprefs/search.css => browser/themes/shared/preferences/search.css
rename : browser/themes/shared/incontentprefs/search.svg => browser/themes/shared/preferences/search.svg
rename : browser/themes/shared/incontentprefs/siteDataSettings.css => browser/themes/shared/preferences/siteDataSettings.css
rename : browser/themes/shared/incontentprefs/sync.svg => browser/themes/shared/preferences/sync.svg
rename : browser/themes/shared/incontentprefs/tab.svg => browser/themes/shared/preferences/tab.svg
extra : moz-landing-system : lando
2020-04-15 19:59:46 +00:00
Tim Nguyen
13e00979cf Bug 1630201 - Rename browser/themes/shared/preferences/containers.css to browser/themes/shared/preferences/containers-dialog.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D71019

--HG--
rename : browser/themes/shared/preferences/containers.css => browser/themes/shared/preferences/containers-dialog.css
extra : moz-landing-system : lando
2020-04-15 19:58:01 +00:00
Csoregi Natalia
88ee7ff0b3 Backed out 6 changesets (bug 1628835, bug 1629670) for js crashes. CLOSED TREE
Backed out changeset e3c3f27d586a (bug 1629670)
Backed out changeset 6de75c45c46c (bug 1629670)
Backed out changeset 404ab88bafa3 (bug 1628835)
Backed out changeset d462c95e0945 (bug 1628835)
Backed out changeset 7392b332870d (bug 1628835)
Backed out changeset 1bc49605ad10 (bug 1628835)
2020-04-15 23:03:32 +03:00
Andrew Halberstadt
3362e14674 Bug 1625200 - [taskgraph] Pull the 10th push backstop out of SETA, r=tomprince
We'll want some kind of backstop no matter what optimization algorithm we use.
We don't want to go too long without running any given task so we can find
regressions quickly and have a good merge candidate.

This pulls the logic that handles this out of the SETA strategy and into its
own strategy.

This will also make the SETA shadow scheduler more representative of what the
algorithm is doing.

Note in the future we may find ways to make this backstop more efficient (i.e
only run tasks that didn't run in the last 9 pushes for example).

Depends on D68621

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:45:34 +00:00
Andrew Halberstadt
4da4148bd0 Bug 1625200 - [taskgraph] Support 'OptimizationStrategy' instances directly in composite strategies, r=tomprince
This allows to nest strategies without having to register ever intermediate
composite strategy first. For example:

All(Any("skip-unless-schedules", "seta"), "backstop")

Prior to this patch, we'd need to register that 'Any' one first and then use it
in the 'All'.

Depends on D68620

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:44:41 +00:00
Andrew Halberstadt
9068d6134d Bug 1625200 - [taskgraph] Implement an 'All' composite strategy, r=tomprince
I'd like to implement a 'backstop' strategy, such that it will prevent all other
optimizers from removing tasks under certain conditions (e.g every 10th push).

The nicest way to implement this seems to be an 'All' composite strategy
(similar to 'Either' which this patch renames to 'Any'). This means we could
do something like:

All("seta", "backstop")

which means we would only remove tasks if *all* substrategies say to remove
tasks.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 19:44:10 +00:00
Bryce Seager van Dyk
cfe7951ee9 Bug 1617929 - Make a best effort to use extra data found in h264 samples. r=jya,jolin
Prior to this patch if we tried to extract extra data from an h264
sample but then found a partial NAL unit we'd discard the already found extra
data rather than processing it. This is problematic for avc3 streams where
encryption starts during a NAL unit, as even if we'd seen extra data prior to
finding such a partial unit, we'd discard it.

With this patch we will instead process the extra data we've already found in a
best effort attempt. If we get sent avc3 content that encrypts in band extra
data we'll still be in trouble, but I am not sure such content exists at this
stage.

This also changes our handling for non-encrypted streams, where we will now
also try to use any already discovered extra-data.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 17:21:15 +00:00
Bryce Seager van Dyk
ac2b59a821 Bug 1617929 - Remove H264Changemonitor's special encrypted handling. r=jya,jolin
This undoes the changes from bug 1560092. These changes assumed that we couldn't
play encrypted avc3 content as we couldn't read SPS + PPS info from the stream.
However, after some testing I believe the issue is we can try and detect SPS +
PPS data in such streams, but need to better handle the encrypted case.

A following patch will address better handling SPS + PPS data in encrypted
streams.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 17:20:57 +00:00
janelledement
851e55a3df Bug 1580585 - Adds set or get watchpoint option. r=jlast
Adds a set or get watchpoint option.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 17:53:52 +00:00
Jason Laster
a861a4c299 Bug 1624459 - First pause on climatescape.org can take 4secs. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D70124

--HG--
extra : moz-landing-system : lando
2020-04-15 18:03:24 +00:00
Anny Gakhokidze
784636e8b4 Bug 1594529 - Update cookies/samesite/iframe-reload.https.html annotations, r=baku
Differential Revision: https://phabricator.services.mozilla.com/D71075

--HG--
extra : moz-landing-system : lando
2020-04-15 18:52:49 +00:00
Anny Gakhokidze
7c0eb4aad6 Bug 1594529 - Create LoadInfo for subdocuments directly in parent process with DocumentChannel. r=mattwoodrow,nika
Currently, with Fission enabled we are not able to create a proper LoadInfo
object when doing a subdocument load because we do not have access to a loading
context if the load is happening inside of an OOP frame. To solve this problem,
we can create LoadInfo object from scratch in the parent process where we have
all of the required information.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:53:06 +00:00
Kris Maglione
2033e946f0 Bug 1594529: Infer nsDocShell::IsFrame from BrowsingContext. r=nika
This fixes the content policy type for document loads in these frames, where
the explicit mIsFrame flag was not set, due to DocShell creation taking a
different code path in remote frames than in in-process frames.

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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:53:22 +00:00
Jonathan Kingston
b5343020a4 Bug 1594529 - Adding in asserts for LoadURI to ensure we have the correct contentPolicyType, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D70714

--HG--
extra : moz-landing-system : lando
2020-04-15 18:53:22 +00:00