Commit Graph

671721 Commits

Author SHA1 Message Date
Kris Maglione
1dbc79d0c5 Bug 1553804: Part 1 - Don't allow opening content windows with chrome openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45326

--HG--
extra : source : 1ed250faeb2e8a83167f2d8358a6dc4a396ead78
2019-09-20 04:43:37 +00:00
Jorg K
71480656cd Bug 1582086 - disable test_json_cache_{good|broken}.js for Thunderbird. r=standard8 2019-09-20 14:30:29 +03:00
Andreea Pavel
e18057a961 Merge mozilla-inbound to mozilla-central. a=merge 2019-09-20 12:48:30 +03:00
Andreea Pavel
8923abebee Merge autoland to mozilla-central. a=merge 2019-09-20 12:45:02 +03:00
Daniel Varga
f0411a344a Backed out 6 changesets (bug 1553804) for browser-chrome failure at browser/base/content/test/general/browser_fullscreen-window-open.js. On a CLOSED TREE
Backed out changeset 86b3d469b4ff (bug 1553804)
Backed out changeset 301e0d883a5f (bug 1553804)
Backed out changeset acff4a663671 (bug 1553804)
Backed out changeset 1574aecf3177 (bug 1553804)
Backed out changeset 3acf056e792e (bug 1553804)
Backed out changeset 1ed250faeb2e (bug 1553804)
2019-09-20 10:09:54 +03:00
Emilio Cobos Álvarez
b427bb0b08 No bug - Remove a silly LOG_ENABLED() check.
LOG() already checks that.

MANUAL PUSH: trivial
2019-09-20 15:36:22 +09:00
Emilio Cobos Álvarez
98014b07a8 Bug 1582617 - Split up assertions in browser_multiselect_tabs_mute_unmute.js. r=alwu
I have to debug this test and some of these are failing. It'd be good to know
which one of these fail separately.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 05:17:55 +00:00
Mihai Alexandru Michis
7b434cc2d3 Merge autoland to mozilla-central. a=merge 2019-09-20 06:54:59 +03:00
Bogdan Tara
ecffbb2d40 Backed out changeset 6c464eede88a (bug 1405031) for browser_ext_pageAction_click_types.js failures CLOSED TREE 2019-09-20 01:03:17 +03:00
Edouard Oger
3017be71f8 Bug 1582537 - Call getScopedKeys on keys field. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46509

--HG--
extra : moz-landing-system : lando
2019-09-19 19:28:48 +00:00
Kris Maglione
ee31fee500 Bug 1582523: Part 2 - Update tests which rely on OOP frames blocking load. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46504

MANUAL PUSH: Still cannot update reopened Phabricator revisions.

--HG--
extra : source : 2e8fcb1718611e8ce81e7c83fb480d664000c2cc
extra : histedit_source : 29005a64bf92828ed472f378d36feff98d3d3a9f
2019-09-19 11:50:45 -07:00
Kris Maglione
847fce5501 Bug 1582523: Part 1 - Actually block document load event during OOP frame loads. r=nika
This fixes both our failure to register load blockers for remote frames and
our failure to keep the load event blocked during frameloader rebuilding on
remoteness change.

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

--HG--
extra : source : dff7756afe8ede1e03d775ec4999d4807d82c1da
extra : histedit_source : b02eae2b652683ef17be3e0ff6a908b4bec311f5%2Cc62c8e5e4ca066f8f526a81a9aae0feeb84326a5
2019-09-19 11:45:36 -07:00
Mihai Alexandru Michis
2d75ac3563 Backed out changeset 918818623794 (bug 1582230) as requested by kashav. a=backout 2019-09-19 21:41:17 +03:00
Kris Maglione
5092322d3b Bug 1580355: Run findWithName checks in the correct process and update to expect access checks. r=farre
BrowsingContext.findWithName is required to do access checks based on the
requestor, which can only be done in the process which owns it. This change
also alters the behavior of the existing CanAccess origin checks, which
typically treat any item as same-origin, but only when the docshells are
actually same process.

Removing the exemption fixes the behavior discrepancy between Fission and
non-Fission runs, but also requires that the test be updated to expect proper
access checks. Which is the situation we really want to test, anyway.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 11:33:53 +00:00
Masayuki Nakano
80e547ca49 Bug 1582010 - Make IMEContentObserver always recompute selection range after sending text change notification r=m_kato
`IMEContentObserver` sends selection change notification only when it receives
a DOM `Selection` change notification received.  However, selection range in
plaintext offset may be changed when changing previous content of caret is
changed.  In this case, currently we notify IME of only text change and
that causes IME keep caching selection offsets in previous content.  This
causes IME queries character rect out of bounds.  Therefore, even if
`IMEContentObserver` hasn't received DOM `Selection` change notification,
it should recompute selection range and if it's changed, it should notify
IME of selection change too.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 08:54:04 +00:00
Henri Sivonen
4866595f52 Bug 1582050 - Test bug 1561567 JS_EncodeStringToUTF8BufferPartial without DOM code. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D46131

--HG--
extra : moz-landing-system : lando
2019-09-19 14:42:36 +00:00
Andreea Pavel
e7cf747b38 Bug 1580771 - Set test_main.html to always fail on fission r=neha
Differential Revision: https://phabricator.services.mozilla.com/D46278

--HG--
extra : moz-landing-system : lando
2019-09-19 13:26:22 +00:00
Andreea Pavel
5b9c485d55 Backed out 2 changesets (bug 1582523) for build bustages at ContentChild.cpp on a CLOSED TREE
Backed out changeset 72ca7d054061 (bug 1582523)
Backed out changeset a6c10aa450ba (bug 1582523)
2019-09-20 08:45:25 +03:00
Kris Maglione
afef6a355c Bug 1582523: Part 2 - Update tests which rely on OOP frames blocking load. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46504

--HG--
extra : moz-landing-system : lando
2019-09-19 20:57:51 +00:00
Kris Maglione
0eb9756243 Bug 1582523: Part 1 - Actually block document load event during OOP frame loads. r=nika
This fixes both our failure to register load blockers for remote frames and
our failure to keep the load event blocked during frameloader rebuilding on
remoteness change.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 05:22:05 +00:00
Kris Maglione
136131d397 Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45828

--HG--
extra : moz-landing-system : lando
2019-09-20 04:44:02 +00:00
Kris Maglione
cc8f94a921 Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45656

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:55 +00:00
Kris Maglione
b79b2c3aa0 Bug 1553804: Part 4 - Make some evil tests less evil/failing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45329

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:48 +00:00
Kris Maglione
ee6efe5868 Bug 1553804: Part 3 - Assert we never create chrome BrowsingContexts in/send them to child processes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45328

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:46 +00:00
Kris Maglione
87221e9e7d Bug 1553804: Part 2 - Assert opener BrowsingContext type always matches its own type. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45327

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:39 +00:00
Kris Maglione
ca46ccf748 Bug 1553804: Part 1 - Don't allow opening content windows with chrome openers. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D45326

--HG--
extra : moz-landing-system : lando
2019-09-20 04:43:37 +00:00
Emilio Cobos Álvarez
71d2de346d Bug 1582119 - Enable CSS use counters in use counter test. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D46557

--HG--
extra : moz-landing-system : lando
2019-09-20 04:55:20 +00:00
Emilio Cobos Álvarez
a2f95a081c Bug 1578151 - Factor out the "containing block did not really change" code from CalcStyleDifference. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D44351

--HG--
extra : moz-landing-system : lando
2019-09-20 05:06:49 +00:00
Emilio Cobos Álvarez
732d7a819b Bug 1582627 - Always serialize aspect-ratio and font shorthand with spaces around the slash. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D46568

--HG--
extra : moz-landing-system : lando
2019-09-20 05:02:57 +00:00
Hiroyuki Ikezoe
42cf2e1cb4 Bug 1581974 - Change DOMIntersectionObserver::Update to use the BrowsingContext parent chain. r=jwatt
Using the BrowsingUsing parent chain is able to avoid 1) obtaining a wrong
root in cross-process documents and also avoid 2) not being able to obtain
the proper root in same-origin documents in the case where there is a
cross-process document in between the top level document and the same-origin
documents.

dom/base/test/test_intersectionobservers.html is a test of case 1).
testing/web-platform/tests/intersection-observer/same-origin-grand-child-iframe.sub.html
is a test case of case 2).

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

--HG--
extra : moz-landing-system : lando
2019-09-20 04:59:56 +00:00
Julian Descottes
03ded7257a Bug 1581525 - Force hover state in debugger preview test for DAMP and stop forcing devtools.testing r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D46507

--HG--
extra : moz-landing-system : lando
2019-09-20 04:49:49 +00:00
Julian Descottes
cfdc2143fe Bug 1565858 - aboutdebugging sidebar test should use longer timings in debug builds r=daisuke
When running in debug builds, the test will use the default timings instead of the faster ones.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 01:06:51 +00:00
Olli Pettay
5a966fa06e Bug 1518410, try to make browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js fail a bit less likely, r=Ehsan
There is still another related bug 1579591, which this may make a bit less likely, since that seems to be timing dependent, but
the patch is not trying to fix that.

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

--HG--
extra : moz-landing-system : lando
2019-09-19 14:29:09 +00:00
Bogdan Tara
bee28f01d7 Backed out 8 changesets (bug 1575744) for HttpChannelParent related assertion failures
Backed out changeset af61675dd488 (bug 1575744)
Backed out changeset bf794b9373c8 (bug 1575744)
Backed out changeset 39ffb74d2e12 (bug 1575744)
Backed out changeset c1547b3df672 (bug 1575744)
Backed out changeset 382ee8672027 (bug 1575744)
Backed out changeset 5abb38484f11 (bug 1575744)
Backed out changeset d5244c1bbfe8 (bug 1575744)
Backed out changeset c74b81debf73 (bug 1575744)

--HG--
rename : netwerk/base/nsIProcessSwitchRequestor.idl => netwerk/base/nsICrossProcessSwitchChannel.idl
2019-09-20 06:58:44 +03:00
Mark Hammond
7531325c86 Bug 1582023 - Replace "sync disconnect" dialog and local data removal with simple confirmation dialog. r=eoger,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D46253

--HG--
extra : moz-landing-system : lando
2019-09-19 05:59:51 +00:00
Andrew Halberstadt
885bdd32e7 Bug 1580280 - [lint] Support Python 3 in other lint integrations r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D45440

--HG--
extra : moz-landing-system : lando
2019-09-18 21:11:02 +00:00
Andrew Halberstadt
795035dba3 Bug 1580280 - [lint] Support Python 3 in the wpt integration r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D45439

--HG--
extra : moz-landing-system : lando
2019-09-19 00:34:48 +00:00
championshuttler
36dcc34bfa Bug 1428710 - Update the classifiers for Python 3.5. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46512

--HG--
extra : moz-landing-system : lando
2019-09-19 19:45:22 +00:00
Gurzau Raul
5589deded8 Backed out changeset 4ce6c9d4041a (bug 1575706) for failing at browser_duplicateIDs.js on a CLOSED TREE. 2019-09-20 00:54:38 +03:00
Gurzau Raul
0530f2a9b1 Backed out changeset 4827f64f1e18 (bug 1581958) for failing at browser_misused_characters_in_strings.js on a CLOSED TREE. 2019-09-20 00:52:40 +03:00
Ehsan Akhgari
2ddf78a5cc Bug 1582053 - Disable the remote settings server in web extension xpcshell tests; CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D46498

--HG--
extra : amend_source : a456ec710ac119e77e215aa2a753795f29f5d3e6
2019-09-19 23:48:50 +03:00
Mihai Alexandru Michis
dd37913d63 Backed out changeset 7679a5956540 (bug 1582053) for landing the wrong diff. CLOSED TREE 2019-09-20 00:03:15 +03:00
Gerald Squelart
1549c7e36e Bug 1582357 - Allow profiler entries up to the size of the buffer - r=gregtatum
In some situations, entries may in fact take more than half the buffer size
(e.g., when duplicating a stack into a small temporary buffer).
So we now allow blocks to take the full buffer size -- but not more, as they
would start overwriting themselves!

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

--HG--
extra : moz-landing-system : lando
2019-09-19 13:40:01 +00:00
Ehsan Akhgari
1065dbec68 Bug 1582053 - Disable the remote settings server in web extension xpcshell tests; r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46498

--HG--
extra : moz-landing-system : lando
2019-09-19 18:01:31 +00:00
Vijay Budhram
35c8f2a5ea Bug 1575706 - Add account sub menu to fxa toolbar menu r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D45725

--HG--
extra : moz-landing-system : lando
2019-09-19 19:27:02 +00:00
Alexander Surkov
9b73536b9c Bug 1555497 - allow shadow DOM in content process for XUL elements to make possible running chrome UI in content process needed for wpt tests r=emilio
* wpt runs chrome priv for a subset of tests (mostly things testing toolkit chrome stuff), but it's still in the content process
* we only ever hit this case if the test is explicitly loaded as chrome. originally added for a couple osx tests at https://bugzilla.mozilla.org/show_bug.cgi?id=1465457. then expanded for all xul tests at https://bugzilla.mozilla.org/show_bug.cgi?id=1557371
* so what we used to do here is run xul/xbl in the content process (not chrome priv)
* the change here is that with our chrome Custom Elements we need to run with chrome priv for https://searchfox.org/mozilla-central/rev/4218cb868d8deed13e902718ba2595d85e12b86b/toolkit/components/processsingleton/CustomElementsListener.jsm#16 to load the elements
* so we made it explicit. the alternative at the time was to change wpt harness to load these tests in parent process, but it was too complex for what we needed (discussed with dbaron)
* this parentprocess check was meant kind of as an optimization so that we wouldn't have to check priv on random pages. but (a) that's short circuited anyway by the xul elem check and (b) this is only called when attachShadow is called on a non-html element so not in any kind of hot path

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

--HG--
extra : moz-landing-system : lando
2019-09-19 11:19:22 +00:00
Jared Wein
daeea469fc Bug 1570937 - Disable the sort select when there are no visible logins in the list. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D46474

--HG--
extra : moz-landing-system : lando
2019-09-19 17:21:32 +00:00
Jared Wein
79f0725ce8 Bug 1579482 - Header should use --in-content-page-background. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D46346

--HG--
extra : moz-landing-system : lando
2019-09-19 17:47:48 +00:00
Jared Wein
36fe930baf Bug 1579180 - Adjust the logged-out-view of the FxA button to match the spec. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D46343

--HG--
extra : moz-landing-system : lando
2019-09-19 17:49:14 +00:00
Chris H-C
3c3ec8555c Bug 1579752 - Add a testing pref to override Telemetry's products check r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D46458

--HG--
extra : moz-landing-system : lando
2019-09-19 13:57:26 +00:00