gecko-dev/testing
Raphael Kubo da Costa c3c28bef3d Bug 1495790 [wpt PR 13316] - sensors: Ensure a document without an associated frame does not crash, a=testonly
Automatic update from web-platform-testssensors: Ensure a document without an associated frame does not crash

Commit d1034e1e6 ("sensors: Make SensorProviderProxy supplement Document,
not LocalFrame") tied a sensor's lifetime to a document rather than a frame,
but we continued to assume Document::GetFrame() would never return null.

This is not true, as evidenced by the crash reports in bug 889754, caused by
SensorProxy::ShouldSuspendUpdates() trying to invoke methods on a LocalFrame
that can actually be a nullptr.

The original backtrace in the bug report seems to come from sensor creation,
but it is easier to trigger the same crash with a focus change after
destroying a sensor's document's frame.

Bug: 861675, 889754
Change-Id: Idb9ed5c18a655e113e2fb76cde6615aeefcc544a
Reviewed-on: https://chromium-review.googlesource.com/1256826
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Raphael Kubo da Costa (CET) <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#595958}

--

wpt-commits: 27d87552c9a67481fb2d6ca82a71622c24ce7090
wpt-pr: 13316
2018-10-09 10:43:08 +00:00
..
awsy
config Bug 1488468 - Update requirements files for telemetry tests; r=davehunt 2018-10-05 19:16:47 +00:00
crashtest
firefox-ui Bug 1493636 - Always autofill bookmarks, regardless of their frecency and the autofill frecency threshold. r=mak 2018-10-06 00:22:04 +00:00
geckodriver Merge inbound to mozilla-central. a=merge 2018-10-04 07:03:25 +03:00
gtest
jsshell Bug 1488689 - Add Octane shell benchmark to raptor. r=ahal 2018-09-08 11:00:16 +00:00
marionette Bug 1473927 - Load textbox.css and numberbox.css as document stylesheets. r=paolo 2018-10-09 10:22:15 +02:00
mochitest Bug 1496636 - add_task() should wait for document finishes loading before starting the test r=florian 2018-10-08 12:59:15 +00:00
modules
mozbase Bug 1496452 - Don't log wpt manifest update when resolving tests r=ahal 2018-10-05 16:46:52 +00:00
mozharness Bug 1493252 - Automatic profile viewing after mach talos-test doesn't work on my macOS machine. r=jmaher 2018-10-08 17:31:07 +03:00
profiles Backed out 1 changesets (bug 1492519) for tps perma failures a=backout 2018-09-28 14:50:45 +03:00
raptor Bug 1460742 - Add raptor 'tp6' for google chrome; r=jmaher 2018-10-02 22:15:15 +00:00
runtimes Bug 1438857 - Remove the Flash plugin infobar. r=Felipe 2018-09-06 14:50:16 +00:00
specialpowers Bug 1188256 part 6 - Expose PromiseDebugging to plain mochitest via SpecialPowers. r=bzbarsky 2018-09-14 22:43:54 +00:00
talos Bug 1493252 - Automatic profile viewing after mach talos-test doesn't work on my macOS machine. r=jmaher 2018-10-08 17:31:07 +03:00
tools Bug 1496405 - Always build minidumpwriter on Windows to support 64 or 32 bit python. r=ted,firefox-build-system-reviewers 2018-10-06 01:16:01 +00:00
tps Bug 1492341 - Bump mozrunner version to 7.0.2; r=tcsc 2018-09-20 16:33:56 +00:00
web-platform Bug 1495790 [wpt PR 13316] - sensors: Ensure a document without an associated frame does not crash, a=testonly 2018-10-09 10:43:08 +00:00
webdriver bug 1491288: webdriver: release 0.38.0; r=whimboo 2018-10-03 15:00:00 +00:00
xpcshell Bug 1496791 - Disable linux64-jsdcov completely. r=jmaher 2018-10-05 21:06:25 +00:00
README.txt
cppunittest.ini
mach_commands.py Bug 1481449 - Require at least one test argument for 'mach test'; r=ahal 2018-08-31 09:59:07 -06:00
moz.build
remotecppunittests.py
runcppunittests.py
testsuite-targets.mk bug 1490119: Build separate updater that always embeds dep certificates. r=ted,firefox-build-system-reviewers 2018-09-21 10:07:27 +00:00

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff