Commit Graph

532738 Commits

Author SHA1 Message Date
Andreas Tolfsen
c5eba64d1c Bug 1359427 - Hide top-level gecko.log from VCSes; r=gps
gecko.log is generated by several test harnesses.  It sometimes gets added
as part of patches that are sent out for review.  By ignoring the file,
we can prevent it from being uploaded to mozreview.

MozReview-Commit-ID: CYApQOnZJfa

--HG--
extra : rebase_source : d1e03daad26104dec8b08451b82ed673f505fa5b
2017-04-25 15:30:38 +01:00
Andreas Tolfsen
3752f5aaf4 Bug 1359043 - Remove incorrect click/scroll test r=whimboo
The test assumes the click point is the centre of the element, whereas
WebDriver uses the _in-view_ centre point to perform clicks.

If parts of the element is rendered outside the viewport, the click
point is calculated from visible portion of the element that is seen in
the viewport.

This means that if any portion of an element is within the boundaries of
the viewport, it is clickable.  If it is not, then it is not interactable.

This change is unfortunately not accompanied with any
implementation changes, but prepares Marionette for the changes
to the Element Click implementation that will come as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1321516.

MozReview-Commit-ID: Kh0zzRrtmJ4

--HG--
extra : rebase_source : 63cc463a11d5ca085e7a96ea84dcadbe3bb90204
2017-04-17 18:39:12 +01:00
Tom Tromey
b4f2234e87 Bug 1334286 - use MOZ_FORMAT_PRINTF in DMD; r=njn
Add MOZ_FORMAT_PRINTF to the appropriate spots in DMD and fix up the
one (trivial) error that this pointed out.

MozReview-Commit-ID: LS0UWV5YRoM

--HG--
extra : rebase_source : eb09be39df61a51acd46ed72a1461c495727af79
2017-04-21 15:54:05 -06:00
Carsten "Tomcat" Book
95c30cae37 Backed out changeset 0ca9044bb930 (bug 1356693) for android crashes
--HG--
extra : rebase_source : 689c8de0aaee267b02e5d79af840ecf969739648
2017-04-27 15:20:09 +02:00
Carsten "Tomcat" Book
1b10cd192e Backed out changeset 76c560e8d908 (bug 1356693)
--HG--
extra : rebase_source : baca62931b318645fc18b39153a837d7b15af81e
2017-04-27 15:19:55 +02:00
Carsten "Tomcat" Book
3cc309c314 Backed out changeset 8b672583d57c (bug 1356693)
--HG--
extra : rebase_source : 94d92549f1dfdaf81de6612e54d1aab9889ade53
2017-04-27 15:19:53 +02:00
Carsten "Tomcat" Book
d7e4098cb8 Backed out changeset 6d26ad68f31f (bug 1356693)
--HG--
extra : rebase_source : 2f0adc16fa93b32d8183fa51b36cbb02e95597bd
2017-04-27 15:19:50 +02:00
Carsten "Tomcat" Book
30461c9143 Backed out changeset 731479637eda (bug 1356693)
--HG--
extra : rebase_source : 10edf5c7c726659be04670b01f607f7099624322
2017-04-27 15:19:48 +02:00
Carsten "Tomcat" Book
6fe25dded2 Backed out changeset 1fd99a71f607 (bug 1356693)
--HG--
extra : rebase_source : 5381e1aab3a5ac3f6dc74c690d83ebf38df20e96
2017-04-27 15:19:46 +02:00
Vangelis Katsikaros
47bdbe512c Bug 1358013 - Implement status-bar tooltips. r=Honza
MozReview-Commit-ID: 89QrOF66Yll

--HG--
extra : rebase_source : 334f8bcd39479915488f1e99aa5b89f285311a14
2017-04-25 11:17:52 +03:00
Vangelis Katsikaros
a6e492ad45 Bug 1356869 - Add cookies and set cookies columns. r=ntim,rickychien
MozReview-Commit-ID: CtZAYTURypz

--HG--
extra : rebase_source : 93266d0089460c06815521d4ba6d8da77a2905db
extra : source : e75dd46fbe5f762590317280b8e6330615df5d5e
2017-04-17 20:48:32 +03:00
Vangelis Katsikaros
052e421bf8 Bug 1356872 - Hard to distinguish IP from Port in IPv6 address. r=ntim,rickychien
MozReview-Commit-ID: JqxWqaqZMI5

--HG--
extra : rebase_source : 9110863d06f01e1fdf7ae72e80f832246129ec8d
2017-04-17 09:41:29 +03:00
Henrik Skupin
d92bf63b99 Bug 1357407 - Enable logger output for framescript when remoteness is enabled. r=ato
With remoteness enabled content framescripts don't seem to inherit the
appenders for loggers, which have been set by the main script. To get
the output written to stdout they have to add their own appender. To
prevent duplicated output after framescripts get reloaded, the addition
of the appender should only happen once.

MozReview-Commit-ID: A5TMQvQu0Iy

--HG--
extra : rebase_source : 9a9ecdb8aec8d7b310b916407edbac77b8ec88c9
2017-04-27 12:09:10 +02:00
Emilio Cobos Álvarez
ac51e27e7f Bug 1359779: Also look at pseudo frames in nsComputedDOMStyle::DoGetStyleContextNoFlush. r=heycam
MozReview-Commit-ID: IvAehgyv18T

--HG--
extra : rebase_source : 402256a885c9f787f2fcfacb07a27a9db679fafb
2017-04-26 13:54:44 +02:00
Emilio Cobos Álvarez
2fb08ad9e4 servo: Merge #16629 - Bug 1336863: Ensure we don't restyle with outdated rules (from emilio:dirty-doc); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 3f8f34ed13a3dd469a8bde8503b857307e1c756c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 756e402107da9bb9bcaa53539d9e8e7e9244c069
2017-04-27 06:45:49 -05:00
Masatoshi Kimura
a4c9e326d4 Bug 1358758 - Use CSSIntRect for nsIFrame::GetScreenRect. r=kats
MozReview-Commit-ID: KXPL1ERbFDa

--HG--
extra : rebase_source : 263b18d1736b09bb62d914f066481281966b288c
2017-04-25 07:33:13 +09:00
Bob Silverberg
0c4c482352 Bug 1358127 - Fix bookmarks.search so it doesn't return the contents of tag folders, r=mak
Also fix bookmarks.search so it doesn't return separators.

MozReview-Commit-ID: 18tkepk72f8

--HG--
extra : rebase_source : c1b713e6fb4e479df710bbc244e781a3bd4de48d
2017-04-24 09:04:59 -04:00
Bob Silverberg
9e0ccac709 Bug 1359806 - Fix sessions.restore to return an object instead of an array, r=mixedpuppy
sessions.restore should always have returned an object, but landed returning an array.

MozReview-Commit-ID: EMP9UZaI6UV

--HG--
extra : rebase_source : 433a39c36aa186029255c45e642b0a56ae0300b2
2017-04-26 10:18:41 -04:00
Bob Silverberg
99b1794055 Bug 1344087 - Update browser_ext_sessions_getRecentlyClosed_tabs.js to use a URL with an identical title, r=mixedpuppy
This is to confirm that the fix that landed in https://bugzilla.mozilla.org/show_bug.cgi?id=1344857


MozReview-Commit-ID: 7pndTsHxn1b

--HG--
extra : rebase_source : 195365fae2ebb8878ec14e88749a9a56d11784e0
2017-03-06 13:55:03 -05:00
Nevin Chen
c530f92f50 Bug 1329156 - Add telemetry for customtab customization usage. r=walkingice
MozReview-Commit-ID: EJrFzvHOqOU

--HG--
extra : rebase_source : b23aed0f61d120af3f99a842f54a1848415f26e2
2017-04-26 13:37:38 +08:00
Daosheng Mu
743e36e236 Bug 1358053 - Remove DataSourceSurface assertion when doing snapshot in WebGL; r=jgilbert
MozReview-Commit-ID: 6LhmY1ouNZ9

--HG--
extra : rebase_source : 91511c1aa2f403862c8341b404a6a09d889de963
2017-04-27 17:38:37 +08:00
Makoto Kato
60ccf10a30 Bug 1360137 - Part 2. Reduce QueryInterface by NativeInit. r=masayuki
nsIDocumentEncoder has nativeInit for nsIDocumnet, we should use it to reduce QueryInterface.

MozReview-Commit-ID: Ffn19yf9jra

--HG--
extra : rebase_source : 37c8b27cc0eddd4f0501ec1e61ea27d74ee1e6f3
2017-04-27 17:41:26 +09:00
Makoto Kato
ea65a415ff Bug 1360137 - Part 1. Use LowerCaseEqualsLiteral instead of ToLowerCase. r=masayuki
From profiling TextEditor::OutputToString, most of WillOutputText is ToLowerCase.  So, we should use LowerCaseEqualsLiteral instead.  It can reduce string copy.

MozReview-Commit-ID: LwqZtxIJTbW

--HG--
extra : rebase_source : 94da785d8288dfd93666a3dcb2d374874c79db89
2017-04-27 17:40:19 +09:00
JW Wang
0941224ebb Bug 1359309. P2 - dump the name of the TaskQueue when Dispatch() fails. r=jya
MozReview-Commit-ID: AqGviaekwRa

--HG--
extra : rebase_source : 03249fa43e7fde436d1e56ef21a9a5df66e941be
extra : intermediate-source : f50b5740178e39509b85b4cf216aca0ab45de821
extra : source : 86da182d4b06bd164ead844b164e602b58b93ffa
2017-04-25 15:08:23 +08:00
JW Wang
aab9f27e0f Bug 1359309. P1 - give mozilla::TaskQueue a name which will be useful in debugging Dispatch() failures. r=jya
MozReview-Commit-ID: 5FAVNo32fl7

--HG--
extra : rebase_source : 761fca752429d95e97be699976283baa35c64abb
extra : intermediate-source : 83282a7a5adbe7046212da85f9d16e39faa4bd5c
extra : source : 924af3ea0aa86888fd2745020be7900e6eb614f0
2017-04-25 14:57:55 +08:00
Gerald Squelart
65152d49d4 Bug 1355617 - static_cast UNKNOWN_ERROR to status_t to remove harmless warning - r=alfredo
MozReview-Commit-ID: 6WCReMGpvGq

--HG--
extra : rebase_source : e9ed275e6221b18537589b9651100e5e5c2d960e
2017-04-27 17:12:02 +12:00
Jean-Yves Avenard
321df64731 Bug 1357484: [mp4] Add m4v major type support. r=jolin
MozReview-Commit-ID: LEJvov1ZfVA

--HG--
extra : rebase_source : 4f6137dfe73df8e8da65297be2bba0a4dbfafe9f
2017-04-25 12:52:56 +02:00
Emilio Cobos Álvarez
78e287ee32 Bug 1336863: Update expectations. r=heycam
MozReview-Commit-ID: 9tAOkyBnJuz

--HG--
extra : rebase_source : 28a104fd7cf6aeaacf7d88d0ba006ca9d59b9c7a
2017-04-27 13:06:27 +02:00
Emilio Cobos Álvarez
e868552184 Bug 1336863: Flush stylesheets in RestyleForCSSRuleChanges if not under an update. r=heycam
This also moves the NoteStyleSheetsChanged to RecordStylesheetChange, which
makes more sense, and stopped special-casing author styles, since it's not
needed now.

MozReview-Commit-ID: 9WKFa0JxqlU

--HG--
extra : rebase_source : 5803620c98309bd2fbb542158e69ef3ddcee9a4b
2017-04-25 21:03:18 +02:00
Gijs Kruitbosch
c4d69b8e6d Bug 1329712 - stop importing AutoMigrate.jsm early on startup now that we no longer observe places changes, r=mak
MozReview-Commit-ID: FbXkqLLSyZg

--HG--
extra : rebase_source : 2d258eb16f95f5b1e496a118c502ac8232d979c3
2017-04-25 23:04:21 +01:00
Carsten "Tomcat" Book
eff0fbf63b Backed out changeset e0bab3ab79ff (bug 971528) for asan mda failures on a CLOSED TREE 2017-04-27 13:02:47 +02:00
Carsten "Tomcat" Book
d5910216dc Backed out changeset b1eaf2cd0068 (bug 971528) 2017-04-27 13:02:02 +02:00
Brian Birtles (:birtles)
9325ab468e Bug 1355348 - Fix hazard bustage by duplicating code in Gecko_GetStyleAttrDeclarationBlock and Gecko_GetSMILOverrideDeclarationBlock on a CLOSED TREE; r=me a=bustage-fix 2017-04-27 11:54:26 +02:00
Alex Chronopoulos
fcd72ab331 Bug 971528 - Expect stereo input in MediaEngineWebRTCMicrophoneSource. r=padenot
MozReview-Commit-ID: 4W1TsogHQnL

--HG--
extra : rebase_source : 7fa552fcf4c159f5c65f33336ab2031761332a03
2017-04-27 10:24:36 +03:00
Alex Chronopoulos
e79da75180 Bug 971528 - Allow stereo capture in AudioCallbackDriver. r=padenot
* * *
[mq]: graph-driver-comments

MozReview-Commit-ID: JnU3opk8X5K
* * *
[mq]: tmp

MozReview-Commit-ID: 73CtZw4CRG

--HG--
extra : rebase_source : bca0932ccffc6348260039fc7ec829245a9b2236
2017-04-27 10:24:25 +03:00
Brian Birtles
0484ed8286 Bug 1355348 - Don't return early when sampling SMIL animations with Servo backend; r=heycam
MozReview-Commit-ID: 26PxOSB9C9l

--HG--
extra : rebase_source : 5b414022395ecef8c310b8e1351ca4072215faad
2017-04-26 13:00:12 +09:00
Brian Birtles
f0f2cdbc20 Bug 1355348 - Convert stylo assert in nsComputedDOMStyle::DoGetStyleContextNoFlush to a warning; r=hiro
This allows us to run SMIL tests that include a combination of additive and
non-additive animation.

MozReview-Commit-ID: 2uVN184h7Ge

--HG--
extra : rebase_source : f6a3dc70e20c09cbfdb8cc3149e2820575866b89
2017-04-26 13:00:12 +09:00
Brian Birtles
93862d0cba Bug 1355348 - Make nsSMILCSSValueType store an AnimationValue instead of a StyleAnimationValue; r=heycam
MozReview-Commit-ID: 7EF9CN2SdwQ

--HG--
extra : rebase_source : 7aba63b5b537655191d2031881e8a15d38589ac2
2017-04-26 13:00:12 +09:00
Brian Birtles
3a16a45d8f Bug 1355348 - Factor out method to remove minus sign from property values; r=hiro
This is just a minor refactoring to simplify ValueFromStringHelper before we
refactor it further in the next patch (and so we can re-use this definition to
produce debug warning for Servo since we don't handle negative values there
yet).

MozReview-Commit-ID: CfcnI2Be5di

--HG--
extra : rebase_source : 4e052cc37d24671159f32c3e0ca3bc48f5a73c54
2017-04-26 13:00:11 +09:00
Brian Birtles
ba8b6f981e Bug 1355348 - Add constructor to AnimationValue; r=hiro
We will use this later in this patch series to simplify the creation of SMIL's
ValueWrapper objects.

MozReview-Commit-ID: 7EF9CN2SdwQ

--HG--
extra : rebase_source : e7cf5adc4c3f72dcc4b99625a8d0cb1a2d17f7d4
2017-04-26 13:00:11 +09:00
Brian Birtles
f37fe9b84d Bug 1355348 - Move ServoComputedValuesWithParent to separate file; r=hiro
We will use this type later in this patch series in nsSMILCSSProperty so this
patch moves it to a separate file so it can be re-used.

MozReview-Commit-ID: 4Z7YbsQ9xz4

--HG--
extra : rebase_source : 0f6f7248d1a4dfc77360829f3a0e6ed263f156db
2017-04-26 13:00:11 +09:00
Brian Birtles
a7d2fa0411 Bug 1355348 - Add SMIL restyles in the stylo pretraverse; r=heycam
MozReview-Commit-ID: mwjkKr6wsr

--HG--
extra : rebase_source : 23324e128041f6d190312958dab093da382863f3
2017-04-26 13:00:11 +09:00
Brian Birtles
ba8b99bbb7 Bug 1355348 - Move IsFlattenedTreeDescendantOf helper to nsContentUtils; r=heycam
In the next patch in this series we would like to use this functionality in
nsSMILController as well so this patch moves it to somewhere we can share it.

MozReview-Commit-ID: 1IzWoCCw4aD

--HG--
extra : rebase_source : 9f2b230f774135c0c5bf60ebdff358ce0a6bc087
2017-04-26 13:00:10 +09:00
Brian Birtles
f8eabbbd4d Bug 1355348 - Add FFI for getting SMIL override styles; r=heycam
MozReview-Commit-ID: 7grK3meDOZD

--HG--
extra : rebase_source : 2abaf2f99b5850f3b1a07c667e9801c8dc14b30b
2017-04-27 11:09:55 +09:00
Brian Birtles
00e718c4d4 servo: Merge #16625 - SMIL support for Gecko (from birtles:smil-support); r=hiro,heycam
PR for [Gecko bug 1355348](https://bugzilla.mozilla.org/show_bug.cgi?id=1355348)

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because they are tested on the Gecko side

Source-Repo: https://github.com/servo/servo
Source-Revision: 8824a68063aa4f3ca87454468f382e4d2be66487

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 936553a846e86eacae01601c1ff1f515550200c6
2017-04-27 00:48:21 -05:00
Rob Thijssen
cc17391557 Bug 1359760 - enable: a11y, awsy, cpp, j, jit, jp, mn, ss suites on tc win10; r=jmaher
MozReview-Commit-ID: EVqiigyxASG

--HG--
extra : rebase_source : 96cc3d3886fbd3b8610db6d075502a69fc2e695d
2017-04-24 18:01:11 +02:00
Henrik Skupin
247b5f9899 Bug 1335778 - Make element click command check for page load and wait. r=ato
If the click command triggered a page load, it should not return before
the page has been fully loaded. With this patch we allow an opt-in for
commands to make use of an unload check. It's set to 200ms right now, and
will cancel an ongoing waitForPageLoad() if no page activity is detected.

MozReview-Commit-ID: DWV53sckBS2

--HG--
extra : rebase_source : 1b7905c101b7ebf406e88c73be5d0e069b7342c0
2017-04-20 12:12:27 +02:00
Henrik Skupin
fc3604eaf5 Bug 1335778 - Harden test_page_timeout_fail against intermittent failures. r=ato
Tests for page timeout durations have to use an HTTPD handler that delays
or slows down document load. Otherwise there a risk that the timeout error
is not returned before the document finishes loading.

MozReview-Commit-ID: HGGcXfCuaSH

--HG--
extra : rebase_source : c79b01ca4e56e21877c6fe94309b7b0424d9b552
2017-04-13 14:57:25 +02:00
Henrik Skupin
7ec2768336 Bug 1335778 - Synchronize navigate() for trigger methods using generators. r=ato
In the case when the trigger callback inside navigate() uses a generator,
the code has to be synchronized and needs to wait until the contained
command has been completed.

MozReview-Commit-ID: 8qKUMvH7HpS

--HG--
extra : rebase_source : 19a87058d62088701914ab2a468ddffaecec1fe2
2017-04-07 21:44:32 +02:00
Henrik Skupin
fd0dae0214 Bug 1335778 - Make switchToFrame synchronous for in-process frames. r=ato
In the case of switching to an in-process frame, the checkLoad timer
is setup which waits for the frame's content to finish loading.

But the command doesn't actually wait for those events and calls
sendResponse() immediately. This causes a race condition for the
following commands.

MozReview-Commit-ID: 6vuQ7paQ55K

--HG--
extra : rebase_source : ceb590f435d84ead4eba2e718e1ebaa01900d33f
2017-04-25 11:29:02 +02:00