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

439214 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 4fecfe3ea1 Bug 1203374. Part 1 - extract the code of computing canplaythrough so it is reusable. r=jya.
1. extract MediaDecoder::Statistics to its own file.
2. sort out include orders of MediaDecoderStateMachine.cpp
2015-09-10 16:37:26 +08:00
Simon Sapin bffbb2521e Bug 1202419 - Include Ahem.ttf in reftests submitted to W3C. r=dbaron 2015-09-09 14:34:58 +02:00
Ms2ger d65d89b426 Bug 1200131 - Avoid shadowing members in tuple.h; r=njn 2015-09-10 13:49:19 +02:00
Ms2ger 1d0ade5a5c Bug 1192774 - Rename nsOuterWindowProxy::GetWindow to GetOuterWindow and add an assertion; r=khuey 2015-09-10 13:49:19 +02:00
Ms2ger ce50a0bf86 Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Ms2ger f24fe7dcba Bug 1200523 - Remove leftover debugging code from js/src/Makefile.in; r=ted 2015-09-10 13:49:19 +02:00
Ms2ger 4812f07957 Bug 1193637 - Use IsMap() in HTMLImageElement::PreHandleEvent; r=mrbkap 2015-09-10 13:49:19 +02:00
Ms2ger de86214411 Bug 1193270 - Use lower-case variables for local variables in geckoview_library's Makefile.in; r=nalexander
This makes it easier to distinguish this local variable from standardized
variables.
2015-09-10 13:49:19 +02:00
Carsten "Tomcat" Book a051fc3931 Backed out 1 changesets (bug 1197700) for test failures in test_interfaces.html on a CLOSED TREE
Backed out changeset fd40cb58dca3 (bug 1197700)
2015-09-10 12:17:03 +02:00
Carsten "Tomcat" Book 5a39b1f570 Backed out 1 changesets (bug 1198636) for causing w4 test failures on a CLOSED TREE
Backed out changeset 0f7315aa8f6b (bug 1198636)

--HG--
extra : rebase_source : fbd4cf5c1983e5a57618b1d00d0d75fad71e9f5b
2015-09-10 11:36:43 +02:00
Jeremy Chen 593cd9f969 Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc
--HG--
extra : rebase_source : bec30d857f13d497fd590afed84749a00dfc5404
2015-09-08 18:16:00 +02:00
Lee Salzman 73216ad949 Bug 1201272 - add reftest for canvas shadows with destination-out op. r=jmuizelaar
--HG--
extra : rebase_source : 12cd30c3837dc69c16133b2cee0f131da65a19f5
2015-09-04 14:30:32 -04:00
Lee Salzman 3188abf696 Bug 1201272 - use a SkBlurImageFilter for Skia canvas shadows so we can better control composite operations. r=gwright
--HG--
extra : rebase_source : 3c9269cd9fa28f0b8f4c30c376f5a573e2851e7e
2015-09-04 15:29:11 -04:00
Nigel Babu 8e23eae397 Backed out changeset c1f58ad695a3 (bug 1201632) for web platform test bustage ON A CLOSED TREE 2015-09-10 14:10:03 +05:30
Nigel Babu 425d7f3817 Backed out changeset 6f01338ecce9 (bug 1186833) for web platform test bustage 2015-09-10 14:09:51 +05:30
Nigel Babu d7fb218516 Backed out changeset 1dbf68298734 (bug 1180754) for web platform test failures ON A CLOSED TREE
--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.https.html => testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.sub.html
extra : amend_source : 20669cf5d43541582bd51c27341334e40e5bc33a
2015-09-10 13:10:30 +05:30
Bob Owen 4b37ff400c Bug 1200336: Apply fix for Chromium issue 482784 for sandbox bug when built with VS2015. r=tabraldes 2015-09-10 08:25:20 +01:00
Bob Owen 921ad72925 Bug 1202024: Initialize plugin details and quirks in parent on first run for async init. r=aklotz 2015-09-10 08:25:20 +01:00
Matthew Gregan d608d9a310 Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf 2015-09-08 11:44:45 +12:00
Jed Davis 52cee33b7e Bug 1199481 - Complain more when entering sandboxing code as root. r=kang 2015-08-28 13:37:00 +02:00
Jed Davis 7c8e037b3f Bug 1199413 - Fix MOZ_DISABLE_GMP_SANDBOX so it disables all the sandboxing. r=kang
Bonus fix: don't start the chroot helper unless we're going to use
it.  For this to matter, you'd need a system with unprivileged user
namespaces but no seccomp-bpf (or fake it with env vars) *and* to set
media.gmp.insecure.allow, so this is more to set a good example for
future changes to this code than for functional reasons.
2015-08-28 12:18:00 +02:00
Julien Pagès e349eb87dd Bug 1203040 - [mozcrash] bump version to 0.16. r=ahal
--HG--
extra : rebase_source : eb6f5df720deeceb54a1fa7ad55ffc312ebee28d
2015-09-09 02:15:00 +02:00
Gerald Squelart f31596e5a6 Bug 1198435 - Call RemoveMediaElementFromURITable before modifying mLoadingSrc, so that a future LookupMediaElementURITable won't access this element anymore. r=rillian
--HG--
extra : rebase_source : 9702e206ed2bfaa0d32449e4f8798348ed307b63
2015-09-10 09:01:44 +02:00
Gerald Squelart 7c02d61a29 Bug 1198435 - MediaElementTableCount now checks that the element is not present for URIs other than the expected one. r=rillian
--HG--
extra : rebase_source : 642fee057d7f65a88bfca349b660fe91dccbf4d8
2015-09-10 09:00:15 +02:00
Tim Chien b2839ce3fd Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug
--HG--
extra : rebase_source : 6dae179e27126a9722b9d6015d933dab2252d638
2015-09-09 19:56:00 +02:00
Aidin Gharibnavaz 71e7b49d88 Bug 377630 - Preventing filename disclosure, by putting downloaded files in a private directory. r=bz
--HG--
extra : rebase_source : 9346c58103e616ac0bb1afe6f91f7ed6a558149c
2015-09-09 09:21:00 +02:00
Ting-Yu Lin 8d952a059e Bug 1200194 - Remove unneeded AccessibleCaretManager::OnScrolling(). r=roc
This functions is for hiding caret in cursor mode on desktop browser
when receiving NS_WHEEL_WHEEL, which is never used on B2G in production.

On desktop browser, a proper wheel scroll cycle begins by NS_WHEEL_START
and ends by NS_WHEEL_STOP, which was covered by gtest. Move the three
marionette test for TouchCaret only.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : b33ca79699cfffe33da1890aed10935fa7565e1c
2015-09-09 16:47:21 +08:00
Ting-Yu Lin b9f7a85db6 Bug 1200194 - Add UpdateCaretsHint to guide appearance changing. r=roc
This is the patch which fixed the bug.

When calling OnScrollPositionChanged in cursor mode, we want the
appearance of the caret to be preserved since the caret might be hidden
due to timeout. We should respect the old appearance of the caret.

Add a marionette test to ensure the caret does not appear due to
ScrollPositionChanged.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : e69ce44e11e079dc79c8e69e7aa25003ca5d0398
2015-09-09 16:47:20 +08:00
Ting-Yu Lin d8ee309227 Bug 1200194 - Tweak formatting and debug logging. r=roc
No logic change is involved.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : 2dc984fe27992b95e51f9bc1c5af52fcafc57844
2015-09-09 16:47:20 +08:00
Ting-Yu Lin cf9ff442dd Bug 1200194 - Fix AccessibleCaret is out of scrollport in cursor mode. r=roc
The comment reads "No need to consider whether the caret's position is
out of scrollport", which is untrue.

For example, the position of nsCaret might be shifted by typing and be
covered by other elements. So we need to set the appearance of first
caret to NormalNotShown when it becomes invisible.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : c5990c1b544354b80295507e3d886eb7bd11ed15
2015-09-09 16:47:20 +08:00
Ting-Yu Lin 4c1ccfafa3 Bug 1200194 - Expose nsCaret::GetFrameAndOffset for reuse. r=roc
This function can be reused by AccessibleCaret.

--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : ec6bb5f771f14d5b39c598c51bccced48909945d
2015-09-09 16:47:20 +08:00
Ting-Yu Lin 3ae4454e2a Bug 1200194 - Make Appearance convertible to string representation. r=roc
--HG--
extra : commitid : KCG4QMsPhdY
extra : rebase_source : ebad97bf4ed57a5f532f94074c035ddb3dabaf47
2015-09-09 16:47:20 +08:00
Nikhil Marathe 34d95d44bf Bug 1180754 - Get serviceworkerobject-scripturl test passing. r=bkelly
This commit does several things:
1. Change to https so the test does not fail due to security exceptions.
2. Change function service_worker_unregister to get around the "getRegistration() matches most specific registration" issue by matching exact scope.
3. Uses the URL object for the "absolute" test instead of relying on server substitution since it achieves the same thing.
4. Allows fragments in the scriptURL since I cannot find anything in the spec preventing this. I have filed https://github.com/slightlyoff/ServiceWorker/issues/742 to resolve this.

Update web-platform-tests expected data

--HG--
rename : testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.sub.html => testing/web-platform/mozilla/tests/service-workers/service-worker/serviceworkerobject-scripturl.https.html
extra : commitid : FdkKoMW3YAD
extra : rebase_source : bbece1fa3fd431ef8102b5edd154387416e4eef6
extra : source : dd3fd15e5522ce319fe4f6387934e8664b14a0be
2015-08-31 17:52:52 -07:00
Karl Tomlinson bc7c1ee7ee bug 1198656 delay AudioBuffer allocation until required r=padenot
This saves an allocation and zeroing for buffers generated by AudioNodes and
avoids allocation altogether for empty buffers.

Incidentally, RestoreJSChannelData() now avoids unnecessary recreation of
Float32Arrays if they already exist after a previous call failed.

--HG--
extra : transplant_source : %DAn7%D1J%C3%04%23%2B%A1%15%9F%95%E2%21%18%21%D2W%1F
2015-08-24 19:30:36 +12:00
Karl Tomlinson 393ecf041a bug 1198656 clear references in mJSChannels on successful content acquire r=padenot
The array buffers are no longer available and mJSChannels will be overwritten
in RestoreJSChannelData() before it is used again.  This is consistent with
"Attach ArrayBuffers containing copies of the data to the AudioBuffer, to be
returned by the next call to getChannelData."

--HG--
extra : transplant_source : x%C9%7C%D0%D9%08%CD%17%3F%D6o%BE3%BD%DCQE%DD%E5%9E
2015-08-24 15:06:43 +12:00
Karl Tomlinson 1acf06d43d bug 1198656 refactor acquiring the content into an object method r=padenot
This makes it clearer that the algorithm is intentionally aborted when any of
the buffers have been neutered and that the stolen data has the correct
length.

It also makes mJSChannels available for clearing in a subsequent changeset.

--HG--
extra : transplant_source : %9A%AA%D2Rs5%C9%BA%F9%26%9E%3C%9C%2C%40%D3%EA%23%BE%CA
2015-08-25 08:51:55 +12:00
Karl Tomlinson ea0e72c924 bug 1198656 interpret null ConvolverNode mBuffer as a buffer of zeros r=padenot
Zero output even when normalize is set is consistent with
http://webaudio.github.io/web-audio-api/#widl-ConvolverNode-normalize
due to the specified isinf() test.

--HG--
extra : transplant_source : %17%BA%82%80%7DK%0EZOGg%7B%C0%0D%BF%93%D2%82%A0%E8
2015-08-21 17:14:14 +12:00
Karl Tomlinson a56361388e bug 1198656 remove unnecessary reinterpret_casts r=padenot
JS_StealArrayBufferContents() returns void*.

--HG--
extra : transplant_source : %99%D0%DB%BC%EA%F5%D4%DB%01%88M%B9%E8%00%F1%3C%A0%B9%3D%FB
2015-08-21 16:44:04 +12:00
Nikhil Marathe 310a2420da Bug 1198636 - Remove incorrect ini file. r=bkelly
Bug 1189678 forgot to remove the ini file itself though the expectation data was updated.

--HG--
extra : commitid : BZjQyf7fuwo
extra : rebase_source : 57e2e305628b3f9624a548b83e54055e803cbcfb
extra : source : 97d3c0679108798e847e630cc8d07ea20f583e32
2015-09-08 16:57:03 -07:00
Nikhil Marathe 232a5892cb Bug 1186833 - register-same-scope-different-script-url.https.html fixes. r=bkelly
Update web-platform-tests expected data

--HG--
extra : commitid : 1r6fVuNoGBQ
extra : rebase_source : 88c59299e8bf31c4e5cade023fd33e2dba25890c
extra : source : abf8bb1b538a7d1172a732677b6b194bc10470b8
2015-09-08 12:56:40 -07:00
Nikhil Marathe cd9d0eb7ab Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data

--HG--
extra : commitid : 4dM6kivKeAc
extra : rebase_source : 64e40258a98b79064d5073422811fb8e1f688735
2015-09-04 12:00:24 -07:00
Nikhil Marathe 04bf053d91 Bug 1201632 - wptserve.py should send JSON failure message with correct mime type. r=jgraham
According to the JSON RFC [1] the official mime type is "application/json". If
we do not send this, Gecko will not fire the onload event for a frame trying to
load such a URL but will instead load an error page.

Several service worker tests rely on loading 'fake' iframes that 404 but
contribute to the progress of the test by watching for the onload event.
These tests are fixed by this patch.

[1]: http://www.ietf.org/rfc/rfc4627.txt

--HG--
extra : commitid : 1sHk7zvboJq
extra : rebase_source : 40b4891a3ba1d485e4cb82bca9a0d0cb507b8744
extra : source : 03f74eacbc7569bc6e425f0d4fd7dceaa0e3f3b3
2015-09-08 16:05:43 -07:00
Nicholas Nethercote ffb1fefc9f Bug 1202526 (part 8) - Use PLDHashTable::RemoveEntry() in the cycle collector. r=mccr8.
This avoids repeating the hash table search in order to remove a CC graph
entry, which is good because it's a common operation.
2015-09-07 21:15:32 -07:00
Nicholas Nethercote 957b39e8ff Bug 1202526 (part 7) - Use PLDHashTable::RemoveEntry() in prefs code. r=bz.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:21:03 -07:00
Nicholas Nethercote abe8a4f58a Bug 1202526 (part 6) - Use PLDHashTable::RemoveEntry() in XULDocument. r=bz.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote b1cf90c1e5 Bug 1202526 (part 5) - Use PLDHashTable::RemoveEntry() in nsSecureBrowserUIImpl. r=dkeeler.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote dc1d9c7902 Bug 1202526 (part 4) - Avoid PL_DHashTableRawRemove() in nsPropertyTable. r=bz.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote 9a0ec7b3f4 Bug 1202526 (part 3) - Avoid PL_DHashTableRawRemove() in nsDocument. r=bz.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote f2ac4f7d13 Bug 1202526 (part 2) - Avoid PL_DHashTableRawRemove() in nsLoadGroup. r=mcmanus.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote de8fceb34d Bug 1202526 (part 1) - Add PLDHashTable::RemoveEntry(). r=froydnj.
This patch also consolidates the shrink handling so it's now entirely within
ShrinkIfAppropriate().
2015-09-07 19:20:12 -07:00