Commit Graph

520073 Commits

Author SHA1 Message Date
David Keeler
a280d5294c bug 1338701 - constify all TransportSecurityPreloads, use mozilla::BinarySearch over bsearch r=Cykesiopka
MozReview-Commit-ID: Lu3H9SpyJgR

--HG--
extra : rebase_source : 7a958793523bc8d4e9d34a7b3b26760a3c1da0f9
2017-02-10 15:52:26 -08:00
Jan Henning
927128811e Bug 1269210 - Part 2 - Notify the UI to update the button state on subframe navigation. r=ahunt
Even if we do the rest of our location change processing only for top level location changes, we still need to update the state of the back and forward buttons even on subframe navigation, so they can become enabled/disabled as necessary.

MozReview-Commit-ID: 2wuFZMKtTfj

--HG--
extra : rebase_source : 6085fee3818b0ce610f2ddca3f8be0657f355916
2017-02-11 20:32:32 +01:00
Jan Henning
01929d06f7 Bug 1269210 - Part 1 - Remove unused variables from location change message and Java tab object. r=ahunt
We used to need these for the back button long press history menu, but now we no longer do.

MozReview-Commit-ID: LAZYffLODN3

--HG--
extra : rebase_source : b6c10e3dc785230d247587b1a34c3b819424db9c
2017-02-11 20:13:00 +01:00
Jan Henning
cc94d60ffc Bug 1338899 - Part 1 - Use getter/setter for accessing/modifying a tab's parent ID in Gecko. r=sebastian
This should be more foolproof than having to remember to use the dedicated setParentId() function when writing to that variable from outside of the tab constructor.

MozReview-Commit-ID: 1KlXf60VsoF

--HG--
extra : rebase_source : 3ae5234a0113b6077a91e873c7a5e5919b162af3
2017-02-12 15:34:00 +01:00
Jan Henning
c298244987 Bug 1338899 - Part 0 - Fix test title. r=sebastian
Fix copy & paste error made when creating the new test file.

MozReview-Commit-ID: F0NbwipkX9P

--HG--
extra : rebase_source : 877c2c867235750972ee7865d52376636b0448f6
2017-02-12 15:25:42 +01:00
Jan Henning
55ecb8b313 Bug 1338893 - Don't use the window on application-foreground if it doesn't yet exist. r=sebastian
During a cold startup, depending how this exactly plays out we might receive an application-foreground notification before the browser window is ready. Since the code to restore the selected tab if it has been left zombified while in background is only relevant if Gecko was already running and backgrounded, we can simply add a null check for the window before accessing it.

MozReview-Commit-ID: Ahp5NAODKRF

--HG--
extra : rebase_source : bede266e13f48fbc2f7efd40bb9277be6d2bd3bf
2017-02-12 15:09:32 +01:00
Kris Maglione
d0f62ee58a Bug 1336988: Correctly handle dead callback objects when iterating over event listeners. r=peterv
MozReview-Commit-ID: 5vGlPL1p3uh

--HG--
extra : rebase_source : 7e33d93472faa1c047361addf8b15f8a78639255
2017-02-06 11:34:56 -08:00
Jan Henning
287248920a Bug 1337264 - Don't depend on page title changes for updating the displayed URL. r=sebastian
We've been displaying the URL in place of the page title in the toolbar for quite some time now, but still had the old logic in place whereby only title changes would trigger an update of the displayed text. Most of the time this works fine, because
- page navigation usually goes hand in hand with a DOMTitleChanged event, and
- when our loading progress bar stops, we update the displayed text anyway

however a page doing its navigation in-place using some fancy JS logic and the corresponding history APIs etc. can bypass both of these provisions, since it might trigger neither a title change nor a full browser-side page load.

MozReview-Commit-ID: KRrTSmz1xxi

--HG--
extra : rebase_source : ef3c96334ebb44320ffc7f77db0754f78ce0625a
2017-02-11 17:12:48 +01:00
Mike Shal
8e02493469 Bug 1329355 - Remove MOZ_PKG_PRETTYNAMES; r=ted
This is no longer relevant now that we use release promotion instead of
a separate release build with MOZ_PKG_PRETTYNAMES=1.

MozReview-Commit-ID: 11mgGJ7IDaK

--HG--
extra : rebase_source : da8fde3ae36779549b2097fc95d754f558cb88c8
2017-01-10 11:12:10 -05:00
Mike Shal
86c94c9187 Bug 1329355 - Remove MOZ_AUTOMATION_PRETTY*; r=ted
These automation steps are no longer relevant, since the last use of
MOZ_AUTOMATION_PRETTY was removed along with non-unified builds in bug
1121000.

MozReview-Commit-ID: 11VDu8pIs1p

--HG--
extra : rebase_source : a82b52400b73224e06e124dd10d6646d4b21a7fc
2017-01-10 11:07:13 -05:00
Julian Descottes
f665f5b5a6 Bug 1304941 - reject update promise in BrowserTabActor destroy;r=jryans
MozReview-Commit-ID: LNclCPv1Zo

--HG--
extra : rebase_source : 22f3a1b0099641990b73861088c62312b948fd97
2017-02-10 23:43:37 +01:00
Julian Descottes
5be1442c92 Bug 1304941 - reconnect onTabChanged listener before fetching the tablist;r=jryans
MozReview-Commit-ID: FZYDKH3F21O

--HG--
extra : rebase_source : 582f91c90362f6cffa932b1f7d49d46c061ac960
2017-02-08 17:08:42 +01:00
Julian Descottes
421514a83c Bug 1339064 - Add layout panel option to nightly options;r=gl
MozReview-Commit-ID: LOMotSUNj9B

--HG--
extra : rebase_source : 912644a94bcc94ed0e40e76e23f732be1bc99232
extra : source : 6433ff5fdc59628f54e29e8fe7ea50fe95cb6b95
2017-02-10 10:41:42 +01:00
Nils Ohlmeier [:drno]
30a3f082fd Bug 1337468: pass RID values via RTP configuration r=ng
MozReview-Commit-ID: Gl5TdZkJIZ8

--HG--
extra : rebase_source : 296d74fcfee7535b052e8f97ba65f0c67afbb129
2017-02-08 21:37:13 -08:00
Nils Ohlmeier [:drno]
d03b7e603e Bug 1337468: removed unused RID code and variables r=ng
MozReview-Commit-ID: JWBRVC7WQsl

--HG--
extra : rebase_source : 0846deda23642804dcbdfcf078e5d7e0e0ee4bd1
2017-02-08 21:27:32 -08:00
Nils Ohlmeier [:drno]
0471e40bef Bug 1337468: Don't offer RID extension for audio streams r=ng
MozReview-Commit-ID: LicY2Ok0V60

--HG--
extra : rebase_source : db27711ab5bdb7b667b54e644341641d21c512bd
2017-02-06 16:41:53 -08:00
Nils Ohlmeier [:drno]
e063668288 Bug 1337468: enabled RID RTP header extensions in simulcast test r=ng
MozReview-Commit-ID: BugPs8YA6tY

--HG--
extra : rebase_source : aeef02260178dea057047af2be1dd3f6eb2ac613
2017-02-07 14:57:33 -08:00
Matthew Noorenberghe
8d165c4d7f Bug 1338396 - LoginManagerContent: Use Date.now() instead of event.timeStamp until high-res timestamps are shipping. r=johannh
MozReview-Commit-ID: GS8DgpyYnxU

--HG--
extra : rebase_source : b6fb857bee06fb62e5e2e7f02aaebca9054b4fe4
2017-02-13 23:49:16 +08:00
David Burns
07d305012c Bug 1078237: Reenable frame switching test on Windows. r=whimboo
MozReview-Commit-ID: DCMR20NYzfW

--HG--
extra : rebase_source : 625813c1ffeb09e0b5e35b97d9a281834795afc4
2017-02-10 16:05:42 +00:00
Masatoshi Kimura
24a8330f71 Bug 1219523 - Remove the "dom.workers.latestJSVersion" pref. r=baku
MozReview-Commit-ID: 92fCMCLTxRp

--HG--
extra : rebase_source : 728d515eb2f2d5c0a03e80866ec2c56443c3dce8
2017-02-12 13:37:38 +09:00
Sylvestre Ledru
26605e4a7d Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in security/sandbox/ r=gcp
MozReview-Commit-ID: Iwj7i07LkJ0

--HG--
extra : rebase_source : 88a71d78dd6d3e4cf603047a5714631b4ae4542b
2017-02-08 11:59:38 +01:00
Sylvestre Ledru
aba86ae938 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in security/ r=keeler
MozReview-Commit-ID: yfkQVEp2do

--HG--
extra : rebase_source : 048f30343b9eb353bbc15fbde157ffbb3b2da8ec
2017-02-07 13:22:44 +01:00
Sylvestre Ledru
4e69d0dd54 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in testing/mochitest/ r=jmaher
MozReview-Commit-ID: D0GA9NJPWfd

--HG--
extra : rebase_source : 820629f886f8d2f003949cc84a447d34bf55405d
2017-02-08 12:04:02 +01:00
Sylvestre Ledru
5941aa8f13 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in tools/ r=froydnj
MozReview-Commit-ID: GdeCzDXjzzg

--HG--
extra : rebase_source : b00971238ff78d23d9bcec31f905ec268a614527
2017-02-08 12:04:50 +01:00
Sylvestre Ledru
2ca789788b Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in modules/libjar/ r=froydnj
MozReview-Commit-ID: AZtieJz44uD

--HG--
extra : rebase_source : bd63fbebce66a2f5553f702b01b1cece1c77280c
2017-02-08 12:06:26 +01:00
Sylvestre Ledru
bd96269239 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in browser/ r=fkiefer
MozReview-Commit-ID: KOTTyFtYKE8

--HG--
extra : rebase_source : 4a76d187e0ff732289126ee8dd42cb1b95bb7dfb
2017-02-07 14:11:58 +01:00
Sylvestre Ledru
88621f5860 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in js/ r=bbouvier
MozReview-Commit-ID: 9QrvFfu3wbL

--HG--
extra : rebase_source : 9907d9074e56532452024dd0555d21c499d07a17
2017-02-08 14:24:51 +01:00
Sylvestre Ledru
24eaa6aa67 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/mtransport/ r=bwc=jesup
MozReview-Commit-ID: 1ALL9rdhk24

--HG--
extra : rebase_source : c1899accbe87f6d226f8bbd5922b5899362f2e26
2017-02-13 14:42:00 +01:00
Sylvestre Ledru
40d3ba24b6 Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/webrtc/signaling/ r=jesup=jesup
MozReview-Commit-ID: 7VFZqMB9B3s

--HG--
extra : rebase_source : 9c0db63ec91370a820237e4a928de209d6f8bbce
2017-02-08 14:25:01 +01:00
Andreas Tolfsen
2b59c55ed9 Bug 1319237 - Fix calls to session.find; r=maja_zf
MozReview-Commit-ID: 5afoA6aKgCV

--HG--
extra : rebase_source : 6582aade1a23a76f233bec70d763054249c57275
2017-02-03 16:32:16 +00:00
Andreas Tolfsen
d02706c393 Bug 1319237 - Disable WebDriver navigation to file: protocol test; r=maja_zf
MozReview-Commit-ID: 3SlvHmggRET

--HG--
extra : rebase_source : 49afabf2a05acaa9c26ffcc63d349fa4aa3af775
2017-02-03 16:31:57 +00:00
Andreas Tolfsen
31f2f48e13 Bug 1319237 - Enable WebDriver context test; r=maja_zf
MozReview-Commit-ID: EQZHO6npFtH

--HG--
extra : rebase_source : b478f1149f8ca7e14bdbe30cd4d3f2078fa6b53f
2017-02-03 16:31:19 +00:00
Andreas Tolfsen
ec579b1aca Bug 1319237 - Avoid reposition waiting if position is unchanged; r=maja_zf
When the requested window position is the same as the current position,
we should avoid the wait condition.

MozReview-Commit-ID: 3koG5BeOkFC

--HG--
extra : rebase_source : a131342cdd13569fb938f2e328ac0fb6982dc71e
2017-02-02 14:58:36 +00:00
Andreas Tolfsen
89061b661b Bug 1319237 - Improve window position test assertions; r=maja_zf
MozReview-Commit-ID: qmFS0JEqx3

--HG--
extra : rebase_source : 7419ccead4acb2d4e5fad3770273a562cfc11298
2017-02-02 14:57:19 +00:00
Andreas Tolfsen
c31fc4009e Bug 1319237 - Donate window position test to Mozilla; r=automatedtester
The window positioning test has been sufficiently rewritten that it can
no longer be considered a derived work from Selenium.

MozReview-Commit-ID: 9FtGEPeMXQs

--HG--
extra : rebase_source : e8498b9650af581f1139506b2700468d8d4a8ee7
2017-02-02 14:46:58 +00:00
Andreas Tolfsen
3cfd9442a2 Bug 1319237 - Make GeckoDriver#setWindowSize synchronous; r=automatedtester,maja_zf
Return from the Set Window Size command only after the window resize
DOM event has occurred.

MozReview-Commit-ID: 7ygZuNJZzq2

--HG--
extra : rebase_source : 3922d86de4eaa854795506b4ff5176ffdd4af98f
2016-11-21 23:44:22 +01:00
Andreas Tolfsen
83dd4e584b Bug 1319237 - Make GeckoDriver#setWindowPosition synchronous; r=automatedtester
This change makes the Set Window Position command synchronous by waiting
for the original window position to change before returning.

MozReview-Commit-ID: 3gOv6bNPASV

--HG--
extra : rebase_source : 7b4b34aab5c11172e1c12ad62b8017ff0a92a566
2016-11-21 23:43:35 +01:00
Andreas Tolfsen
645c6db1b0 Bug 1319237 - Generalise wait condition utility; r=automatedtester,maja_zf
This makes the `implicitWaitFor` utility from
testing/marionette/element.js generally available in Marionette.

It improves on the design of the old wait utility by providing
promise-like resolve and reject options to the evaluated function.  These
can be used to indicate success or failure of waiting.  If resolved, the
provided value is returned immediately.  When rejected, the function is
evaluated over again until the timeout is reached or an error is thrown.

It is useful to indicate success and failure state because it saves the
calling code from guessing based on the return value.  Guessing from
the return value can be problematic since there are certain types and
values in JavaScript that are ambigeous or misleading, such as the fact
that empty arrays are evaluated as a truthy value.

MozReview-Commit-ID: G8F99tdbiNb

--HG--
extra : rebase_source : 88647b1c7115f15649d5029391ff21567f9d527c
2016-11-21 23:41:20 +01:00
Andreas Tolfsen
32ce7fb9b3 Bug 1319237 - Make session fixture module scoped; r=jgraham
I recently changed it to function scoped, which was a mistake.
pytest complains if it is not module scoped.

MozReview-Commit-ID: GYP9Ky1avks

--HG--
extra : rebase_source : 0776803493f7175d1c408c50f06fa6112c196abc
2016-11-21 23:39:42 +01:00
Andreas Tolfsen
613131d64a Bug 1319237 - Allow pytests to be skipped imperatively at runtime; r=jgraham
It is required to skip certain WebDriver tests imperatively at runtime,
such as for the Get Window Size and Get Window Position commands, which
are only available at certain configurations.

MozReview-Commit-ID: 9ERYkYm34iI

--HG--
extra : rebase_source : 5fed98284ab6f32009cdb1fa819cf2337adb4a73
2016-11-21 23:38:42 +01:00
Andreas Tolfsen
bb28ec2d64 Bug 1319237 - Assign GeckoDriver#getWindowSize return value in one statement; r=automatedtester
MozReview-Commit-ID: BGH1WkgH91p

--HG--
extra : rebase_source : ed166d858412698e320555c5485d2bfb9b4173b1
2016-11-21 23:36:29 +01:00
Andreas Tolfsen
8096c7c75d Bug 1319237 - Calculate correct window position; r=automatedtester
The testing/marionette/browser.js window getter does not return the
same window as `GeckoDriver#getCurrentWindow`.  This is a problem,
but for now we can rely on `getCurrentWindow`.

MozReview-Commit-ID: PT9M7boPM7

--HG--
extra : rebase_source : bf61c18b9a3ab7865cdc3aa063875313823ff295
2016-11-21 23:33:03 +01:00
Andreas Tolfsen
a7827a1569 Bug 1319237 - Correct window size- and position test; r=automatedtester,jgraham
MozReview-Commit-ID: Fajaksg2DhG

--HG--
extra : rebase_source : 53eec809d697e7d6783079a93871685ab4b5e68d
2016-11-21 23:30:23 +01:00
Alessio Placitelli
6f59b2ecb9 Bug 1339023 - Make Telemetry in-tree docs index page point to the updated Histogram docs. r=gfritzsche
MozReview-Commit-ID: HIcv5AJIPhM

--HG--
extra : rebase_source : 1b37e667ded52be7068cc793ef292f9228ab10e4
2017-02-13 12:06:41 +01:00
Masatoshi Kimura
968e163fb5 Bug 1338758 - Handle success codes from nsIUnicodeDecoder in nsTextToSubURI::UnEscapeNonAsciiURI. r=m_kato
MozReview-Commit-ID: 43jAOFPYMeT

--HG--
rename : intl/uconv/tests/unit/test_bug699673.js => intl/uconv/tests/unit/test_unEscapeNonAsciiURI.js
extra : rebase_source : a8ae93c2209ed1285c7ec59bfdcadb1729e1587b
2017-02-11 20:40:58 +09:00
Munro Mengjue Chiang
2db67dd6ea Bug 1334752 - Fix Intermittent browser_devices_get_user_media_unprompted_access_tear_off_tab.js; r=florian
MozReview-Commit-ID: E968LugF7Rp

--HG--
extra : rebase_source : be5c4066d3c35c8270f4ef3516af5ad539f8ed8b
2017-02-03 15:44:14 +08:00
Carsten "Tomcat" Book
083dd865e6 Merge mozilla-central to autoland 2017-02-13 12:44:20 +01:00
Carsten "Tomcat" Book
818da54eb3 merge mozilla-inbound to mozilla-central a=merge 2017-02-13 12:38:26 +01:00
Mark Hammond
201dd70477 Bug 1338980 - send sync telemetry alerts to sync-dev instead of fx-team. r=MattN
MozReview-Commit-ID: 3fZUimw5X02

--HG--
extra : rebase_source : d30e5df7882872b8f967e1173750a6bd7d2d62da
2017-02-13 16:47:42 +11:00
Phil Ringnalda
f1c2bbe99a Backed out changeset 88b5a981e275 (bug 1324524) for Win8 reftest bustage 2017-02-12 20:52:12 -08:00