Commit Graph

261686 Commits

Author SHA1 Message Date
Ms2ger
5d528cae61 Bug 1200131 - Avoid shadowing members in tuple.h; r=njn 2015-09-10 13:49:19 +02:00
Ms2ger
09249500e5 Bug 1192774 - Rename nsOuterWindowProxy::GetWindow to GetOuterWindow and add an assertion; r=khuey 2015-09-10 13:49:19 +02:00
Ms2ger
e82a245870 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
c4ccf1bbb3 Bug 1200523 - Remove leftover debugging code from js/src/Makefile.in; r=ted 2015-09-10 13:49:19 +02:00
Ms2ger
8dbd3eea77 Bug 1193637 - Use IsMap() in HTMLImageElement::PreHandleEvent; r=mrbkap 2015-09-10 13:49:19 +02:00
Ms2ger
f4ea2b8113 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
158d48f0b6 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
e4f665a26d Backed out 1 changesets (bug 1198636) for causing w4 test failures on a CLOSED TREE
Backed out changeset 0f7315aa8f6b (bug 1198636)
2015-09-10 11:36:43 +02:00
Jeremy Chen
c7798ae030 Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc 2015-09-08 18:16:00 +02:00
Lee Salzman
0610b3f7e8 Bug 1201272 - add reftest for canvas shadows with destination-out op. r=jmuizelaar 2015-09-04 14:30:32 -04:00
Lee Salzman
49cd1706a7 Bug 1201272 - use a SkBlurImageFilter for Skia canvas shadows so we can better control composite operations. r=gwright 2015-09-04 15:29:11 -04:00
Nigel Babu
80feeb041e 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
df9476380b Backed out changeset 6f01338ecce9 (bug 1186833) for web platform test bustage 2015-09-10 14:09:51 +05:30
Nigel Babu
d421b78a08 Backed out changeset 1dbf68298734 (bug 1180754) for web platform test failures ON A CLOSED TREE 2015-09-10 13:10:30 +05:30
Bob Owen
968f7dcb98 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
ba1c9c4e6a 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
d797556fc9 Bug 1200148 - Sanity check header lengths in Vorbis CodecData. r=derf 2015-09-08 11:44:45 +12:00
Jed Davis
73e5925f9f Bug 1199481 - Complain more when entering sandboxing code as root. r=kang 2015-08-28 13:37:00 +02:00
Jed Davis
f1c44b5199 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
45be275171 Bug 1203040 - [mozcrash] bump version to 0.16. r=ahal 2015-09-09 02:15:00 +02:00
Gerald Squelart
4db8047261 Bug 1198435 - Call RemoveMediaElementFromURITable before modifying mLoadingSrc, so that a future LookupMediaElementURITable won't access this element anymore. r=rillian 2015-09-10 09:01:44 +02:00
Gerald Squelart
0a65112461 Bug 1198435 - MediaElementTableCount now checks that the element is not present for URIs other than the expected one. r=rillian 2015-09-10 09:00:15 +02:00
Tim Chien
8094440dd0 Bug 1197700 - Correct mistakes in InputMethod.webidl. r=kanru, r=janjongboom, sr=smaug 2015-09-09 19:56:00 +02:00
Aidin Gharibnavaz
9a1b7bbd9d Bug 377630 - Preventing filename disclosure, by putting downloaded files in a private directory. r=bz 2015-09-09 09:21:00 +02:00
Ting-Yu Lin
c2614d2dd3 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.
2015-09-09 16:47:21 +08:00
Ting-Yu Lin
356b7f63f0 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.
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
f556e3794f Bug 1200194 - Tweak formatting and debug logging. r=roc
No logic change is involved.
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
9ccfd6adc3 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.
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
fbc2e5b59b Bug 1200194 - Expose nsCaret::GetFrameAndOffset for reuse. r=roc
This function can be reused by AccessibleCaret.
2015-09-09 16:47:20 +08:00
Ting-Yu Lin
64e12e973f Bug 1200194 - Make Appearance convertible to string representation. r=roc 2015-09-09 16:47:20 +08:00
Nikhil Marathe
2f098f3bcf 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
2015-08-31 17:52:52 -07:00
Karl Tomlinson
ada18b91e4 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.
2015-08-24 19:30:36 +12:00
Karl Tomlinson
4899346306 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."
2015-08-24 15:06:43 +12:00
Karl Tomlinson
5dab52baa3 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.
2015-08-25 08:51:55 +12:00
Karl Tomlinson
a35e87a6c9 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.
2015-08-21 17:14:14 +12:00
Karl Tomlinson
8454bc41cd bug 1198656 remove unnecessary reinterpret_casts r=padenot
JS_StealArrayBufferContents() returns void*.
2015-08-21 16:44:04 +12:00
Nikhil Marathe
9c5c6b1cc4 Bug 1198636 - Remove incorrect ini file. r=bkelly
Bug 1189678 forgot to remove the ini file itself though the expectation data was updated.
2015-09-08 16:57:03 -07:00
Nikhil Marathe
40bf141a0d Bug 1186833 - register-same-scope-different-script-url.https.html fixes. r=bkelly
Update web-platform-tests expected data
2015-09-08 12:56:40 -07:00
Nikhil Marathe
33d00f662c Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
Update web-platform-tests expected data
2015-09-04 12:00:24 -07:00
Nikhil Marathe
41d10b9764 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
2015-09-08 16:05:43 -07:00
Nicholas Nethercote
4813d140f8 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
b3bbb46587 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
330bbd2c56 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
58f8fe3be0 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
e10c16ff5e 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
87cb641549 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
195ed3b729 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
21f8407d54 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
3c37a03157 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
e8e33db296 Bug 1203160 - Part 1: Turn service workers and fetch interception on in Fennec Nightly; r=nsm 2015-09-10 01:05:16 -04:00