Kartikaya Gupta
fc66c485b6
Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: 5VIHjwx6A2j
--HG--
extra : rebase_source : d986028cff52ba52a58887225e272bf04ad88de3
2018-04-25 11:29:07 -04:00
Nika Layzell
4464c02334
Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz
2018-04-10 17:49:45 -04:00
Christoph Kerschbaumer
4197b7d96d
Bug 1439713 - Update tests relying on nsIContentPolicy. r=bz
2018-03-29 11:14:58 +02:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Mike Conley
5ece45274a
Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r=billm
...
Tab warming was originally disabled in this test because it was accidentally
setting the DocShell to be active at an unexpected time.
Because tab warming no longer activates DocShells, we can revert this change,
though we also have to make it deal with the fact that switching tabs no longer
makes docShells become activate immediately.
MozReview-Commit-ID: K0fiA5AVfEm
--HG--
extra : rebase_source : 874f112e4368a037b4baf02f205198c0f598b5b8
extra : source : e7a6fe9f9ce7186e8dc3c7aaeab47362c7060f5a
2017-10-23 17:01:48 -04:00
Kartikaya Gupta
4f18e92ffb
Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
...
MozReview-Commit-ID: nbcWhDq5de
--HG--
extra : rebase_source : 25e2c2b8b996ae11cd25dee07d9092ba574a9e40
2017-12-13 18:38:39 -05:00
Bill McCloskey
9f4d083047
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
89531e8dc3
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
bef7c122df
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Mike Conley
69e38dfce8
Backed out changeset e7a6fe9f9ce7 (bug 1397426)
...
--HG--
extra : rebase_source : 2c1b37bd607eee584bafa9f2be8daab3084fc3d0
2017-12-06 15:58:02 -05:00
Mike Conley
94c19b3bf1
Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r=billm
...
Tab warming was originally disabled in this test because it was accidentally
setting the DocShell to be active at an unexpected time.
Because tab warming no longer activates DocShells, we can revert this change,
though we also have to make it deal with the fact that switching tabs no longer
makes docShells become activate immediately.
MozReview-Commit-ID: K0fiA5AVfEm
--HG--
extra : rebase_source : 5de92eb125e1001dd358a5deaa76f626802e3928
2017-10-23 17:01:48 -04:00
Bevis Tseng
a22e59eff8
Bug 1414136 - Fix test failures in session history relying on non-comformant Promise handling. r=sawang
2017-11-10 10:33:25 +08:00
Peter Van der Beken
c705293c1c
Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
...
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Samael Wang
f094864c63
Bug 1364364 - Part 4: Add test case. r=smaug
...
MozReview-Commit-ID: BozQDPdx0MI
--HG--
extra : rebase_source : 773d6b97b6fe45eea7faa734799205b004f05ce6
2017-08-30 17:00:12 +08:00
Ryan VanderMeulen
68c8008faf
Backed out 7 changesets (bug 1364364) for causing bug 1399182.
...
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)
--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-12 13:21:17 -04:00
Samael Wang
f9a1a3b070
Bug 1364364 - Part 4: Add test case. r=smaug
...
MozReview-Commit-ID: BozQDPdx0MI
--HG--
extra : rebase_source : 861931ed42bd00cb698e051818d98808d828d65e
2017-08-30 17:00:12 +08:00
Christoph Kerschbaumer
7aa9de237b
Bug 1397653 - Update tests within docshell/ to comply with new toplevel data: URI navigation policy. r=smaug
2017-09-10 13:22:12 +02:00
Samael Wang
437fb82030
Bug 1375833 - Part 4.1: Revert test_bug123696.html & update file_bug1326251.html. r=smaug
...
Revert test_bug123696.html to what it was before bug 1326251 laned. Update
file_bug1326251.html to reflect the change that static frame entries won't be
cleared on reloading.
MozReview-Commit-ID: F93ZBNv1Gj
--HG--
extra : rebase_source : e6573c38d03656a41b5e016bc402ef0c579a1797
2017-08-21 18:28:53 +08:00
Samael Wang
4c4325a56c
Bug 1375833 - Part 3: Add test case. r=smaug
...
MozReview-Commit-ID: L86sMEzfU4h
--HG--
extra : rebase_source : da7c3919a2ce66fc2fa9e8cf09f826a2e463d1b3
2017-08-11 18:30:49 +08:00
Mike Conley
a48193a566
Bug 1385453 - Disable tab warming in browser_bug343515.js test. r=billm
...
MozReview-Commit-ID: 9DOv9drNi9n
--HG--
extra : rebase_source : f7927107e5374404f2043550e0cd1c9ee46f5991
2017-08-23 16:43:55 -04:00
Henry Chang
9e499caed6
Bug 1386391 - Poll to check if a document has loaded rather than a definite timeout. r=smaug
...
MozReview-Commit-ID: B293QZe3LIz
--HG--
extra : rebase_source : ae336c328b48799a3a952f8d14cb8532fc179a58
extra : source : ee4a89243a26456b495737d889402619d3e186cc
2017-08-14 10:34:04 +08:00
Christoph Kerschbaumer
c9a21fe70b
Bug 1385981 - Convert docshell/test/navigation/test_sessionhistory.html to comply with new data: URI inheritance model. r=smaug
2017-08-01 10:59:05 +02:00
Boris Zbarsky
8fd50f23d4
Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete. r=smaug
...
Unfortunately, GetRestoringDocument can be false by the time we reach
LoadComplete, if part of the restoration process managed to set up and then
remove onload blockers. If that happens, we still don't want to fire a load
event for a document that has already has one fired.
Note that we could also use a boolean on the document to record whether we've
fired a load event, as long as we were careful to unset it when the readyState
transitions backwards from COMPLETE (e.g. document.open). It's not clear which
approach is more robust.
2017-07-17 23:21:41 -04:00
Boris Zbarsky
24a1bc48da
Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value. r=dbaron
2017-07-17 23:21:41 -04:00
Yoshi Huang
71b8c7686e
Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug
...
When we turn on the pref security.data_uri.unique_opaque_origin to make
data URI is unique origin, the following tests will fail because now
data document is treated as cross origin, so we replace data URIs with
seperate files, hence it will still in the same origin.
2017-07-12 10:35:54 +08:00
Yoshi Huang
c6b138004a
Bug 1376592 - rewrite test_triggeringprincipal_window_open.html. r=ckerschb
...
See the test in
http://searchfox.org/mozilla-central/rev/fdb811340ac4e6b93703d72ee99217f3b1d250ac/docshell/test/navigation/test_triggeringprincipal_window_open.html#59
If we turn on the pref, dataWin.onload won't be called as now dataWin is
cross origin, so we change it to use postMessage instead.
2017-06-30 11:06:17 -07:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Carsten "Tomcat" Book
3e0a5441c6
Merge mozilla-central to mozilla-inbound
2017-03-17 14:55:15 +01:00
Kris Maglione
9e1cbea297
Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan
...
In order to support asynchronous loading of extension content scripts, we need
to be able to exit the HTML parser flush loop immediately after inserting the
document element. Normally this doesn't cause problems, but when we enter edit
mode with an empty element selected, the editor inserts a <br> node, and a
<br> node at the start of the <html> element causes issues.
These changes solve that issue by putting off entering editor mode until we
begin laying out the document.
MozReview-Commit-ID: H2ksNz0jRxs
--HG--
extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f
2017-03-14 21:22:06 -07:00
Brad Werth
983df24b1c
Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
...
MozReview-Commit-ID: JDS5l06FAaf
--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Frederik Braun
1f33988252
Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782 r=smaug
...
MozReview-Commit-ID: 3MLyDfWrE6X
--HG--
extra : rebase_source : fe574541057275706eb4c52e2e6522342e8ec4d4
2017-02-15 11:39:01 +01:00
Frederik Braun
f3063f9162
Bug 1337186 - rm data: from navigation/test_bug386782 r=smaug
...
MozReview-Commit-ID: GSBZaRvuVNg
--HG--
extra : rebase_source : f739a99b7e12d09e5ef7b27d6b26edea43ae8eeb
2017-02-15 11:38:32 +01:00
Geoff Brown
a0613e7f32
Bug 874423 - Skip test_bug430723.html on OSX/Win opt. r=me,a=test-only
2017-01-24 14:49:05 -05: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
Samael Wang
e9ecfaecc0
Bug 1326251 - Part 2: Add test case. r=smaug
...
MozReview-Commit-ID: 5YfIoH1f4fD
--HG--
extra : rebase_source : 9e60560cfefc8129af78953f744e0f7dc917fe03
2017-01-24 14:58:04 +08:00
Christoph Kerschbaumer
dd581118f0
Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug
2017-01-22 17:42:42 +01:00
Sebastian Hengst
040a162daf
Backed out changeset 828efd8ce683 (bug 1329288)
2017-01-22 13:09:53 +01:00
Christoph Kerschbaumer
5b0e184329
Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug
2017-01-22 07:30:10 +01: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
Sebastian Hengst
855e7a17e9
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM
...
MozReview-Commit-ID: BI6jc9bsXCE
--HG--
extra : rebase_source : 1127a829ff222a40b7b3358507c7ce3afe81ecea
2016-11-05 11:29:14 +01:00
Samael Wang
104fe2c997
Bug 1300461 - UpdateIndex on LOAD_NORMAL_REPLACE, ReplaceEntry at requestedIndex when available. r=smaug
...
--HG--
extra : rebase_source : 9bb3c7488a1785ee5c4106b8e024555f31b3220c
2016-09-30 11:55:10 +08:00
Christoph Kerschbaumer
f3823e7b2d
Bug 1289382 - Test TriggeringPrincipal where one iframe navigates another iframe through window.open(). r=smaug
2016-08-02 14:42:34 -07:00
Christoph Kerschbaumer
df69556f81
Bug 1289382 - Test TriggeringPrincipal where parent navigates iframe through window.open. r=smaug
2016-08-02 14:40:35 -07:00
Christoph Kerschbaumer
68d0afbedc
Bug 1289818 - Test TriggeringPrincipal for a simple window.open(). r=smaug
2016-08-02 14:37:47 -07:00
Christoph Kerschbaumer
670eb81ce7
Bug 1181370 - Test that triggeringPrincipal(owner) and referrer are identical for (sub) iframe navigations. r=bz
2016-07-26 12:50:40 +02:00
Mike Conley
0c3578df60
Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
...
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.
MozReview-Commit-ID: 74JwLUTzaMU
--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00