- Nov 14, 2018
-
-
Mike Hommey authored
Ideally, we'd want the function to stay in Assertions.cpp, but that's only part of MFBT proper, and that doesn't have access to WalkTheStack like MOZ_CRASH has from being in Assertion.h, when included from Gecko code. Moving WalkTheStack to mozglue, putting it close together with MozStackWalk would be prefered, but that causes problems linking MFBT tests (which don't have access to mozglue), and other things. Overall, this was too deep a rabbit hole, and moving MOZ_CrashOOL to Assertions.h is much simpler. Since it's essentially the same as MOZ_CRASH, except it allows non-literal strings, we can make it inlined, and leave it to the compiler to drop the filename argument when it's not used. Differential Revision: https://phabricator.services.mozilla.com/D11718 --HG-- extra : moz-landing-system : lando
-
- Nov 13, 2018
-
-
Petru Lingurar authored
Bug 1501571 - Inform user that FHR must be enabled for 'Product and feature tips' to work; r=geckoview-reviewers,snorp Differential Revision: https://phabricator.services.mozilla.com/D11457 --HG-- extra : moz-landing-system : lando
-
- Nov 14, 2018
-
-
Armen Zambrano G. authored
Differential Revision: https://phabricator.services.mozilla.com/D11768 --HG-- extra : moz-landing-system : lando
-
Jan de Mooij authored
Bug 1506554 part 2 - Actually call cleanupLocaleTests in storage/test/unit/test_locale_collation.js. r=asuth The cleanup function was there but never called, as far as I can see. Differential Revision: https://phabricator.services.mozilla.com/D11617 --HG-- extra : moz-landing-system : lando
-
Mike Hommey authored
Differential Revision: https://phabricator.services.mozilla.com/D11836 --HG-- extra : moz-landing-system : lando
-
Coroiu Cristina authored
Backed out 4 changesets (bug 1496503) for xpcshell failures at toolkit/crashreporter/test/unit/test_crash_rust_panic.js on a CLOSED TREE Backed out changeset cfeee3d5ed6a (bug 1496503) Backed out changeset 164a5a49fd25 (bug 1496503) Backed out changeset d0b6c1fc149d (bug 1496503) Backed out changeset bfb4ee856c71 (bug 1496503)
-
Ehsan Akhgari authored
Bug 1506014 - Refactor some of the common code in the implementations of nsIContentPermissionRequest into a common base class r=baku Differential Revision: https://phabricator.services.mozilla.com/D11488 --HG-- extra : moz-landing-system : lando
-
- Nov 08, 2018
-
-
Brian Grinstead authored
Differential Revision: https://phabricator.services.mozilla.com/D9970 --HG-- extra : moz-landing-system : lando
-
- Nov 14, 2018
-
-
Brian Grinstead authored
This adds a new class for the marquee tag, instead of overloading HTMLDivElement. It removes some of the XBL that was used to expose properties to web content. Differential Revision: https://phabricator.services.mozilla.com/D3824 --HG-- extra : moz-landing-system : lando
-
- Nov 13, 2018
-
-
Mike Hommey authored
Previously, our panic hook was only really useful when the crash reporter is used, because all it did apart from calling rust's default panic handler was to keep a pointer to the panic message for the crash reporter. Now that it just redirects to the Gecko crash code, it doesn't need to be tied to the crash reporter. In fact, to ensure it's consistently used in all cases, we ought to install it early on. Use a static initializer for that. Depends on D11720 Differential Revision: https://phabricator.services.mozilla.com/D11721 --HG-- extra : moz-landing-system : lando
-
Mike Hommey authored
The current rust panic hook keeps a string for the crash reporter, and goes on calling the default rust panic hook, which prints out a crash stack... when RUST_BOOTSTRAP is set *and* when that works. Notably, on both mac and Windows, it only really works for local builds, but fails for debug builds from automation, although on automation itself, we also do stackwalk from crash minidumps, which alleviates the problem. Artifact debug builds are affected, though. More importantly, C++ calls to e.g. MOZ_CRASH have a similar but different behavior, in that they dump a stack trace on debug builds, by default (with exceptions, see below for one). The format of those stack traces is understood by the various fix*stack*py scripts under tools/rb/, that are used by the various test harnesses both on automation and locally. Additionally, the current rust panic hook, as it calls the default rust panic hook, ends up calling abort() on non-Windows platforms, which ends up being verbosely redirected to mozalloc_abort per https://dxr.mozilla.org/mozilla-central/rev/237e4c0633fda8e227b2ab3ab57e417c980a2811/memory/mozalloc/mozalloc_abort.cpp#79 which then calls MOZ_CRASH. Theoretically, /that/ would also print a stack trace, but doesn't because currently the stack trace printing code lives in libxul, and MOZ_CRASH only calls it when compiled from libxul-code, which mozalloc_abort is not part of. With this change, we make the rust panic handler call back into MOZ_CRASH directly. This has multiple advantages: - This is more consistent cross-platforms (Windows is not special anymore). - This is more consistent between C++ and rust (stack traces all look the same, and can all be post-processed by fix*stack*py if need be) - This is more consistent in behavior, where debug builds will show those stack traces without caring about environment variables. - It demangles C++ symbols in rust-initiated stack traces (for some reason that didn't happen with the rust panic handler) A few downsides: - the loss of demangling for some rust symbols. - the loss of addresses in the stacks, although they're not entirely useful - extra empty lines. The first should be fixable later one. The latter two are arguably something that should be consistent across C++ and rust, and should be changed if necessary, independently of this patch. Depends on D11719 Differential Revision: https://phabricator.services.mozilla.com/D11720 --HG-- extra : moz-landing-system : lando
-
Mike Hommey authored
Because we don't really need all this repetition. Depends on D11718 Differential Revision: https://phabricator.services.mozilla.com/D11719 --HG-- extra : moz-landing-system : lando
-
Mike Hommey authored
Ideally, we'd want the function to stay in Assertions.cpp, but that's only part of MFBT proper, and that doesn't have access to WalkTheStack like MOZ_CRASH has from being in Assertion.h, when included from Gecko code. Moving WalkTheStack to mozglue, putting it close together with MozStackWalk would be prefered, but that causes problems linking MFBT tests (which don't have access to mozglue), and other things. Overall, this was too deep a rabbit hole, and moving MOZ_CrashOOL to Assertions.h is much simpler. Since it's essentially the same as MOZ_CRASH, except it allows non-literal strings, we can make it inlined, and leave it to the compiler to drop the filename argument when it's not used. Differential Revision: https://phabricator.services.mozilla.com/D11718 --HG-- extra : moz-landing-system : lando
-
Cameron McCormack authored
Bug 1506760 - Store variable references with a boxed slice rather than a PrecomputedHashSet r=emilio Once we've parsed the variable references, there is no need to keep an entire HashSet object around, as all we do is iterate over the values. Differential Revision: https://phabricator.services.mozilla.com/D11735 --HG-- extra : moz-landing-system : lando
-
- Nov 14, 2018
-
-
Bogdan Tara authored
Backed out changeset 0cd30c3d9b30 (bug 1495512) Backed out changeset 7ae82cae37d9 (bug 1495512)
-
Michael Froman authored
Bug 1471535 - pt1 - Split RemoteVideoDecoder into GpuDecoderModule and RemoteMediaDataDecoder preparing for new RDD decoder work. r=jya - also makes RemoteMediaDecoder generic so it can work with the remote decoders on the RDD process - changes VideoDecoderChild to subclass IRemoteDecoderChild Differential Revision: https://phabricator.services.mozilla.com/D8482 --HG-- rename : dom/media/ipc/RemoteVideoDecoder.cpp => dom/media/ipc/GpuDecoderModule.cpp rename : dom/media/ipc/RemoteVideoDecoder.h => dom/media/ipc/GpuDecoderModule.h extra : moz-landing-system : lando
-
Jed Davis authored
snapd 2.36 introduces a new experimental feature to allow creating multiple instances of a package, which are isolated from each other; see https://forum.snapcraft.io/t/parallel-installs/7679 for details. This changes the prefix we need to use to access /dev/shm, because it's now the instance name rather than the snap name. Differential Revision: https://phabricator.services.mozilla.com/D11835 --HG-- extra : moz-landing-system : lando
-
Micah Tigley authored
Differential Revision: https://phabricator.services.mozilla.com/D11419 --HG-- extra : moz-landing-system : lando
-
WR Updater Bot authored
Bug 1506837 - Update webrender to commit 652e3f8a180865abc40c78813668098f2b55bdd3 (WR PR #3302). r=kats Differential Revision: https://phabricator.services.mozilla.com/D11832 --HG-- extra : moz-landing-system : lando
-
Drew Willcoxon authored
This is based on the patch in bug 1504552. I'm calling the @engine aliases -- as opposed to aliases without @ -- "token" aliases since I need to refer to them somehow. Differential Revision: https://phabricator.services.mozilla.com/D11546 --HG-- extra : moz-landing-system : lando
-
Brian Grinstead authored
Differential Revision: https://phabricator.services.mozilla.com/D11665 --HG-- extra : moz-landing-system : lando
-
- Nov 13, 2018
-
-
Boris Chiou authored
Update the parser and the serialization to support the keywords, [x|y|z]. Differential Revision: https://phabricator.services.mozilla.com/D11531 --HG-- extra : moz-landing-system : lando
-
- Nov 14, 2018
-
-
Dana Keeler authored
bug 1502841 - fix a deadlock by not holding the DataStorageSharedThread lock while shutting the thread down r=jcj Judging by some stack traces we've received in crash reports, while shutting down the DataStorageSharedThread, it is possible to process an event on that thread that causes an attempt to re-initialize DataStorage. This wouldn't be a problem because we have a shutdown sentinel boolean and we exit early if it is true. However, checking the boolean involves acquiring the static lock for the thread, which means we can't be holding the lock while we're shutting down the thread. Differential Revision: https://phabricator.services.mozilla.com/D11708 --HG-- extra : moz-landing-system : lando
-
- Nov 13, 2018
-
-
Mike Hommey authored
When apt-get fails, it has a distinctive error code (100). Most of the time, when apt-get fails, it's because of some network error, or possibly some problem unpacking archives. When that happens, retrying the task usually "fixes" the issue. One of the (currently) most common causes of problems is snapshot.debian.org not being available to some of the EC2 instances. It would be possible to only set things up so that we only retry when we detect such setup (checking the public IP of the instance is not in the known list of problematic IPs), but that would require possibly wrapping apt-get, or something along those line, which is not entirely trivial to do for the packages tasks, because they don't rely on docker images. However, since there aren't many apt-get failures other than these, and since there have been, historically, some intermittent apt-get failures of a different nature that were solved by re-running the tasks, it seems fair to just retry wheneven apt-get fails. One downside of the approach is that if for some reason a change to a Dockerfile ends up mentioning a package that doesn't exist, that too will result in multiple retries ; which might be inconvenient, but that's not something that's going to happen often. Differential Revision: https://phabricator.services.mozilla.com/D11420 --HG-- extra : moz-landing-system : lando
-
Blake Kaplan authored
I cribbed this from another test and verified that it works. Differential Revision: https://phabricator.services.mozilla.com/D11828 --HG-- extra : moz-landing-system : lando
-
Matthew Noorenberghe authored
Differential Revision: https://phabricator.services.mozilla.com/D11786 --HG-- extra : moz-landing-system : lando
-
Bogdan Tara authored
-
Bogdan Tara authored
-
Mike Hommey authored
Bug 1501218 - Enable wayland support with --enable-default-toolkit=cairo-gtk3. r=firefox-build-system-reviewers,mshal --enable-default-toolkit=cairo-gtk3-wayland is left to _force_ wayland support being built in, while --enable-default-toolkit=cairo-gtk3 still allows to build against a Gtk+ version that doesn't support wayland. Differential Revision: https://phabricator.services.mozilla.com/D11433 --HG-- extra : moz-landing-system : lando
-
Mike Hommey authored
And simplify related configure code a little. Depends on D11434 Differential Revision: https://phabricator.services.mozilla.com/D11435 --HG-- extra : moz-landing-system : lando
-
- Nov 09, 2018
-
-
Mike Hommey authored
Those are leftovers from bug 1278282. Differential Revision: https://phabricator.services.mozilla.com/D11434 --HG-- extra : moz-landing-system : lando
-
- Nov 10, 2018
-
-
Nils Ohlmeier [:drno] authored
Differential Revision: https://phabricator.services.mozilla.com/D11300 --HG-- extra : moz-landing-system : lando
-
- Nov 13, 2018
-
-
Nils Ohlmeier [:drno] authored
Differential Revision: https://phabricator.services.mozilla.com/D10807 --HG-- extra : moz-landing-system : lando
-
Matt Woodrow authored
MozReview-Commit-ID: IA2ooFX5jtA Differential Revision: https://phabricator.services.mozilla.com/D11723 --HG-- extra : moz-landing-system : lando
-
Mark Hammond authored
Bug 1506271 - BrowserGlue._setSyncAutoconnectDelay() now checks win.gBrowser before using it. r=MattN Differential Revision: https://phabricator.services.mozilla.com/D11817 --HG-- extra : moz-landing-system : lando
-
timdream authored
Bug 1504418 - Access to nsIDateTimeInputArea interface implemented by XBL from chrome via wrappedJSObject r=mconley Part I of bug 1496242 was not implemented correctly as it accesses the nsIDateTimeInputArea methods directly on the <datetimebox> element object. This won't work because the XBL binding is run in a non-chrome scope. The methods it implemented are exposed thus had to be accessed via wrappedJSObject. Object pass to setValueFromPicker() therefore has to clone into the content scope. We can be sure that the methods called are implemented by the XBL binding, because the web content should not have access to <datetimebox>, which is a NAC. A small clean-up is included in the patch also, removing the useless 3rd argument to the CustomEvent constructor. Tests related to the datetime input is duplicated and run with UA Widget disabled to ensure the XBL binding continue to work. Differential Revision: https://phabricator.services.mozilla.com/D10947 --HG-- rename : dom/html/test/forms/chrome.ini => dom/html/test/forms/xbl/chrome.ini rename : dom/html/test/forms/mochitest.ini => dom/html/test/forms/xbl/mochitest.ini rename : dom/html/test/forms/test_autocompleteinfo.html => dom/html/test/forms/xbl/test_autocompleteinfo.html rename : dom/html/test/forms/test_input_attributes_reflection.html => dom/html/test/forms/xbl/test_input_attributes_reflection.html rename : dom/html/test/forms/test_input_date_bad_input.html => dom/html/test/forms/xbl/test_input_date_bad_input.html rename : dom/html/test/forms/test_input_date_key_events.html => dom/html/test/forms/xbl/test_input_date_key_events.html rename : dom/html/test/forms/test_input_datetime_focus_blur.html => dom/html/test/forms/xbl/test_input_datetime_focus_blur.html rename : dom/html/test/forms/test_input_datetime_focus_blur_events.html => dom/html/test/forms/xbl/test_input_datetime_focus_blur_events.html rename : dom/html/test/forms/test_input_datetime_focus_state.html => dom/html/test/forms/xbl/test_input_datetime_focus_state.html rename : dom/html/test/forms/test_input_datetime_input_change_events.html => dom/html/test/forms/xbl/test_input_datetime_input_change_events.html rename : dom/html/test/forms/test_input_datetime_tabindex.html => dom/html/test/forms/xbl/test_input_datetime_tabindex.html rename : dom/html/test/forms/test_input_defaultValue.html => dom/html/test/forms/xbl/test_input_defaultValue.html rename : dom/html/test/forms/test_input_sanitization.html => dom/html/test/forms/xbl/test_input_sanitization.html rename : dom/html/test/forms/test_input_textarea_set_value_no_scroll.html => dom/html/test/forms/xbl/test_input_textarea_set_value_no_scroll.html rename : dom/html/test/forms/test_input_time_key_events.html => dom/html/test/forms/xbl/test_input_time_key_events.html rename : dom/html/test/forms/test_input_time_sec_millisec_field.html => dom/html/test/forms/xbl/test_input_time_sec_millisec_field.html rename : dom/html/test/forms/test_input_types_pref.html => dom/html/test/forms/xbl/test_input_types_pref.html rename : dom/html/test/forms/test_input_typing_sanitization.html => dom/html/test/forms/xbl/test_input_typing_sanitization.html rename : dom/html/test/forms/test_label_input_controls.html => dom/html/test/forms/xbl/test_label_input_controls.html rename : dom/html/test/forms/test_max_attribute.html => dom/html/test/forms/xbl/test_max_attribute.html rename : dom/html/test/forms/test_min_attribute.html => dom/html/test/forms/xbl/test_min_attribute.html rename : dom/html/test/forms/test_mozistextfield.html => dom/html/test/forms/xbl/test_mozistextfield.html rename : dom/html/test/forms/test_novalidate_attribute.html => dom/html/test/forms/xbl/test_novalidate_attribute.html rename : dom/html/test/forms/test_pattern_attribute.html => dom/html/test/forms/xbl/test_pattern_attribute.html rename : dom/html/test/forms/test_required_attribute.html => dom/html/test/forms/xbl/test_required_attribute.html rename : dom/html/test/forms/test_step_attribute.html => dom/html/test/forms/xbl/test_step_attribute.html rename : dom/html/test/forms/test_stepup_stepdown.html => dom/html/test/forms/xbl/test_stepup_stepdown.html rename : dom/html/test/forms/test_textarea_attributes_reflection.html => dom/html/test/forms/xbl/test_textarea_attributes_reflection.html rename : dom/html/test/forms/test_validation.html => dom/html/test/forms/xbl/test_validation.html rename : dom/html/test/forms/test_validation_not_in_doc.html => dom/html/test/forms/xbl/test_validation_not_in_doc.html rename : dom/html/test/forms/test_valueAsDate_pref.html => dom/html/test/forms/xbl/test_valueAsDate_pref.html rename : dom/html/test/forms/test_valueasdate_attribute.html => dom/html/test/forms/xbl/test_valueasdate_attribute.html rename : dom/html/test/forms/test_valueasnumber_attribute.html => dom/html/test/forms/xbl/test_valueasnumber_attribute.html rename : toolkit/content/tests/browser/browser_datetime_datepicker.js => toolkit/content/tests/browser/xbl/browser_datetime_datepicker.js extra : moz-landing-system : lando
-
Bogdan Tara authored
-
Dana Keeler authored
bug 1499882 - remove HSTS holepunch for chart.apis.google.com because it now has a valid certificate r=franziskus Differential Revision: https://phabricator.services.mozilla.com/D11695 --HG-- extra : moz-landing-system : lando
-
Gurzau Raul authored
-
Matt Woodrow authored
MozReview-Commit-ID: IA2ooFX5jtA Differential Revision: https://phabricator.services.mozilla.com/D11723 --HG-- extra : moz-landing-system : lando
-