Commit Graph

502445 Commits

Author SHA1 Message Date
Tom Tromey
f504948b28 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY

--HG--
extra : rebase_source : dac78e13ef9e52c5f36c17372d023be62c4396e7
2016-11-21 08:47:10 -07:00
Tom Tromey
b6eca933c1 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT

--HG--
extra : rebase_source : 484a654309eab406913f944d6aa8988c567641d7
2016-11-14 15:46:19 -07:00
Rob Wood
38a04b8138 Bug 1321048 - add talos-test option to not download tp5 pageset; r=jmaher
MozReview-Commit-ID: KtpbABSg40a

--HG--
extra : rebase_source : cb6eece796aa41b03b86dcef503d096fad570fe3
2016-12-01 11:20:22 -05:00
Adrianzatreanu adrianzatreanu1@gmail.com
271c772320 Bug 1321480: Make Firefox Puppeteer use Marionette's "page load" timeout r=whimboo
This is being used instead of a self-defined Browser.timeout.

MozReview-Commit-ID: 5zAqI38AdHs

--HG--
extra : rebase_source : 1d47dd27db65cde30f5b8b6e7fd38c18fc67243e
2016-12-01 14:38:11 +02:00
Ralph Giles
492e3e6a3b Bug 1320741 - Recommend rustup target add. r=chmanchester
Provide some guidance on how to resolve the common

  error: can't find crate for `std`

when cross-compiling rust code. This most commonly comes up
with the Android build.

MozReview-Commit-ID: 8PKKt7tf1KS

--HG--
extra : rebase_source : 5d18bb3a2ef8b3c4c5700b87c4a899b26160999d
2016-11-28 10:51:59 -08:00
Thom Chiovoloni
39c3163cf7 Bug 1321396 - Skip oversized records without aborting the sync by default in sync engines. r=markh
MozReview-Commit-ID: 7hgzyKb2UxY

--HG--
extra : rebase_source : 7c7f238a8e46b0776afe83798061d1539b07f76c
2016-11-30 17:28:52 -05:00
J. Ryan Stinnett
51505bd886 Bug 1318675 - Reconnect find bar when toggling RDM. r=ochameau
MozReview-Commit-ID: 4IoXvTZXbKW

--HG--
extra : rebase_source : f86449933dbc3946a94de41ef723eddae1d8361e
2016-11-28 20:46:47 -06:00
Ethan Glasser-Camp
e1c5d29c37 Bug 1319742 - UUIDs should be strings, not objects, r=markh
`generateUUID()` returns an `nsID`, which is not exactly the same as a
UUID. `nsID`s can be converted to strings using `toString()`, but if
you use `JSON.stringify()`, they become `{}`. Object comparison in JS
performs identity comparison, which would be useless even if the UUIDs
were sensible, which they aren't. As a result, trying to sync keyrings
always failed, because it always seemed like UUIDs had changed, even
when they hadn't.

Because it never occurred to me that UUIDs wouldn't be strings, I
never even wrote a test for this. Correct this, and fix the test.

Thanks to :vasilica_mihasca and :markh for reporting and diagnosing this.

MozReview-Commit-ID: EthxkFFwRbQ

--HG--
extra : rebase_source : 7b2a258d85bf8aab2bf9895e3a8cac9d34ab8435
2016-11-29 14:15:55 -05:00
Sebastian Hengst
fbf9d0b2f9 Backed out changeset 1c6c9a6c9b16 (bug 1321497) for failing browser_mediaPlayback_suspended_multipleAudio.js. r=backout 2016-12-01 17:09:29 +01:00
Kaku Kuo
57fc60a1b4 Bug 1321142 - remove SeekingState::mVisibility; r=jwwang
MozReview-Commit-ID: 2hCNDnVJ6k0

--HG--
extra : rebase_source : 8aa07563bec07d4d9fc95ba0e8fb466d1ef6c377
2016-11-29 18:41:04 +08:00
Ethan Glasser-Camp
8c71fbb490 Bug 1319884 - Leftover cleanups, r=MattN
I didn't realize this file was here when I updated kinto.js to 6.0.0.

MozReview-Commit-ID: 4G1cplpz4r5

--HG--
extra : rebase_source : 228ce612db2c7d648d82b541f9b01a4e96e285b4
2016-11-23 14:22:44 -05:00
Ethan Glasser-Camp
b80b66c130 Bug 1319884 - Address FirefoxAdapter feedback from kinto.js#589, r=mgoodwin
Change FirefoxAdapter definitively to require an externally-managed
Sqlite connection in order to function. This connection must be
produced by calling an openConnection() static method, which does the
work of initializing the tables and schema. Passing any other
connection is wrong, but won't be detected at runtime, and might even
work depending on the previous state of the database. Future work
might define a new KintoSqliteConnection type that can only be
produced by this method, so that it's impossible to create an
uninitialized Kinto database.

This change, since it moves Sqlite connections out of the
FirefoxAdapter, also means that the path option is no longer handled
or provided with a default. This means that the previous default,
"kinto.sqlite", is now preserved in a bunch of places all over the
codebase. This is unfortunate, but a migration is outside the scope of
this patch.

MozReview-Commit-ID: BKJqPR3jOTq

--HG--
extra : rebase_source : 91e0027890ac5fd0ba683abddc23e268f672d169
2016-11-23 14:18:53 -05:00
Evan Tseng
498e56ef81 Bug 1318605 - Do language detection to get text direction, r=Gijs
MozReview-Commit-ID: JxEw7e5y5r1

--HG--
extra : rebase_source : 05ea7d67779ec74bb2abce4b46ee3567cadbc34b
2016-11-18 18:36:12 +08:00
Kaku Kuo
b07884be80 Bug 1321140 - don't clamp up the SeekTarget again in the AccurateSeekTask's constructor; r=jwwang
MozReview-Commit-ID: KQro2Sk1dRg

--HG--
extra : rebase_source : 513a1ca1262defb905fd2c891d443b05b418632f
2016-11-29 17:59:22 +08:00
Jan Henning
d67b48b711 Bug 1320987 - Stop leaking tabs during test_session_zombification. r=gbrown
A subtest's cleanup function only runs at the very end, after *all* subtests have finished. This means that we cannot use it to close the test tabs if we want to reuse the tab variables during following subtests. If we did, we'd be leaking those previous tabs, meaning they remain open at the end of the test and cause possible problems for following tests as well as lots of "Unable to restore focus" messages in the log.

MozReview-Commit-ID: H87JQ5gcIAg

--HG--
extra : rebase_source : 5e870acba4c8ee05557f1ac0175bda12606b4e28
2016-11-30 21:53:33 +01:00
Kaku Kuo
90fd151cc8 Bug 1321497 - correct the logic of resuming from AudioChannel; r=alwu,jwwang
MozReview-Commit-ID: JxeqdzADlrU

--HG--
extra : rebase_source : 9bee2b418ef221c33c77cdc39a48105bca70f1ac
2016-12-01 16:30:18 +08:00
Julian_Chu
374e6cda76 Bug 1314835: Add more debug information to TelemetryPingStore r=sebastian
So far still cannot find the reason of causing exception. To add more
debug information to make sure it is not permssion problem.

MozReview-Commit-ID: 7hhU7Et64Qs

--HG--
extra : rebase_source : 84ac7c066468bf613afe0513b2ce00081e16f62c
2016-11-15 14:35:59 +08:00
Sergei Chernov
19e9f4d7ed Bug 1317951, part 2 - Certificate Transparency - basic support for disqualified logs. r=keeler
MozReview-Commit-ID: 4y2JYFnO9Xm

--HG--
extra : rebase_source : 3d6dbfa4d0a6a24dbd8907f42071943895ba068a
2016-11-29 22:51:46 +02:00
Sergei Chernov
08a30eac51 Bug 1317951, part 1 - Certificate Transparency - extracted verification related fields from SCT to a separate struct. r=keeler
MozReview-Commit-ID: 3iHUdZrzyXB

--HG--
extra : rebase_source : d5590733c87c3a8a525eb29dabfdb9be2822a0a6
2016-11-23 15:37:31 +02:00
Kaku Kuo
03d8042cda Bug 1320466 part 8 - clean up redundant fucntion calls; r=jwwang
MozReview-Commit-ID: 9zfbUGLLeee

--HG--
extra : rebase_source : cdd30213bd49f9d8f12ae1d55959521a8b6ed951
2016-11-27 00:07:25 +08:00
Kaku Kuo
5883da3dd7 Bug 1320466 part 7 - remove callbacks of SeekTask; r=jwwang
MozReview-Commit-ID: KwyWGVG4NYG

--HG--
extra : rebase_source : 9771b318a9bf7b4a1ad8dea82624fa3146d9728f
2016-11-26 15:01:45 +08:00
Kaku Kuo
88081b6f24 Bug 1320466 part 6 - dispatch {not-}decoded and {not-}waited events from SeekingObject to SeekTask; r=jwwang
MozReview-Commit-ID: 3rzKd5GZBA6

--HG--
extra : rebase_source : 472d0642064ea2743ac8244828aae0b07891c228
2016-11-26 14:56:19 +08:00
Kaku Kuo
a36c2a9ad4 Bug 1320466 part 5 - implement media data waited/not-waited handlers in SeekTask; r=jwwang
MozReview-Commit-ID: HLlUnBxtNcy

--HG--
extra : rebase_source : 17ed7d9530a27aa429792566f7b527f864163da3
2016-11-26 14:44:12 +08:00
Kaku Kuo
fcb436b30c Bug 1320466 part 4 - delegate OnAudioWaited, OnVideoWaited and OnNotWaited events to state objects; r=jwwang
MozReview-Commit-ID: I5tFVziVE02

--HG--
extra : rebase_source : 336fb6a1ea7020c1df0a18ab114a08d4cd4e5ead
2016-11-26 14:12:01 +08:00
Kaku Kuo
cd95ac4f30 Bug 1320466 part 3 - implement OnAudioWaited(), OnVideoWaited() and OnNotWaited() callbacks in MDSM; r=jwwang
MozReview-Commit-ID: JA83a23p0Fd

--HG--
extra : rebase_source : dee131eb375c908f584ab7e8d1c42080b9e92cc6
2016-11-26 13:50:51 +08:00
Kaku Kuo
ce421c2f78 Bug 1320466 part 2 - implement media data decoded/not-decoded handlers in SeekTask; r=jwwang
MozReview-Commit-ID: ImzEoZQUOtT

--HG--
extra : rebase_source : 937a3c5f9512866966980e944c5aac51de001fdf
2016-11-26 13:26:46 +08:00
Kaku Kuo
011ca5f67b Bug 1320466 part 1 - delegate OnNotDecoded event to state objects; r=jwwang
MozReview-Commit-ID: ChomOsqYo1d

--HG--
extra : rebase_source : 52d62f56c4eba0c36a8ee3a342bb55e853cb1759
2016-11-26 12:50:01 +08:00
Justin Wood
bdb62f7061 Bug 1321040 - add secret scopes to tasks that need them, where they were previously absent. r=dustin
MozReview-Commit-ID: 9Ai3aZOf8mB

--HG--
extra : rebase_source : f2166c9e87ce913c21390e0be0461de06385dd59
extra : source : 625e2238eddbb904fb6b9ade1407cfe924cdaa48
2016-12-01 09:03:16 -05:00
Justin Wood
2be1109999 Bug 1321040 - properly reference scm level so we can use tc secrets from mozharness. r=dustin
MozReview-Commit-ID: 930BPK57QAj

--HG--
extra : rebase_source : c5172c71c3370f66ad25e667eacb01ce242f897c
extra : source : 616452fc04acf43af564548ce089b4c1681cb6e7
2016-12-01 08:30:03 -05:00
jordan9769
5a55f11e9d Bug 1310942 - Merge browser-autocomplete-result-popup into browser-search-autocomplete-result-popup; r=mak
MozReview-Commit-ID: 2DtwvrsOlQ8

--HG--
extra : rebase_source : 2e2f3bd616ae81ee1130092f28f9a426632e5761
2016-12-01 12:25:32 +05:30
Ting-Yu Lin
a61895b8b3 Bug 1321491 Part 2 - Improve document for "layout.accessiblecaret.enabled". r=mtseng
MozReview-Commit-ID: JtLMoqERVvU

--HG--
extra : rebase_source : f84e57c88b7b49d1050d65deb04e17a5dec8c0a9
2016-12-01 16:38:55 +08:00
Ting-Yu Lin
81c457de9d Bug 1321491 Part 1 - Remove unnecessary "layout.accessiblecaret.enabled" for Fennec. r=mtseng
Fennec has touch support, so enabling
"layout.accessiblecaret.enabled_on_touch" in all.js is sufficient.

MozReview-Commit-ID: 4Aa3g5eqt2F

--HG--
extra : rebase_source : c5fe085fe3d643dcf9f9a3732986954032566837
2016-12-01 15:50:26 +08:00
James Cheng
2fca45e7dc Bug 1320618 - Check if codec supports adaptive playback to determine the decoder support recycling or not. r=jolin
MozReview-Commit-ID: C3pI9NCUgiP

--HG--
extra : rebase_source : c9da5d21ee76e660ea5a18f77b1ea6bccd14286d
2016-11-30 16:30:16 +08:00
Julian Descottes
b75421fe79 Bug 1321504 - update localization note and key for layout view title;r=gl
MozReview-Commit-ID: 74qZnbWmVJz

--HG--
extra : rebase_source : 1c985c112edc00320c02f23c8bb0996a67a749a1
2016-12-01 10:25:07 +01:00
Andreas Tolfsen
2a68e4a0f8 Bug 1321278 - Return profile directory in capabilities; r=whimboo
This introduces a new capability, `moz:profile`, which contains the path
to the currently used profile directory.

MozReview-Commit-ID: FKF4Hde3tF9

--HG--
extra : rebase_source : 207fce0eec9c74eb4d1218f0f088e6a05ae7a7ba
2016-11-30 14:56:34 +00:00
Andreas Tolfsen
41c8bcea79 Bug 1321278 - Rename processId capability to moz:processID; r=whimboo
The WebDriver specification says that any proprietary capabilities
should be defined as so called extension capabilities, which means we
must prefix them with `moz:`.

Even though the `processId` capability is removed, this change is
backwards compatible because a new property `Marionette.process_id`
is introduced that looks for `moz:processID` and `processId` in order
when starting a new session.

MozReview-Commit-ID: ChkC6QTklzC

--HG--
extra : rebase_source : cffa52b1e6407edaf91bb21afebaa441a208f705
2016-11-30 14:11:31 +00:00
Henri Sivonen
a36fff43c5 Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan
MozReview-Commit-ID: 5UvYqJVvX0r

--HG--
extra : rebase_source : 5a6f3dfd97fb06810fde9a4b8b650a7a922a7c20
2016-06-09 14:29:30 +03:00
Sylvestre Ledru
a4563a219e Bug 1317973 - Use auto type specifier for variable declarations to improve code readability and maintainability r=tnikkel
MozReview-Commit-ID: 5RDrGaxV3E4

--HG--
extra : rebase_source : d79b2fe895a158c7caffb12f76773fde652c86f9
2016-11-16 15:22:36 +01:00
Sylvestre Ledru
44b5e91069 Bug 1317973 - Replace default bodies of special member functions with = default; r=tnikkel
MozReview-Commit-ID: EV0tM3A26XY

--HG--
extra : rebase_source : 3941138180638f14d47c47672da0aad45a0ab301
2016-11-16 15:23:37 +01:00
Sylvestre Ledru
ea79a3956e Bug 1317973 - Replace integer literals which are cast to bool. r=nical
MozReview-Commit-ID: JVWJPYkD2B2

--HG--
extra : rebase_source : 504b719149e0206b9403f1cb59fdf5f0a6c9d98a
2016-11-16 15:24:44 +01:00
Sylvestre Ledru
537da966fe Bug 1317973 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=nical
MozReview-Commit-ID: 8QKcHVaVtPT

--HG--
extra : rebase_source : e19d6a61e3ab78aeaeb7661d31550b00890d2e1c
2016-12-01 12:06:43 +01:00
Ting-Yu Lin
a22cb5f094 Bug 1321166 - Wrap DetailsFrame's definition and implementation in mozilla namespace. r=dholbert
MozReview-Commit-ID: 24cUKrWKRe

--HG--
extra : rebase_source : f9c1c0bc99bf77a1312fc408e4bc5c352efe0f37
2016-12-01 13:18:03 +08:00
Daniel Holbert
f812426c42 Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin
Notes:
 * In CSSAlignUtils.h, I'm just adding a forward-decl for a type used there.
 * RubyUtils.h needs to #include nsIFrame.h -- a forward-declare won't
   suffice -- because it makes a nsIFrame method-call ("aFrame->GetType()").
 * ScrollSnap.h uses the "Maybe" type and a unit defined in
   nsIScrollableFrame.h; hence it needs both of those headers.

MozReview-Commit-ID: KuhJVh9RTjZ

--HG--
extra : rebase_source : 062c1abfe9a1efeb7e241f38302c140075d2ae88
2016-11-30 14:52:26 -08:00
Daniel Holbert
bf80884df5 Bug 1321387 part 5: Sort RubyUtils.h's #include list. r=TYLin
MozReview-Commit-ID: 8ReYlfPFClp

--HG--
extra : rebase_source : 02d56acfd97f8759dcabd59acd2c2fa81cee62d3
2016-11-30 14:51:51 -08:00
Daniel Holbert
10b4c0ba70 Bug 1321387 part 4: Add #includes to some .cpp files in layout/generic, to provide types/definitions used in those files. r=TYLin
These newly-included headers' types are all used directly in the affected files.

MozReview-Commit-ID: 5NEA1QhSJKN

--HG--
extra : rebase_source : 3a9244fcb2a074df1c929de800ddd6cbc1f730e8
2016-11-30 14:51:12 -08:00
Daniel Holbert
5df3673fc8 Bug 1321387 part 3: Add "mozilla::" namespace prefix to some types in header files. r=TYLin
(The only reason this isn't triggering a compile error is due to .cpp files'
"using namespace mozilla" getting haphazardly shared via unified builds.)

MozReview-Commit-ID: 1zhJueMWOav

--HG--
extra : rebase_source : d08f18573d823968f654491e61428aa70a4c217c
2016-11-30 14:50:22 -08:00
Daniel Holbert
ad5f5d35eb Bug 1321387 part 2: Add missing "using namespace" declarations to a few .cpp files in layout/generic. r=TYLin
This adds 2 "using namespace mozilla" (to provide various types),
and 2 "using namespace mozilla::gfx" (to provide mozilla::gfx::DrawTarget).

MozReview-Commit-ID: 2bXbMlr4Dbn

--HG--
extra : rebase_source : 9884419f08529469f23e3fc306ce6e4c57640f0d
2016-11-30 14:47:45 -08:00
Daniel Holbert
be6035f407 Bug 1321387 part 1: Wrap ReflowOutput impl in "namespace mozilla {}". r=TYLin
The class definition (in the header file) is already inside the namespace. But
the method implementations are not (until now), and they've only been compiling
successfully thanks to a "using namespace mozilla" that this file was picking
up from another .cpp file, via unified builds.

MozReview-Commit-ID: ImRBpAVA0en

--HG--
extra : rebase_source : 291e2777187ef9af17e17eecc5e48eb27dd111ec
2016-11-30 14:47:45 -08:00
Phil Ringnalda
702d0d5527 Backed out changeset 079ee7b41c3a (bug 1156160) for selection reftest failures
CLOSED TREE
2016-11-30 21:34:42 -08:00
JW Wang
b49cd98e3b Bug 1321250 - Add MozPromise::ThenPromise() for easier promise chaining. r=jya
MozReview-Commit-ID: 7J60CN0HbOW

--HG--
extra : rebase_source : d5fae5853c2c6c3197361db9c62424b6cbe9f593
extra : source : 8ab119efc0d23e9d919846489a0bdc9473d2fbd6
2016-11-30 18:23:12 +08:00