Commit Graph

656524 Commits

Author SHA1 Message Date
Jeff Gilbert
98d7f04ed2 Bug 1559524 - Reduce calls to GLLibraryEGL::Get(). r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35103

--HG--
extra : moz-landing-system : lando
2019-06-15 05:21:12 +00:00
Jeff Gilbert
42eda03785 Bug 1559524 - Remove EGL_DISPLAY macro. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35102

--HG--
extra : moz-landing-system : lando
2019-06-15 05:14:53 +00:00
Jeff Gilbert
fd76db7d77 Bug 1559556 - Handle sRGB encode/decode BlitFramebuffer calls on GL<440. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35121

--HG--
extra : moz-landing-system : lando
2019-06-15 05:18:05 +00:00
Ciure Andrei
667c8abf86 Backed out 2 changesets (bug 1546816) for causing test_navigation.py and test_js_cert_override_service.js to permafail CLOSED TREE
Backed out changeset 4d299dcdcaaa (bug 1546816)
Backed out changeset dbb07b64cdf9 (bug 1546816)
2019-06-15 10:55:58 +03:00
Dragana Damjanovic
4c2b903df4 Bug 1546816 - Part 2: Change nsNSSCallback to prepare for moving cert verifications to the parent process if the socket process performs network access. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D28742

--HG--
extra : moz-landing-system : lando
2019-06-04 22:20:30 +00:00
Dragana Damjanovic
7eedf007fd Bug 1546816 - Part 1: Changes needed for performing cert verification on the parent proces while networking access is on the socket process. r=keeler
This patche changes only security/manager/ssl/SSLServerCertVerification.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 12:40:12 +00:00
Ciure Andrei
2e6ac83efb Backed out changeset 7312aba8ec3b (bug 1558674) for causing browser_console_context_menu_entries.js to permafail CLOSED TREE 2019-06-15 08:48:18 +03:00
Boris Zbarsky
7add525d55 Bug 1558735 part 2. Stop using [array] in nsIX509Cert.getEmailAddresses. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D34671

--HG--
extra : moz-landing-system : lando
2019-06-15 03:51:58 +00:00
Boris Zbarsky
d40a269ffc Bug 1558735 part 1. Stop using [array] in nsIX509Cert.getRawDER. r=keeler,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D34670

--HG--
extra : moz-landing-system : lando
2019-06-14 18:17:20 +00:00
Jared Wein
5afe57f674 Bug 1559555 - Add aboutLoginsUtils.js to the browser_all_files_referenced.js test until JS import syntax is supported. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D35122

--HG--
extra : moz-landing-system : lando
2019-06-15 02:50:19 +00:00
Junior Hsu
9b0bca3c35 Bug 1504085 - P3 fix test r=tnguyen
Origin: honors ReferrerPolicy: so we should honor defaultPolicy set by user

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

--HG--
extra : moz-landing-system : lando
2019-06-14 20:15:27 +00:00
Junior Hsu
cc64995f75 Bug 1504085 - P2 Let Origin: honor ReferrerPolicy for non-CORS r=tnguyen,valentin
Differential Revision: https://phabricator.services.mozilla.com/D34454

--HG--
extra : moz-landing-system : lando
2019-06-14 22:24:33 +00:00
Junior Hsu
e8ba0890cc Bug 1504085 - P1 refactor ReferrerInfo for reuse referrer-policy algorithm r=tnguyen
Differential Revision: https://phabricator.services.mozilla.com/D34453

--HG--
extra : moz-landing-system : lando
2019-06-14 21:10:41 +00:00
Emilio Cobos Álvarez
421936227c Bug 1558442 - Use a weaker change hint for auto -> non-auto offset changes. r=dbaron
See the review comments in bug 1558442 to see why these should be correct.
Quoting:

> I think it would be good to avoid passing ClearDescendantIntrinsics and
> NeedDirtyReflow here, since those are the most expensive ones, and I think
> they're pretty clearly not needed. I think ClearAncestorIntrinsics is also
> clearly not needed, since I'm reasonably confident that absolutely positioned
> kids don't contribute to their parent's intrinsic size.

I think the same thing applies to "slow" offset changes (when autoness changes),
since relative movement doesn't affect intrinsic sizes either.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 23:29:34 +00:00
Emilio Cobos Álvarez
24f7725864 No bug - Fix StyleAtom::AsAtom (used only for debugging purposes atm). 2019-06-15 03:36:15 +02:00
Daniel Varga
ff5cbecd34 Backed out changeset d75e4cb5b188 (bug 1546192) for build bustage at /builds/worker/workspace/build/src/gfx/gl/GLScreenBuffer.cpp. On a CLOSED TREE 2019-06-15 04:18:28 +03:00
Masatoshi Kimura
7a71e98214 Bug 1559403 - Use nsIStringInputStream.setUTF8Data in BookmarkJSONUtils. r=mak
Depends on D35027

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

--HG--
extra : moz-landing-system : lando
2019-06-14 16:54:47 +00:00
Masatoshi Kimura
c0b1864c56 Bug 1559403 - Implement nsIStringInputStream.setUTF8Data. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D35027

--HG--
extra : moz-landing-system : lando
2019-06-14 15:48:41 +00:00
Brendan Dahl
7c478fba5b Bug 1558674 - Allow chrome privileged documents to enable/disable copy/paste. r=Ehsan,bgrins
For content HTML/XHTML copy/paste should always be enabled, but for chrome
docs we can support enabling/disabling copy/paste.

Also, restores tests to how they were before copy/paste was always enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 00:27:36 +00:00
Chris Peterson
ee1c4eb273 Bug 1528881 - Part 5: gfx/gl: Make some global functions static. r=jgilbert
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).

gfx/gl/GfxTexturesReporter.cpp:22:13 [-Wmissing-prototypes] no previous prototype for function 'FormatBytes'
gfx/gl/GLContextFeatures.cpp:534:6 [-Wmissing-prototypes] no previous prototype for function 'IsFeaturePartOfProfileVersion'

Depends on D20263

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

--HG--
extra : moz-landing-system : lando
2019-06-14 23:42:59 +00:00
Ryan Hunt
22c6fdc5b9 Bug 1559259 - Have APZ set mLayersId on WidgetEvent when not using WebRender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D34939

--HG--
extra : moz-landing-system : lando
2019-06-14 23:12:15 +00:00
Matt Woodrow
0d50f63b8f Bug 1348503 - Retrieve the FrameLayerBuilder pointer from the LayerManager when we need it. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D34772

--HG--
extra : moz-landing-system : lando
2019-06-13 17:02:54 +00:00
Haik Aftandilian
d302444d67 Bug 1498742 - Part 2 - Start the GMP sandbox earlier during process startup r=jya,cpearce
Change the Mac GMP process launch to include sandboxing params on the command line to allow the sandbox to be started earlier during GMP process launch. Content, extension, and RDD processes have already been changed to start the sandbox earlier.

Update GMPProcessParent to override GeckoChildProcessHost methods used to construct sandboxing parameters. Pass the plugin path as a sandbox parameter so that the sandbox rules can whitelist the plugin directory which is now read after the sandbox is enabled in the plugin process. On development builds, pass "testingReadPath" params so directories needed during automated tests can be whitelisted.

Update Mac sandboxing code to detect GMP sandbox params on the command line and enable the sandbox with additional arguments needed for early sandbox start.

Allow reverting to the old implementation by setting security.sandbox.gmp.mac.earlyinit to false.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 22:55:27 +00:00
Haik Aftandilian
ae8cda84c2 Bug 1498742 - Part 1 - Move GetRepoDir() and GetObjDir() from ContentChild to nsMacUtilsImpl r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D34084

--HG--
extra : moz-landing-system : lando
2019-06-14 22:19:01 +00:00
sotaro
f85719ceb0 Bug 1546192 - Check SharedSurface_Basic::Create failure r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D28439

--HG--
extra : moz-landing-system : lando
2019-06-14 23:44:57 +00:00
Mihai Alexandru Michis
933d45c515 Backed out changeset a1f01a303ff2 (bug 1555454) for causing mda failures on macosx1014. CLOSED TREE 2019-06-15 03:52:24 +03:00
Mihai Alexandru Michis
139669587f Backed out changeset 6687b608e2bf (bug 1541923) for causing build bustages. CLOSED TREE 2019-06-15 02:50:09 +03:00
Mihai Alexandru Michis
75267ba2f9 Backed out changeset 323de6d7d422 (bug 1548878) for causing xpcshell failures. CLOSED TREE 2019-06-15 02:48:55 +03:00
Mihai Alexandru Michis
cff1990963 Backed out 4 changesets (bug 1545582) for causing build bustages in SavedStacks.cpp CLOSED TREE
Backed out changeset a47c4a44bae0 (bug 1545582)
Backed out changeset c05a5d68d9a8 (bug 1545582)
Backed out changeset 699de45940b1 (bug 1545582)
Backed out changeset 285673afaa99 (bug 1545582)
2019-06-15 02:19:08 +03:00
Rob Wu
4a505cf223 Bug 1557792 - Show missing private browsing rows in about:addons r=mixedpuppy,mstriemer
For parity with the XUL about:addons page, this commit adds missing rows
to the details view:

- Bug 1557792 - incognito not_allowed should show "Not Allowed in Private Windows"

- Bug 1551947 - extensions with locked private browsing flag should not
  show inputs to control the flag, but "Requires Access to Private Windows"

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

--HG--
extra : moz-landing-system : lando
2019-06-14 15:49:07 +00:00
Jeff Gilbert
bbb1e5a221 Bug 1533522 - Truncate Buffer/Texture on GL_OOM. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D34982

--HG--
extra : moz-landing-system : lando
2019-06-14 03:26:18 +00:00
Tim D. Smith
df1a79d68f Bug 1558856 - Collect values of MitM-related preferences r=keeler
Having these values in telemetry will let us understand the prevalence of MitM in the wild,
count instances of broken AV MitM, and understand how often these values have been manually configured.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 18:01:22 +00:00
Michael Cooper
7da325e5fc Bug 1541923 - Avoid leaking cookies via Normandy fetches r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D31810

--HG--
extra : moz-landing-system : lando
2019-06-14 22:45:50 +00:00
Greg Tatum
6dc22ec6a1 Bug 1545582 - Hook JS allocations into the profiler popup; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34545

--HG--
extra : moz-landing-system : lando
2019-06-13 20:25:26 +00:00
Greg Tatum
dd7d3f3708 Bug 1545582 - Add tests for new JS allocations feature; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34544

--HG--
extra : moz-landing-system : lando
2019-06-13 20:25:12 +00:00
Greg Tatum
bf2db1bc5e Bug 1545582 - Integrate JavaScript memory allocation tracking to the profiler; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34543

--HG--
extra : moz-landing-system : lando
2019-06-13 20:57:11 +00:00
Greg Tatum
808dfce0d8 Bug 1545582 - Add a JS runtime level of allocation logging; r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D28142

--HG--
extra : moz-landing-system : lando
2019-06-14 20:18:22 +00:00
Valentin Gosu
2cd34ccec7 Bug 1555036 - If there is a Cross-Origin-Opener-Policy mismatch and the SANDBOXED_AUXILIARY_NAVIGATION is set navigate to a network error r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D34420

--HG--
extra : moz-landing-system : lando
2019-06-14 21:48:51 +00:00
yulia
4056444ce3 Bug 1559487 - disable browser_application_panel_start-service-worker.js test on linux asan r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D35079

--HG--
extra : moz-landing-system : lando
2019-06-14 21:11:25 +00:00
yulia
9ab3272468 Bug 1494796 - fix verify test r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D34981

--HG--
extra : moz-landing-system : lando
2019-06-14 20:34:04 +00:00
yulia
9d1bf84ed1 Bug 1494796 - exit gracefully if docShell has been destroyed; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32724

--HG--
extra : moz-landing-system : lando
2019-06-14 20:27:35 +00:00
yulia
9ea8f553f1 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:09 +00:00
yulia
4b589da1f6 Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:07 +00:00
yulia
492954347a Bug 1494796 - Fix host resize test caused by timing issue; r=jdescottes
this is the weird one. we have a Debugger.executeSoon call for the destruction of the host.
However, before this happened immediately after the test closed. Now, it happens a little later, and
this messes up the data set up. The comment says that we cannot remove this.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:05 +00:00
yulia
6f57978eb3 Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:11 +00:00
yulia
0f5736a52e Bug 1494796 - maintain backwards compatibility r=jdescottes
Introduce a flag to maintain backwards compatibility with old servers

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:59 +00:00
yulia
bf027a18fa Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:13 +00:00
yulia
5f77a853c5 Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:17 +00:00
yulia
780b2f0e28 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847

--HG--
extra : moz-landing-system : lando
2019-06-14 04:23:57 +00:00
yulia
dd7caa0576 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, attach/detach methods and events; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32845

--HG--
extra : moz-landing-system : lando
2019-06-14 04:24:01 +00:00