Bob Owen
ab8c1ce4b1
Bug 1351358 Part 6 prologue: Allow BrowserTestUtils.waitForNewTab to optionally wait for the page in the new tab to load. r=Gijs
2017-05-18 12:08:57 +01:00
Blake Kaplan
9ba3914988
Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
...
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.
MozReview-Commit-ID: Bq6KP4VzP7W
--HG--
extra : rebase_source : a42662d67f7eeca8bc5870d3c70c086abf582164
2017-04-26 17:52:20 -07:00
Blake Kaplan
0799207b81
Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
...
MozReview-Commit-ID: HkFXpiWICge
--HG--
extra : rebase_source : dad9de683517b71a23cfdfd57222734f90588f1d
2017-04-26 17:08:32 -07:00
Christoph Kerschbaumer
48324979f7
Bug 1362993 - Add BrowserTestUtils.addTab() which provides triggeringPrincipal for params object. r=florian
2017-05-10 09:31:59 +02:00
Honza Bambas
d6d727a69e
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b
Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
...
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
70f62bdec1
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-12 22:13:49 +02:00
Honza Bambas
a1b64b4694
Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01:00
Kevin Jones
a7fa6eb9b7
Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
...
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Mike Conley
a792e520a7
Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
...
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.
The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.
MozReview-Commit-ID: JzfZuoZmlJ0
--HG--
extra : rebase_source : 71afc1f82ecd979b101a9f1a1ef1766185eefd75
2017-03-17 09:59:38 -04:00
Carsten "Tomcat" Book
c35121e343
Backed out changeset b3abd0e89699 (bug 1340842)
2017-03-22 16:40:02 +01:00
Mike Conley
eba3f6a314
Bug 1340842 - Allow BrowserTestUtils.removeTab to pass options along to tabbrowser's removeTab method. r=mossop
...
There were options already being passed to BrowserTestUtils.removeTab, with only
a single property being observed, "dontRemove". This caused BrowserTestUtils.removeTab
to return a Promise once a tab is removed, but didn't actually remove the tab (as the
calling test would be responsible for that themselves). This patch removes that option,
and adds a method to BrowserTestUtils called tabRemoved to use for that case instead.
The options being passed to removeTab are now forwarded along directly to tabbrowser's
removeTab method.
MozReview-Commit-ID: JzfZuoZmlJ0
--HG--
extra : rebase_source : cd9e7834f2f507b91cac8e9bb8e1dd58e2ba33d5
2017-03-17 09:59:38 -04:00
Blake Kaplan
c57a486e18
Bug 1335801 - Make these tests wait correctly. r=Felipe,krizsa
...
--HG--
extra : rebase_source : 11506348c56a6763ae59311e3e827410de1dcac2
2017-03-01 17:11:23 -08:00
Kris Maglione
88c2557115
Bug 1344616: Support running content script tests in xpcshell. r=mixedpuppy
...
MozReview-Commit-ID: 57yhjZxVl90
--HG--
extra : rebase_source : 273a5a0d5410656425b1e7d8570b5d32869a413e
2017-03-06 13:09:40 -08:00
Kevin Jones
4c4d2e43e2
Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao
2017-02-23 17:19:28 +01:00
Shane Caraveo
6359cf10d6
Bug 1208596 implement sidebar api for webextensions, f?kmag, gijs r=Gijs,kmag
...
MozReview-Commit-ID: 6GMdU5kcrFR
--HG--
extra : rebase_source : 03acc88de0a87051f222408cc6e80b8f62a770cb
2017-02-09 15:32:50 -08:00
Gijs Kruitbosch
db01372697
Bug 1335272 - prep: factor out registering about: pages into BTU, r=jaws
...
MozReview-Commit-ID: 2B2j5xcbSWt
--HG--
extra : rebase_source : 0edc732e50ea3482d0cba0fd150ac4d0a07aaa82
2017-02-02 14:34:40 +00:00
Florian Quèze
b11907c7aa
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Blake Kaplan
cfbf6868be
Bug 1330822 - Remove CPOWs from browser_context_menu_iframe.js. r=Gijs
...
This was tricky because synthesizeMouse would compute the incorrect
coordinates if the requested event target was in a sub-frame. With this patch,
we deal correctly with sub-frames.
MozReview-Commit-ID: KpUKxFXKMrl
--HG--
extra : rebase_source : 08dbbd1abe04886ac4fe14fad11312ba0f63873b
2016-11-11 15:07:18 -08:00
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Gabriele Svelto
1b8ffd2807
Bug 1293656 - Send crash pings for content crashes complete with stack traces r=bsmedberg
...
* * *
Bug 1293656 - Fix the test_process_error.xul test
2016-10-19 12:51:29 +02:00
Nihanth Subramanya
2275539222
Bug 989194 - Show captive portal notification bar when detected. r=MattN
...
MozReview-Commit-ID: KFvtTCBpMeS
--HG--
extra : rebase_source : b52a42f1ecd3202165da13afedc38a4835ebff42
2016-06-27 19:12:12 -07:00
Neil Deakin
7f547cba15
Bug 1304243, scroll the current item into view when opening a menulist after it gets positioned so that it scrolls properly if the popup gets cropped, r=ksteuber
2016-10-12 09:18:05 -04:00
Mike Conley
88654a4021
Bug 1241459 - Add regression tests for background tab crashing behaviour. r=Felipe
...
MozReview-Commit-ID: KkOCdtJqDPQ
--HG--
extra : rebase_source : 3507e848a433a9ff70b08baad0abaee2d3460a35
2016-10-03 18:01:51 -04:00
Gijs Kruitbosch
3ed3aaaf19
Bug 1000458 - stop races in location bar <return> handling code, r=mak
...
MozReview-Commit-ID: IcQCNj0FcCu
--HG--
extra : rebase_source : 863f6f214772252be7d310cacdc49d82be215216
2016-09-28 19:54:25 +01:00
Kirk Steuber
2b313fc731
Bug 1206133 - Fix browser chrome mochitests broken by the popuppositioned patch. r=enndeakin
...
MozReview-Commit-ID: F3F9L2rXcys
--HG--
extra : rebase_source : 1546780dc817f4a56e590729db3603ba65206047
2016-08-19 14:31:43 -07:00
Tooru Fujisawa
b7cc988f18
Bug 92737 - Part 7: Open multiple windows when multiple items are dropped on New Window button. r=enndeakin
2015-08-15 07:30:03 +09:00
Mike Conley
cb599d4f08
Bug 1292239 - Add utility to BrowserTestUtils to wait for load of selected browser in a brand new window. r=Felipe
...
MozReview-Commit-ID: IOChbNs8b3y
--HG--
extra : rebase_source : a778efe8b38aded85a6856a4c37c3b01ebd19894
2016-08-04 15:48:31 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Blake Kaplan
5688cefb7f
Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe
2016-06-21 13:46:02 -07:00
Mike Conley
fbafdc88c5
Bug 1277318 - Make openNewBrowserWindow wait for the initial browser load before resolving. r=Gijs
...
MozReview-Commit-ID: 7veM7df2npk
--HG--
extra : rebase_source : 4edfb46ff10b8ac0e4baf4ff492dc682e4f67eb7
2016-05-31 18:29:02 -04:00
Mike Conley
cb9696f49a
Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
...
MozReview-Commit-ID: IG9ioQLTI78
--HG--
extra : rebase_source : 0ba3de736ba4fd80a7444c9246a8c2bf77308570
extra : source : ea2da46bde0a4a3039d69e198ad40afefc92a5ec
2016-05-02 17:36:12 -04:00
Carsten "Tomcat" Book
d8b4ef6666
Backed out changeset ea2da46bde0a (bug 1276738)
...
--HG--
extra : rebase_source : 70d3c54736de976bacd7a87f22544f85afb41a42
2016-06-02 08:12:34 +02:00
Mike Conley
19f105324d
Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
...
MozReview-Commit-ID: IG9ioQLTI78
--HG--
extra : rebase_source : 908314589379b93b91b2d2a93a25b33f2e6ddb03
extra : histedit_source : 0af5d232e5dea98218ab838641e8d8a2acbd3c8e
2016-05-02 17:36:12 -04:00
Gijs Kruitbosch
1d863b1c09
Bug 1267289 - add more URL bar tests and fix issue with error pages, r=mikedeboer,mconley
...
This adds tests for issues brought up in bug 231393, bug 264610, bug 302575 and bug 1129564,
all of which fed into the current implementation of userTypedClear/userTypedValue. I intend
to move us away from userTypedClear, but I'm keen not to regress any of these issues, so
I'm adding automated tests to ensure that doesn't happen.
MozReview-Commit-ID: 1up2MIXzkzG
--HG--
extra : rebase_source : 4d37f13895b8c7e7aba5331664718582c6b2136c
2016-04-25 17:27:35 +01:00
Gijs Kruitbosch
b3cfc1eada
Bug 1236991 - part 3: allow use of todo() from ContentTask, r=mconley
...
MozReview-Commit-ID: EfucLgxcf8Y
--HG--
extra : rebase_source : 28908b2bd9160da75c76fb57441901e734f920e5
extra : histedit_source : 94415281799070b577f6c204ad6255b034871688
2016-04-11 17:11:35 +01:00
Jared Wein
a24156ff6c
Bug 1254145 - Use BrowserTestUtils.removeTab instead of gBrowser.removeTab in BrowserTestUtils.withNewTab since BrowserTestUtils.removeTab is more deterministic since it waits for SessionStore to update. r=gijs
...
MozReview-Commit-ID: 8DoAiwCuGKl
MozReview-Commit-ID: 5quEUBvfSOR
2016-03-07 07:31:00 +01:00
Mike Conley
78f39fef6f
Bug 1262946 - Add focus tests for newly opened windows. r=Gijs
...
MozReview-Commit-ID: 2353D0oA0yO
--HG--
extra : rebase_source : 62ccd25884848fd79a29daae8f3127fddd7487fc
2016-04-07 17:05:54 -04:00
Ryan VanderMeulen
5044fd9c12
Merge m-c to inbound. a=merge
...
--HG--
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/b.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.a.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.a.pinning2.example.com-pinningroot.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-badca.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-badca.pem.certspec
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem
rename : security/manager/ssl/tests/unit/test_pinning_dynamic/cn-x.b.pinning2.example.com-pinningroot.pem.certspec => security/manager/ssl/tests/unit/test_pinning_dynamic/x.b.pinning2.example.com-pinningroot.pem.certspec
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : 8ba87bb4e8b334a68152458bda8da15398c78ddc
2016-03-25 11:42:42 -04:00
Nihanth Subramanya
b45807e877
Bug 1255066 - Wrap condition fn for BrowserTestUtils.waitForCondition in Task.spawn. r=mak
...
MozReview-Commit-ID: 8YoDfF6d15G
2016-03-21 01:41:54 -07:00
Dave Townsend
20eb15d792
Bug 1255520: BrowserTestUtils.withNewTab should just accept a url argument. r=Gijs
...
Most of the time the test just wants to open a page in the current window. In
that case there is no need to pass an object with the gBrowser, we can just find
it directly. This makes using this function less verbose in most cases.
MozReview-Commit-ID: eUyyOi5HgC
--HG--
extra : rebase_source : 887c552a324a95bcf93f33c199d9bdaff4965b50
extra : amend_source : b1a9dcd751f58a29df03dfbbbf59c1936e46e60f
2016-03-10 10:17:54 -08:00
Mike de Boer
ef1625aff4
Bug 1093153: introduce 'BrowserTestUtils#synthesizeKey', 'BrowserTestUtils#synthesizeComposition' and 'BrowserTestUtils#synthesizeCompositionChange' to allow mochitests to remotely invoke EventUtils' text composition utilities. Changes to EventUtils include 1) removed dependency on the 'navigator' object when 'nsIXULRuntime' is available and 2) make '_getKeyboardEvent' more robust when used in frame scripts. r=Enn
2016-03-15 11:09:31 +01:00
Sebastian Hengst
63d4fe806d
Backed out changeset afe0a444c182 (bug 1093153) for mochitest-2 failures. r=backout
2016-03-14 17:45:36 +01:00
Mike de Boer
5378afd0c0
Bug 1093153: introduce 'BrowserTestUtils#synthesizeKey', 'BrowserTestUtils#synthesizeComposition' and 'BrowserTestUtils#synthesizeCompositionChange' to allow mochitests to remotely invoke EventUtils' text composition utilities. Changes to EventUtils include 1) removed dependency on the 'navigator' object when 'nsIXULRuntime' is available and 2) make '_getKeyboardEvent' more robust when used in frame scripts. r=Enn
2016-03-14 14:35:46 +01:00
Mike de Boer
03bd1469f2
Bug 1241930: Part 1 - make all Assert.jsm assert methods available for use in ContentTasks. r=mconley
2016-03-04 14:32:22 +01:00
Gijs Kruitbosch
58583cf2ea
Bug 1094510 - make browser_canonizeURL.js not hit the network in e10s mode, r=mconley
...
MozReview-Commit-ID: JlEYeir749V
--HG--
extra : rebase_source : 0b56c6af9e9ecd1b4de10744de82c066e1ff2bee
extra : amend_source : 060b3cb21ddd9f0f413395acf098ce130672ccee
2016-02-29 14:11:04 +00:00