Граф коммитов

584748 Коммитов

Автор SHA1 Сообщение Дата
Timothy Nikkel 7d6982559e Bug 1443232. Don't insert frames into our AnimationFrameBuffer that we consider in error and unusable. r=aosmond
After decoding the first frame we allocate the second frame, but before it finishes we encounter an error, Decoder::PostError is called it aborts the second frame and decrements the frame count. But AnimationSurfaceProvider::CheckForFrameAtTerminalState just asks for the current frame ref from the decoder (which it never cleared) and inserts that.

The condition that we use from the decoder to decide to report a new frame is mFinishedNewFrame (via TakeCompleteFrameCount), however this doesn't directly correspond to mFrameCount. So we create a new bool on the Decoder to track when there is a frame that we can take.

This didn't cause any problems before but now we have tighter coupling between the list of frames the AnimationSurfaceProvider has and what FrameAnimator expects.

Another possible fix would be to clear the current frame ref in PostError, but the only place we clear the current frame is when we allocate the new frame and we have the mImageData pointer still around that decoders could theorhetically use to do final processing on the last partial frame.
2018-03-08 17:33:04 -06:00
L. David Baron eabc90a51d Bug 1444136 - Move images into support subdirectory so they work in the built CSS testsuite. r=gsnedders
This patch was written using the commands (in layout/reftests/w3c-css/submitted/background/):
```
mkdir support
hg mv *.png support/
ls support/ | while read FNAME; do sed -i -e "s,$FNAME,support/$FNAME,g" *.html; done
```

MozReview-Commit-ID: AqOcWOZPi3Y

--HG--
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-32x32.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-32x32.png
rename : layout/reftests/w3c-css/submitted/background/aqua-yellow-37x37.png => layout/reftests/w3c-css/submitted/background/support/aqua-yellow-37x37.png
rename : layout/reftests/w3c-css/submitted/background/border.png => layout/reftests/w3c-css/submitted/background/support/border.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bl.png => layout/reftests/w3c-css/submitted/background/support/reticule-bl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-bo.png => layout/reftests/w3c-css/submitted/background/support/reticule-bo.png
rename : layout/reftests/w3c-css/submitted/background/reticule-br.png => layout/reftests/w3c-css/submitted/background/support/reticule-br.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ct.png => layout/reftests/w3c-css/submitted/background/support/reticule-ct.png
rename : layout/reftests/w3c-css/submitted/background/reticule-le.png => layout/reftests/w3c-css/submitted/background/support/reticule-le.png
rename : layout/reftests/w3c-css/submitted/background/reticule-ri.png => layout/reftests/w3c-css/submitted/background/support/reticule-ri.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tl.png => layout/reftests/w3c-css/submitted/background/support/reticule-tl.png
rename : layout/reftests/w3c-css/submitted/background/reticule-to.png => layout/reftests/w3c-css/submitted/background/support/reticule-to.png
rename : layout/reftests/w3c-css/submitted/background/reticule-tr.png => layout/reftests/w3c-css/submitted/background/support/reticule-tr.png
rename : layout/reftests/w3c-css/submitted/background/reticule.png => layout/reftests/w3c-css/submitted/background/support/reticule.png
extra : rebase_source : 278586f66ce9ea114da920b0d4df1e5dde5ad278
2018-03-08 12:15:11 -08:00
Csoregi Natalia 16068f9f72 Backed out changeset cf8613751378 (bug 1403348) for Build Bustage on ServiceWorkerRegistrar.cpp:29. CLOSED TREE 2018-03-09 00:59:11 +02:00
Randell Jesup d39849ea7e Bug 1443765: Update android formdata sessionstore test for delayed save r=snorp 2018-03-08 17:12:57 -05:00
Randell Jesup 5f627bd0ab Bug 1443765: delay SessionStore for Fennec on input events r=snorp
This also implies that a series of events (like UnselectAll for checkboxes)
will be batched.
2018-03-08 17:12:49 -05:00
Kris Maglione 2c7b68e235 Bug 1443983: Part 3 - Remove platform support for interpositions. r=mccr8
This is all dead code now that the interposition service has been removed.

MozReview-Commit-ID: H6eS26y1f0f

--HG--
extra : rebase_source : c6f94df51441a62c4fbff4be657aedc9699265f5
2018-03-07 18:11:18 -08:00
Kris Maglione e4b6dffc2a Bug 1443983: Part 2 - Remove remaining interpositions. r=mconley
MozReview-Commit-ID: AHwNsBB7OAQ

--HG--
extra : rebase_source : d25b9ce77529130b98b6199d9c9e06c3890a2f87
2018-03-07 18:10:24 -08:00
Kris Maglione e4f7511193 Bug 1443983: Part 1 - Remove shim usage in browser_google_behavior.js. r=mconley
MozReview-Commit-ID: 3pOOkRMxXsL

--HG--
extra : rebase_source : b57a7f854eab34e6c506262b88660eca9530d3e6
2018-03-08 13:37:28 -08:00
Kris Maglione f66b3733ba Bug 1443964: Part 2 - Remove most add-on compatibility shims. r=mconley
The TabBrowser.addProgressListener shim is the only remaining exception, since
the browser_google_behavior.js non-trivially relies on it.

MozReview-Commit-ID: Cc2ARwLkjTA

--HG--
extra : rebase_source : beea6f21dda0517c0a4c9cf09daeafcff85b93c0
2018-03-07 12:16:37 -08:00
Kris Maglione 3eba816ee8 Bug 1443964: Part 1 - Fix most tests that rely on add-on shims. r=mconley
browser_google_behavior.js is the only remaining exception.

MozReview-Commit-ID: GA15P7f0KBv

--HG--
extra : rebase_source : 7cb70cb6108abc6746a9261922bd2826bb11a9b7
2018-03-07 14:35:16 -08:00
Kris Maglione fac1655973 Bug 1403348: Part 4 - Annotate certain startup crashes with AsyncShutdown script contents. r=mccr8 data-r=rweiss
We're seeing startup crashes which point to data corruption in the source of
the AsyncShutdown component and module, but it's unclear whether the source of
this corruption is on disk, in memory, or in XDR data.

This change annotates crash reports with the contents of those files, so that
we can compare the actual source with the corrupted values in the generated
errors, and narrow down the source of the corruption.

MozReview-Commit-ID: 7p8y73XUGLK

--HG--
extra : rebase_source : ad31c4fae1cb5c931e166702499dd1e56758d3e3
2017-11-04 17:20:17 -07:00
David Major 8f57f62bc6 Bug 1443827: Update clang-cl builders to r326909 and add the lld repo. r=froydnj 2018-03-08 17:26:56 -05:00
David Major 8483a27743 Bug 1443827: Move clang-cl static analysis builds to their own toolchain task. r=froydnj
Note that static analysis was the only remaining user of the 32-bit toolchain, so I've removed win32-clang-cl (or rather, renamed it to win32-clang-cl-st-an).

--HG--
rename : build/build-clang/clang-win32.json => build/build-clang/clang-win32-st-an.json
rename : build/build-clang/clang-win64.json => build/build-clang/clang-win64-st-an.json
rename : taskcluster/scripts/misc/build-clang32-windows.sh => taskcluster/scripts/misc/build-clang32-st-an-windows.sh
rename : taskcluster/scripts/misc/build-clang64-windows.sh => taskcluster/scripts/misc/build-clang64-st-an-windows.sh
2018-03-08 17:25:52 -05:00
Kris Maglione b5583c4ea2 Bug 1440816: Part 2 - Clone stacks when sending console messages to the parent process. r=baku
MozReview-Commit-ID: FqK2eZ3JoB2

--HG--
extra : rebase_source : dd16ca723d17fcd570837a21ad66de7d80ed1a78
2018-02-23 17:21:49 -08:00
Ben Kelly 5cf84a8b75 Bug 1438211 P9 Remove nsPIDOMWindowInner::GetServiceWorkerRegistration() and InvalidateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : a02d0490415c01f7c3330de17f9040344b4b96d4
2018-03-02 13:02:50 -08:00
Ben Kelly cfe642ab1a Bug 1438211 P8 Hold the ServiceWorkerRegistration alive until the global is detached or the backing ServiceWorkerRegistrationInfo is removed. r=asuth
--HG--
extra : rebase_source : 476e6d6a55d5e2fdff41d87d86ce9d0818361a39
2018-03-08 13:43:33 -05:00
Ben Kelly eb738424f1 Bug 1438211 P7 Hold the ServiceWorker object alive until either the window is closed or the backing ServiceWorkerInfo becomes redundant. r=asuth
--HG--
extra : rebase_source : 9edc60c9faee7410b95953fc28240618d46aef14
2018-03-02 13:02:50 -08:00
Ben Kelly d4faed071a Bug 1438211 P6 Add an integer identifier to each ServiceWorkerRegistrationDescriptor. r=asuth
--HG--
extra : rebase_source : b61dc3d41d0ad73e5465a1f598fd09195120b9e4
2018-03-02 13:02:50 -08:00
Ben Kelly 5706606e9b Bug 1438211 P5 Replace direct window/worker calls with nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 2b0f83a5e5a6e5eeac9e1401168c6653b6250c23
2018-03-02 13:02:50 -08:00
Ben Kelly b7cbf79c03 Bug 1438211 P4 Actually set the worker global on ServiceWorkerRegistration. r=asuth
--HG--
extra : rebase_source : 402ab15468191e61d597a246e1f2d8a05f8ee03a
2018-03-02 13:02:50 -08:00
Ben Kelly 84799ae3d5 Bug 1438211 P3 Implement WorkerGlobalScope::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 3e6d360edafe30f95a355df25705ab4150372c8f
2018-03-02 13:02:49 -08:00
Ben Kelly 9e928c88fb Bug 1438211 P2 Implement nsGlobalWindowInner::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 7fa79752d66f9955f574e49e094cdd7fff512306
2018-03-02 13:02:49 -08:00
Ben Kelly 0c368d6063 Bug 1438211 P1 Add nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 50aca93e94142ee42dc4446164aeec1cb2b06c52
2018-03-02 13:02:49 -08:00
Csoregi Natalia 2bb80b6666 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-03-08 20:43:00 +02:00
Mihai Tabara a93c72b42f Bug 1443104 - add shipped-locales in taskcluster taskgraph sparse profiles. r=me,bustage CLOSED TREE
MozReview-Commit-ID: 4Uz4OA9OIzQ

--HG--
extra : amend_source : c8c29effcfcd8b56f3fa2cd47ea92793435eccdb
2018-03-08 18:08:59 +00:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Brindusan Cristian 588d8120aa Merge autoland to mozilla-central. a=merge 2018-03-08 19:58:38 +02:00
Narcis Beleuzu d069c08959 Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout 2018-03-08 19:48:58 +02:00
Nicolas B. Pierron 69d0cb447e Bug 1444081 - Shutdown the Parent JSRuntime instead of leaking it. r=fitzgen 2018-03-08 17:28:37 +00:00
Mihai Tabara e3d6476239 Bug 1443104 - Properly fix the missing en-US and win4 stub installer for release-bouncer-submission. r=jlorenzo. a=release DONTBUILD
MozReview-Commit-ID: 6tEcjiprg91
2018-03-08 17:15:15 +00:00
Randall Barker a248afab67 Bug 1443283 - Prevent crash when a null or open GeckoSession is registered with GeckoView.setSession() r=jchen,esawin
MozReview-Commit-ID: HV7xoz7fr6k
2018-03-08 08:27:16 -08:00
Nathan Froyd d260382328 Bug 1443900 - don't allocate nsCStrings when doing integer parsing; r=michal
There's no need to allocate a completely new nsCString when all we want
to do is parse a character string into an integer.  We can allocate a
dependent string instead, which will avoid some memory churn.
2018-03-08 09:43:00 -05:00
Ken VanDine 7d4a79ab48 Bug 1442419 - Fixed typo in the mimeapps.list bundled in the snap r=jlorenzo 2018-03-08 13:25:12 +00:00
Nicolas B. Pierron 5cd93573c4 Bug 1443909 - Index documentation of JSMSG_BAD_INSTANCEOF_RHS. r=fscholz 2018-03-08 13:24:26 +00:00
Cosmin Sabou 4d50fd72f5 Backed out 28 changesets (bug 1436506, bug 1436451, bug 1436996, bug 1436991, bug 1436558, bug 1436398, bug 1443501, bug 1437067, bug 1436436, bug 1436497, bug 1441364, bug 1436405, bug 1441367, bug 1436440, bug 1436416, bug 1436522, bug 1443192) for mass wpt failures after backout for bug 1443558. a=backout
Backed out changeset 09992ffb6a0d (bug 1437067)
Backed out changeset 340be2f71abf (bug 1437067)
Backed out changeset fd8dcd647f0e (bug 1436996)
Backed out changeset 15ff3b2ed202 (bug 1441367)
Backed out changeset bb0cf2a57f10 (bug 1441367)
Backed out changeset 9a8713e25d0e (bug 1436522)
Backed out changeset c5e6aba65927 (bug 1436522)
Backed out changeset 9673a31cbd06 (bug 1436991)
Backed out changeset 260c6ce91561 (bug 1436558)
Backed out changeset aae516e4f973 (bug 1443501)
Backed out changeset ce2b417e9261 (bug 1443501)
Backed out changeset 8daa68e631db (bug 1441364)
Backed out changeset 6015bfa88dd2 (bug 1441364)
Backed out changeset 176a3931afef (bug 1436497)
Backed out changeset ed58e17e8abe (bug 1436497)
Backed out changeset 40628dced2b8 (bug 1436506)
Backed out changeset 0901be04972f (bug 1443192)
Backed out changeset 3f1f453a3cdd (bug 1443192)
Backed out changeset fef37d4246d4 (bug 1436451)
Backed out changeset 99fd7a7dcbca (bug 1436405)
Backed out changeset 0ee344617508 (bug 1436405)
Backed out changeset b84b7682d105 (bug 1436440)
Backed out changeset 1f8ba818cab9 (bug 1436436)
Backed out changeset 010c0213dab3 (bug 1436436)
Backed out changeset 3a2ddfdae7d9 (bug 1436398)
Backed out changeset 68ef54b2b9e0 (bug 1436398)
Backed out changeset 1ce98b09f438 (bug 1436416)
Backed out changeset 7b7d1504387a (bug 1436416)
2018-03-08 08:12:16 +02:00
Cosmin Sabou 8db07ec478 Backed out changeset 5138dcf1eddd (bug 1443558) for wpt permafailing on /service-workers/service-worker/client-navigate.https.html. a=backout 2018-03-08 07:05:18 +02:00
Cosmin Sabou aba9ad6f65 Merge inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationListenerTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationDelegateTest.kt
2018-03-08 05:59:30 +02:00
Nathan Froyd 87bc1e3aa8 Bug 1443932 - part 2 - lower the default stack size for image decoder threads; r=tnikkel
These threads should not have deep stacks, and as we can have a number
of them running simultaneously, it's beneficial to set the stack size to
something reasonably low.
2018-03-07 20:33:17 -05:00
Nathan Froyd e7492f2d00 Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm
A lot of our thread pools use the default stack size for the platform
they're on, which can be rather large (8MB, usually, on Linux and OS X)
and is probably too much for the typical thread in the thread pool
regardless.  SharedThreadPool already has some logic for selecting a
reasonable stack size for worker threads; let's move that logic to
nsIThreadManager so that logic (and constant) can be shared more
broadly.  (That we already have a couple of instances of
SharedThreadPool usage solely for this constant suggests that it is a
concept that should be available in a more central location.)
2018-03-07 20:33:17 -05:00
Noemi Erli 81ad7b78f9 Backed out 3 changesets (bug 1443660, bug 1443659, bug 1443658) for android-checkstyle bustage on a CLOSED TREE
Backed out changeset c8275e1f531e (bug 1443659)
Backed out changeset bbb5759485fe (bug 1443660)
Backed out changeset 69b649d8c1d1 (bug 1443658)
2018-03-08 02:53:31 +02:00
shindli 8e9217d36a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-08 02:27:35 +02:00
shindli 568f98c908 Merge inbound to mozilla-central. a=merge 2018-03-08 02:20:08 +02:00
shindli 8969dbf20d Merge autoland to mozilla-central. a=merge 2018-03-08 02:18:59 +02:00
James Willcox e8abe08540 Bug 1443659 - Rename GeckoSession.openWindow and closeWindow r=esawin,droeh
MozReview-Commit-ID: 1zhNRw2OJ7y
2018-03-07 17:44:44 -06:00
James Willcox 8120c9ba80 Bug 1443660 - Rename NavigationDelegate.onLoadUri() to onLoadRequest() r=jchen,esawin
MozReview-Commit-ID: o5NHVH6BMo
2018-03-07 17:44:42 -06:00
James Willcox 51b9d6b539 Bug 1443658 - Use an integer for target in NavigationDelegate.onLoadUri() target r=esawin
MozReview-Commit-ID: AXv8eHQ9sgG
2018-03-07 17:44:40 -06:00
Boris Zbarsky ca39c61532 Bug 1443652 another followup. Remove wpt .ini file that I thought I had removed.
MozReview-Commit-ID: 74gFkSrtFvA
2018-03-07 18:03:10 -05:00
Robert Strong 022768cb2a bug 1443935 - make it so browser_updatesCantApply.js test passes when it is run with the ability to elevate. r=mhowell
Locks the file in the updates directory instead of the file in the app directory.
2018-03-07 14:12:22 -08:00
Paolo Amadini 2065c0409c Bug 1443189 - Places subviews are not updated while they are open. r=Gijs
MozReview-Commit-ID: 5WHDqKsHjDJ

--HG--
extra : rebase_source : 3a325b44d09f462ec8b9c6a1e59a5743c3240fb4
2018-03-07 22:01:58 +00:00
Catalin Badea b1123e2859 Bug 1442894 - Avoid race in test_self_update_worker.html r=asuth
1. Wait for 'activating' state, since it's possible never to reach
'activated'.
2. nit change: Don't set the grace timeout to zero. This makes the test
run faster.
2018-03-08 12:45:44 +00:00