Commit Graph

439201 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
0cb3e73aaa Bug 1203160 - Part 2: Fix the interfaces tests to allow SW interfaces for non-release Fennec; r=baku 2015-09-10 01:05:17 -04:00
Ehsan Akhgari
e622d9b039 Bug 1203160 - Part 1: Turn service workers and fetch interception on in Fennec Nightly; r=nsm 2015-09-10 01:05:16 -04:00
Brian Birtles
5452d490a2 Bug 1194037 part 5 - Make AnimationProperty::operator== ignore mWinsInCascade; r=heycam 2015-09-10 14:03:46 +09:00
Tooru Fujisawa
461ac55c6c Bug 774364 - Part 5: Add missing explicit keyword. r=me
--HG--
extra : amend_source : 811e27ffdee197c0e26249eff4433c9455631cdd
2015-09-10 13:30:35 +09:00
Tooru Fujisawa
f3972a8f88 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl
--HG--
extra : rebase_source : 6c907f34c29df55c0a828f24b710d4d57b4715d2
2015-08-07 07:42:17 +09:00
Tooru Fujisawa
95b4f82022 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev, f=rankov
--HG--
extra : rebase_source : f71a0f67a533866a29f22d21b7229ebf621e5179
2015-08-07 07:41:16 +09:00
Tooru Fujisawa
1aca1daf09 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl
--HG--
extra : rebase_source : d1f7d60c270ddc7fae54f8c57ce114068895a0ab
2015-08-07 07:39:12 +09:00
Tooru Fujisawa
cc66032742 Bug 1195578 - Part 2: Get a token next to an arrow function with block body with Operand modifier. r=Waldo
--HG--
extra : rebase_source : f0bfa2088149cebcc4421093b1bb55b02bb92b7c
2015-08-18 10:43:48 +09:00
JW Wang
baa34189c7 Bug 1202540 - Remove MDSM::mPlayStartTime. r=kinetik. 2015-09-10 11:31:30 +08:00
JW Wang
857b5c3055 Bug 1202351 - Remove MDSM::mPlayDuration. r=cpearce. 2015-09-10 10:19:42 +08:00
Cameron McCormack
caf777f1cb Bug 1194856 - Load noscript.css and noframes.css from data: URLs in release builds. r=dbaron 2015-09-10 13:24:12 +10:00
Kartikaya Gupta
e45e2f99e5 Bug 1151102 - Add some diagnostic logging. r=snorp
--HG--
extra : commitid : HGgmg6anUOh
2015-09-09 23:22:19 -04:00
Kartikaya Gupta
8f2b8f8996 Bug 1202290 - Remove special-case condition for Fennec that is not needed any more. r=tn
The special-case was added back when the Fennec dynamic toolbar showing/hiding
behaviour didn't resize the content area. As of bug 1180295 that is no longer
the case, and showing/hiding the dynamic toolbar *does* resize the content area.
Therefore the widget bounds always represents the actual content area and can
be used directly as the composition bounds.

In addition, the special-case code relied on a particular quirk of the Fennec
CSS viewport determination code which was removed in bug 1180267. The quirk was
that the CSS viewport height was always set such that it would cover the
available screen height when the page was zoomed out to the minimum allowed
zoom. This behaviour was technically incorrect as it would ignore any height
properties provided in the meta-viewport tag. Now that this quirk has been
removed, the special-case code breaks because the root frame's height is
independent of the screen height and can result in an incorrect composition
bounds.

--HG--
extra : commitid : 69FDhj50WEN
2015-09-09 23:22:19 -04:00