655207 Commits

Author SHA1 Message Date
Kartikaya Gupta
aef7a3eaeb Bug 1550467 - Ensure that listeners in chrome scripts are cleaned up. r=botond,jmaher
Apparently leaving these listeners registered can leak DOM windows
(in some circumstances that I don't fully comprehend) which causes
test failures when running on debug builds. At any rate, unregistering
listeners on cleanup seems like a good thing to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:25 +00:00
Mark Banner
afed87d54e Bug 1557319 - Create a top-level toolkit index for the toolkit documentation. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33962

--HG--
extra : moz-landing-system : lando
2019-06-06 19:54:54 +00:00
Jim Porter
d1a1278982 Bug 1557243 - Fix crash in HangMonitorChild::InterruptCallback; r=smaug
This patch just adds a check to ensure that the BrowserChild from our window
is non-null. The other changes are just reordering some lines and removing a
level of indentation.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:02:38 +00:00
Byron Campen [:bwc]
71d91b1ae5 Bug 1555792: Ensure that the new default values for nightly have no effect on CI. r=ahal
Depends on D33643

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:18:42 +00:00
Byron Campen [:bwc]
8c8f4382af Bug 1555792: Set the socket-process-isolation prefs to true on nightly. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D33643

--HG--
extra : moz-landing-system : lando
2019-06-06 19:15:17 +00:00
Valentin Gosu
48a10d1cfd Bug 1555359 - Treat the ExtensionProtocolHandler as threadsafe r=mayhemer
Since the RESOLVE_JAR_URI flag is not used for moz-extension, ResolveJARURI
would never get called in ExtensionProtocolHandler, so it's OK to consider
it threadsafe.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:15:11 +00:00
Johan Lorenzo
dbd231d551 Bug 1551738 - Add mozilla_esr68_tasks target tasks r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D33971

--HG--
extra : moz-landing-system : lando
2019-06-06 18:48:15 +00:00
Tom Prince
69b16b4d8f Bug 1556488: Don't try to run talos tasks that would not run on the given branch; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D33842

--HG--
extra : moz-landing-system : lando
2019-06-05 22:30:38 +00:00
Charlie Marlow
29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Robert Strong
08ed524d2d Bug 1557452 - Change about:support to open the update history by using the chrome uri instead of using nsIUpdatePrompt. r=bytesized
This is in preparation of removing nsIUpdatePrompt

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:05:03 +00:00
Valentin Gosu
40d01075ce Bug 1556259 - Make sure CaptiveDetect.jsm interprets any redirect as a locked captive portal r=mayhemer
The problem with CaptiveDetect was that it uses an XMLHttpRequest, and
apparently xhr.status is 0 for failed requests, which here includes cert
errors, redirect loops, etc.
Getting the XHR to not follow redirects was tricky, so a hacky fix was to
set nsIHttpChannel.redirectionLimit = 0;
For any redirect the XHR would now fail with NS_ERROR_REDIRECT_LOOP, which
we need to handle separately.

I also included tests for:
  * redirect to https with invalid cert
  * redirect to same URL causing redirect loop
  * redirect to different URL with different content
  * redirect to different URL with canonical content
All of these cases should be detected as locked captive portals.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 12:08:35 +00:00
Wes Kocher
5d1863a650 Bug 1553440 - Disable object-src-url-redirect-blocked.sub.html on geckoview due to frequent failures
Differential Revision: https://phabricator.services.mozilla.com/D34009

--HG--
extra : moz-landing-system : lando
2019-06-06 19:02:43 +00:00
Edwin Gao
1ba21895d2 Bug 1557123 - migrate web-platform-tests and web-platform-test-reftests to osx 10.14. r=egao
migrate web-platform-tests and web-platform-test-reftests to osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:43:08 +00:00
Cameron McCormack
7db6869429 Bug 1490792 - Part 4: Perform OpenType sanitization OMT. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33897

--HG--
extra : moz-landing-system : lando
2019-06-06 19:08:52 +00:00
Cameron McCormack
ffd40c5e51 Bug 1490792 - Part 3: Split some work out of LoadPlatformFont. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33896

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:31 +00:00
Cameron McCormack
e908038f14 Bug 1490792 - Part 2: Make LoadPlatformFont length argument not a reference. r=jfkthame
We don't write to it.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:29 +00:00
Cameron McCormack
2b49153d63 Bug 1490792 - Part 1: Move font type determination into SanitizeOpenTypeData. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33894

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:27 +00:00
Micah Tigley
0b75341190 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-06 19:18:16 +00:00
Robert Strong
b38a2a4d97 Bug 1557478 (xpcshell test only) - Remove overrideUpdatePrompt and related code in xpcshellUtilsAUS.js. r=bytesized
This test helper code is no longer used

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:26:01 +00:00
Bogdan Tara
bde97b25f5 Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Iain Ireland
7c3448ffb3 Bug 1533890: Remove obsolete disableCacheIRCalls pref r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D33994

--HG--
extra : moz-landing-system : lando
2019-06-06 18:04:55 +00:00
Christoph Kerschbaumer
d8e1a292ea Bug 1555050: Write test for large-allocation. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33611

--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Christoph Kerschbaumer
a9912a9803 Bug 1555050: Always (if non null) set any CSP as cspToInherit on the loadinfo of new document load. Update documentation for GetCSP, GetPreloadCSP() and GetCSPToInherit and update two callsites which called GetCSP instead of GetCSPToInherit. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33499

--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Iain Ireland
13eb1b17b4 Bug 1533890: Remove old call IC code r=mgaudet
The one remaining wart that I'm aware of is that the fallback stub uses ICStubCompilerBase::pushCallArguments, so we'll continue to have two implementations of that code unless/until we overhaul our fallbacks.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 21:34:32 +00:00
meandave
6697fcac72 Bug 1549811 - Sorting element for about:logins. r=jaws,Pike,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D33110

--HG--
extra : moz-landing-system : lando
2019-06-06 17:35:49 +00:00
Robert Strong
0e618c5315 Bug 1515484 - Remove the wizard based app update UI and related code. r=bytesized
Adds a simple UI with tests for the elevation UI that mimics the wizard based elevation UI and uses the existing strings
Removes all methods from nsIUpdatePrompt except showUpdateHistory which will be removed later
Does not remove the UPDATE_WIZ_LAST_PAGE_CODE telemetry histogram since that will remove it from the data sources

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:44:57 +00:00
Robert Strong
c73a31e74c Bug 1555913 - Remove app update mochitest-chrome tests. r=bytesized
The UI they test is no longer in use and the UI will be removed soon.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 09:29:55 +00:00
Yura Zenevich
0759de7245 Bug 1552067 - add filter and badge for text label audit type. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33186

--HG--
extra : moz-landing-system : lando
2019-06-06 05:24:03 +00:00
Yura Zenevich
1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich
a9aa355247 Bug 1552066 - add ALL filter to accessibility checks toolbar. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D33184

--HG--
extra : moz-landing-system : lando
2019-06-06 13:53:29 +00:00
Yura Zenevich
8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Miko Mynttinen
9bf262cb7f Bug 1490404 - Part 3: Move debug logging out from nsLayoutUtils::PaintFrame() r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D33681

--HG--
extra : moz-landing-system : lando
2019-06-06 17:54:16 +00:00
Miko Mynttinen
6c57050ada Bug 1490404 - Part 2: Add retained display list statistics r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D33680

--HG--
extra : moz-landing-system : lando
2019-06-06 17:54:14 +00:00
Miko Mynttinen
fbfcf25cc9 Bug 1490404 - Part 1: Be more consistent with display list and display list builder pointers and references r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D33679

--HG--
extra : moz-landing-system : lando
2019-06-06 17:54:13 +00:00
Nika Layzell
aba7a5f8f3 Bug 1556061 - Add IsTopContent and IsChrome helpers to BrowsingContext, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D33332

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:31 +00:00
Nika Layzell
de01a8cd7e Bug 1555488 - Part 2: Add initial tests for WindowProxy cache clearing, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D33545

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:25 +00:00
Nika Layzell
05c6ade09e Bug 1555488 - Part 1: Clear WindowProxy cache when flipping processes, r=peterv,mccr8
This is sorta-part of the work for bug 1510760. Currently if you do a process
switch, the window proxy state is completely borked, and a lot of stuff doesn't
work.

This patch aims to make it so that, while not transplanted correctly, methods
generally don't return the wrong WindowProxy object anymore after a process
swap.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:18 +00:00
Nika Layzell
03a2f40528 Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj
The vast majority of the virtual methods which were used on ProtocolState were
actually methods which only had meaningful implementations on the toplevel
protocol. This patch adds a new field to IProtocol holding a direct pointer to
the protocol's `IToplevelProtocol`, and the methods formerly implemented with
ProtocolState now directly call the corresponding method on IToplevelProtocol.
IToplevelProtocol then shadows these methods with the toplevel protocol
implementation, meaning that the right code is run in the right places.

In addition, some state was maintained for protocols inside of the separate
ProtocolState allocation, and this patch moves that state back into the actor
itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:34 +00:00
Jeff Muizelaar
620457f85d Bug 1556421. Fix DrawTargetOffset::GetRect. r=mstange
We want to ensure that we include the underlying DrawTarget's origin.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:11:10 +00:00
Jeff Muizelaar
5826a9c1f4 Bug 1556466. Fix into DrawTargetOffset::IntoLuminanceSource. r=mstange
Use the underlying mDrawTarget instead of the base class.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:11:27 +00:00
Jeff Muizelaar
f86acccbe5 Bug 1556468. Use the DrawTarget's offset when calculating the clip. r=mstange
The code currently assumes an offset of 0,0

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:12:31 +00:00
David Major
5827377048 Bug 1557313 - Update ExplicitOperatorBoolChecker.cpp for clang trunk changes r=andi
https://reviews.llvm.org/rL360311 reworked the handling of `explicit` in `CXXConversionDecl`, and the `isExplicitSpecified()` method no longer exists. We can instead use `isExplicit()` which conveniently works on both old and new clangs. (Before 360311, `isExplicit()` just forwarded to `isExplicitSpecified()`.)

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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:42:25 +00:00
Nika Layzell
b5b7f6b728 Bug 1451455 - Fire the 'load' event on out-of-process iframes, r=rhunt
This is done by sending a message over PBrowser and PBrowserBridge when the
event would fire to fire it in the correct process.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:17 +00:00
Nika Layzell
6abebf8c22 Bug 1556490 - Don't require JSContext* to get symbol name, r=mccr8
This patch also contains some other cleanups to avoid the need for
special-casing getting symbol IDs at call-sites.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:29 +00:00
Nika Layzell
0c0134526f Bug 1556483 - Expose isInitialDocument on WindowGlobalParent, r=bzbarsky
This should hopefully allow the parent process to tell whether a given document
is the initial about:blank document.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:32 +00:00
Bogdan Tara
2f77f4ae9b Backed out changeset 584e6d9246ac (bug 1557252) for browser/components/preferences/in-content/tests* failures CLOSED TREE 2019-06-06 20:15:59 +03:00
Rob Wu
b43139b7b6 Bug 1557369 - Disable extension recommendations in discopane tests r=mstriemer,zombie,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D33979

--HG--
extra : moz-landing-system : lando
2019-06-06 16:45:16 +00:00
Dana Keeler
1a1341430b bug 1488865 - import CRLite enrollment state r=jcj,KevinJacobs
This patch saves the CRLite enrollment state of every preloaded intermediate to
cert_storage. This is an intermediate (hah) step towards actually checking
CRLite state. We still have to implement downloading and updating the CRLite
bloom filter cascades and implement checking these filters when we encounter a
certificate issued from an enrolled intermediate (this work will be done in
future bugs).

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

--HG--
extra : moz-landing-system : lando
2019-06-06 16:42:41 +00:00
Zibi Braniecki
70e5a4ee3a Bug 1552714 - Fix two tests which were caught not waiting for l10n but checking for l10n values. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33741

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:18 +00:00
Zibi Braniecki
a49f5263f1 Bug 1552714 - Fix tests to compare the result of getAttributes against L10nKeys. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33740

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:09 +00:00