Commit Graph

228677 Commits

Author SHA1 Message Date
Ben Kelly
d38f4641c3 Bug 1100398 P2 Make nsStringInputStream cloneable. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
a4ec611b4f Bug 1100398 P1 Add the nsICloneableInputStream interface. r=froydnj 2015-02-10 23:55:43 -05:00
Ben Kelly
7f8ecbcda1 Bug 1100398 P0 Break out helper routines to support gtests for more stream types. r=froydnj 2015-02-10 23:55:43 -05:00
Brian Hackett
9d0aedc591 Bug 1131297 - Remove unnecessary type barrier elision, r=jandem. 2015-02-11 12:49:00 -07:00
Brian Hackett
3e42bb7092 Bug 1127167 - Avoid creating mutant half-native half-non-native objects when making unboxed layouts, r=jandem. 2015-02-11 12:44:26 -07:00
Brian Hackett
eb31312af7 Bug 1128490 - Mark formal arguments in Ion frames which use lazy arguments, r=jandem. 2015-02-11 12:40:41 -07:00
Kyle Huey
74b0d30200 Bug 1126248: Enable skia by testing CPU_ARCH, which is more narrowly defined than target_cpu. r=glandium,jrmuizel 2015-02-11 11:09:16 -08:00
Christoph Kerschbaumer
f73cc2b32f Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ - tests (r=gijs) 2015-02-11 08:51:35 -08:00
Nathan Froyd
cdc1157352 Bug 1118502 - part 2 - ensure addOneTab sees a referrer URI if it was available; r=mconley
addOneTab uses the existence of a referrer URI to determine where to
position the newly opened tab.  Bug 1031264 changed callsites so that a
referrer URI was no longer passed in if the opening link had
rel=noreferrer set on it.  This change, then, broke placement of newly
opened tabs if their opening link had rel=noreferrer on it.

Instead of not passing in the referrer URI if rel=noreferrer, let's
instead explicitly tell addOneTab whether rel=noreferrer was present on
the opening link.  Then addOneTab can hide the referrer URI from the
actual network request, while still using the referrer URI to determine
tab placement.
2015-02-06 14:00:45 -05:00
Nathan Froyd
91a0018d2e Bug 1118502 - part 1 - fixup grabbing of documentURIObject; r=mconley
The patch for bug 1031264 factored out an _openLinkInParameters
function.  But this new function grabbed the referrerURI from
|document|, rather from the passed in |doc|, whereas all the callers had
obtained |referrerURI| from the (to-be-passed-in) |doc| object.  Let's
fix this mix-up before going any further.
2015-02-06 13:02:44 -05:00
Nathan Froyd
d00f3c3065 Bug 1036515 - narrow the scope of unlocking mMonitor in nsTimerImpl::PostTimerEvents; r=bsmedberg 2015-02-06 16:19:36 -05:00
Terrence Cole
3a79014ac6 Bug 1131405 - GC more aggressively when we run out of memory; r=sfink 2015-02-10 14:08:18 -08:00
Andrew McCreight
c946357872 Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Andrew McCreight
55eaced49c Bug 1131199, part 1 - Allocation of CompareCacheHashEntryPtr::entry is infallible. r=froydnj 2015-02-11 09:46:40 -08:00
Ryan VanderMeulen
ab385272c1 Backed out 12 changesets (bug 1107336) for Marionette harness bustage on a CLOSED TREE.
Backed out changeset 5075f0063d70 (bug 1107336)
Backed out changeset 9ef91d4fcf3b (bug 1107336)
Backed out changeset 995911340bf7 (bug 1107336)
Backed out changeset 4817d3cd3810 (bug 1107336)
Backed out changeset dad798a5e595 (bug 1107336)
Backed out changeset 4f60c437140c (bug 1107336)
Backed out changeset f92a5c6256fa (bug 1107336)
Backed out changeset 399a436c6e5f (bug 1107336)
Backed out changeset 0d04801bb2f0 (bug 1107336)
Backed out changeset 60d9d4d20971 (bug 1107336)
Backed out changeset 9c4b171c23be (bug 1107336)
Backed out changeset a07bb95eb209 (bug 1107336)
2015-02-11 12:15:22 -05:00
David Burns
03a5a26468 Bug 1107336: Correct import on test to use marionette driver package; r=me on CLOSED TREE 2015-02-11 16:35:23 +00:00
David Burns
719e74b382 Bug 1107336: Update Marionette unit tests to use Marionette Driver modules; r=jgriffin 2015-01-23 20:53:31 +00:00
David Burns
4c118b3f66 Bug 1107336: update Marionette-Client dependencies to include marionette driver; r=jgriffin 2015-01-21 00:32:24 +00:00
David Burns
56bedd28bc Bug 1107336: selection tests imports for marionette; r=jgriffin 2015-01-09 21:42:06 +00:00
David Burns
467073cb64 Bug 1107336: correct loop imports for marionette; r=jgriffin 2015-02-10 00:49:24 +00:00
David Burns
be78a81548 Bug 1107336: Update imports to new Marionette Driver from runner; r=jgriffin 2015-01-05 21:51:03 +00:00
David Burns
cd0bb98181 Bug 1107336: update tests not covered by manifest for when they are ready; r=jgriffin 2014-12-11 15:56:44 +00:00
David Burns
dff135201e Bug 1107336: Update testsuite targets to make sure MarionetteDriver is available; r=jgriffin 2014-12-10 23:54:15 +00:00
David Burns
3693de282b Bug 1107336: Move marionette code for driving the browser out of the runner; r=jgriffin 2014-12-09 20:33:03 +00:00
David Burns
2d2ac52ee6 Bug 1107336: Update layout tests that use marionette to use new Marionette Driver module; r=jgriffin 2014-12-09 20:21:32 +00:00
David Burns
abdb285077 Bug 1107336: Update mach for newly created MarionetteDriver; r=jgriffin 2014-12-09 20:14:23 +00:00
David Burns
fead9e4b78 Bug 1107336: Update b2g desktop imports to use marionette driver; r=ahal 2015-01-26 14:07:28 +00:00
Carsten "Tomcat" Book
9e96698d8a Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
Andrew Halberstadt
e55738f586 Bug 1129495 - [mozlog] Add optional 'path' attribute to test_start, r=jgraham 2015-02-10 17:11:35 -05:00
Andrea Marchesini
89b656f752 Bug 1131963 - RequestSyncService must use also the task name to identify the correct task, r=fabrice 2015-02-11 15:38:22 +01:00
David Parks
75b7fa4b98 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Change the PuppetWidget from defining screen coordinates from
tab-content-relative to being based on actual screen geometry.
PuppetWidgets can have position.  In the parent process, the
widget has a position and a separate client position (that
includes OS window chrome... on Linux and Windows as others have no
chrome).  In the child process, the widget (non-origin) position,
whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
c75eab55ac Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Math for window chrome calculation was off on Linux.  Removed redundant,
and incorrect, math in favor of other better functions.
2015-01-30 15:55:27 -08:00
David Parks
37c86cc5ea Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
mapScreenCoordinatesFromContent is now wrong, unnecessary, and gone.
2015-02-04 04:22:30 -08:00
David Parks
56a4261145 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Tooltip math was not HiDPI-ready.  Bug is exposed by this patch.
2015-01-28 16:32:46 -08:00
David Parks
2786fdf5c6 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
David Parks
7bf0a48eab Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location.  Previously, in the content process, all widgets were defined to be located at the screen origin.  This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Jeff Muizelaar
738a667bbd Bug 1131446. mFrameHasNoAlpha is mostly pointless. r=seth
Starting with bug 391583 we detect whether a png image has any transparency
during decode. I don't think this is worth doing anymore. We choose the format
of image based on the png header, that should be sufficient for the performance
improvement we desire from opaque images. This gets us faster image decoding.
2015-02-10 13:26:14 +08:00
Andrew Halberstadt
0c069fd2ef Bug 1123763 - [manifestparser] Implement filter system for manifest.active_tests(), r=ted
A filter is a callable that accepts an iterable of tests and a dictionary of values (e.g mozinfo.info) and returns an iterable of tests. Note filtering can mean modifying tests in addition to removing them. For example, this implements a "timeout-if" tag in the manifest:

    from manifestparser import expression
    import mozinfo

    def timeout_if(tests, values):
        for test in tests:
            if 'timeout-if' in test:
                timeout, condition = test['timeout-if'].split(',', 1)
                if expression.parse(condition, **values):
                    test['timeout'] = timeout
        yield test

    tests = mp.active_tests(filters=[timeout_if], **mozinfo.info)
2015-02-10 09:38:29 -05:00
Carsten "Tomcat" Book
efd1472d2b Merge mozilla-central to mozilla-inbound 2015-02-11 15:00:07 +01:00
Carsten "Tomcat" Book
5ac50b27cc merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Nicolas B. Pierron
fd0008bf8b Bug 1130039 - Bailout: Add padding to reconstructed BaselineStub and Rectifier frames. r=jandem 2015-02-11 14:51:43 +01:00
Carsten "Tomcat" Book
7b9dad35e6 merge b2g-inbound to mozilla-central a=merge 2015-02-11 14:51:31 +01:00
Jan de Mooij
d40bd5d899 Bug 1129382 - Add Ion ICs for scripted getters/setters. r=efaust,nbp,djvj 2015-02-11 14:42:01 +01:00
Andrea Marchesini
10996654ee Bug 1130663 - requestsync-manager::runNow to allow for an immediate sync, r=fabrice 2015-02-11 14:32:45 +01:00
Carsten "Tomcat" Book
341e2dae13 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
L. David Baron
9e6abc06e5 Bug 718157 - Fix dynamic changes of percentage text-indent when the parent's size changes and the element's size does not. r=jfkthame
This code needs to move out of PrepareResizeReflow() (and things that
trigger code in it) because PrepareResizeReflow is conditioned on the
block itself resizing.

The reftest is based on a test by Jesse Ruderman <jruderman@gmail.com>.

The reftest fails without the patch and passes with the patch.
2015-02-11 22:43:05 +11:00
Robert Longson
7af3d2b6ef Bug 1108887 - Backout part 2 of bug 949435 (SVG iframe). r=bzbarsky 2015-02-11 11:20:50 +00:00
Jonathan Kew
757e97306e Bug 1117210 - Reftest for baseline-snapping in vertical writing modes. r=smontagu 2015-02-11 10:59:39 +00:00
Jonathan Kew
3fe02e0f8a Bug 1117210 - Snap text baselines to device pixels in vertical writing modes. r=smontagu 2015-02-11 10:59:06 +00:00
Carsten "Tomcat" Book
583140e5c7 Backed out changeset df2290db92d0 (bug 1117210) for breaking m5 tests on a CLOSED TREE 2015-02-11 11:28:19 +01:00