Commit Graph

3053 Commits

Author SHA1 Message Date
Honza Bambas
2f9f6408e0 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly 2017-08-19 05:35:00 -04:00
Wes Kocher
3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Bryce Van Dyk
d5ec1b23bd Bug 1275856 - Update dom event tests to reflect removal of RecorderErrorEvent and new MediaRecorderErrorEvent. r=smaug
MozReview-Commit-ID: 52YJMJncLyM

--HG--
extra : rebase_source : dc3db183c900bc7269fc85e84f599ba2ae8ab278
2017-08-11 14:03:23 +12:00
John Dai
5abb05dc54 Bug 1299363 - Part 6: Add tests for custom element upgrade. r=wchen
MozReview-Commit-ID: HsmtLzg9qP5

--HG--
extra : rebase_source : 99e670bd2a08b02f68818bfca5a410625e5aa7ee
extra : histedit_source : 669c2d72773079d6b0f24da012f5cde1444c898c
2017-08-13 16:40:49 +08:00
Ehsan Akhgari
623069c803 Bug 1390020 - Set the dom.select_events.textcontrols.enabled pref in test_selectevents.html; r=mystor 2017-08-15 12:31:52 -04:00
Yoshi Huang
60b7d9f697 Bug 1390398: fix failures on windows for new data: URI inheritance model. r=smaug 2017-08-15 18:09:28 +08:00
Stone Shih
55c5359fa6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Stone Shih
665fb7cd54 Backed out changeset de4929e39b7e (bug 1351148) 2017-08-11 15:19:30 +08:00
Stone Shih
b27577d8d6 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Andrea Marchesini
76f69afc03 Bug 1128959 - Implement the WHATWG Streams spec - part 15 - setting the correct global when ReadableStream.getReader() is called, r=bz 2017-08-10 18:04:56 -07:00
Andrea Marchesini
60f0e12e3d Bug 1128959 - Implement the WHATWG Streams spec - part 14 - cross-compartment tests, r=bz 2017-08-10 18:04:56 -07:00
Andrea Marchesini
da90cb5c31 Bug 1128959 - Implement the WHATWG Streams spec - part 13 - testing ReadableStream with more than 1mb of data, r=bkelly 2017-08-10 18:04:55 -07:00
Andrea Marchesini
cb3c4dda07 Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
This patch does 2 things:

. when SetBodyUsed() is called, the pump for the stream reading is activated.

. Just because of the reading of the stream could end up executing JS code, we
  need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Andrea Marchesini
4928cd7694 Bug 1128959 - Implement the WHATWG Streams spec - part 11 - add some stream mochitests r=bkelly 2017-08-10 18:04:55 -07:00
Valentin Gosu
953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Valentin Gosu
3b95ce67d2 Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02:00
Andrew Sutherland
8e40043ab4 Bug 1350637 - Part 10: Update LocalStorage e10s tests for change to PBackground. r=janv
The e10s tests were written assuming a world where ContentTask.spawn and
LocalStorage were both PContent.  Also, that Quantum DOM labeling wasn't
something to worry about.  These assumptions no longer held, resulting in
the test intermittently failing if all changes hadn't propagated via
PBackground to the tab under test by the time the ContentTask.spawn
state retrieval call made it to the tab's main thread.

This has been corrected by using "storage" events where already in use and
polling where not in use.  Plase see the added comments for more details.
2017-08-07 04:14:17 -04:00
Blake Kaplan
3e5081b1b0 Bug 1374460 - Remove mochitests using showModalDialog. r=smaug
MozReview-Commit-ID: 5vLjdti5oW8

--HG--
extra : rebase_source : a731afcacc8ea35e9120cce4fb47d444fbdf4efa
2017-06-08 11:44:24 -07:00
Masatoshi Kimura
49e04cc095 Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
MozReview-Commit-ID: LxTiLFzNJ9Y

--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Christoph Kerschbaumer
b0c46464c7 Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-03 10:53:42 +02:00
Wes Kocher
baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Phil Ringnalda
c5ab89e934 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ

--HG--
extra : source : 70bd3854b6d034b67419ba11044b6cbe82b713bc
2017-08-01 23:13:42 -07:00
Wes Kocher
8df4a18d1a Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm

--HG--
extra : source : 40a251b511b32f5938a42f92caf4947494025b7b
2017-08-01 16:39:59 -07:00
Honza Bambas
ad5889f413 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : source : 548ed79f2337ba14e61519958f145e2f22078276
extra : amend_source : ed7dcf32e55ad3feb93b57590583d2c3d0781fdd
2017-08-01 21:21:09 +02:00
Honza Bambas
f33b5cb515 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : histedit_source : 1743f499ca20d75df7e957fab1c942c4f4e22df8
2017-08-01 21:21:09 +02:00
Christoph Kerschbaumer
7cc8a29254 Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-01 15:57:47 +02:00
Phil Ringnalda
91ca7a8cc8 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ
2017-08-01 23:13:42 -07:00
Wes Kocher
5f641b641b Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm
2017-08-01 16:39:59 -07:00
Christoph Kerschbaumer
653d6f7ced Bug 1385273 - Convert tests within dom/tests/mochitest/chrome to comply with new data: URI inheritance model. r=smaug 2017-08-01 10:59:57 +02:00
Kyle Machulis
2533883d04 Bug 1279218 - Rename HTMLSharedObjectElement to HTMLEmbedElement; r=bz
MozReview-Commit-ID: KkvRkFXAX30

--HG--
rename : dom/html/HTMLSharedObjectElement.cpp => dom/html/HTMLEmbedElement.cpp
rename : dom/html/HTMLSharedObjectElement.h => dom/html/HTMLEmbedElement.h
extra : rebase_source : 460c2a018e2a737b6397e8306127d73bc017d8da
2017-07-28 21:35:43 -07:00
Kyle Machulis
ef8d138ba7 Bug 1279218 - Remove tests related to the applet tag; r=bz
MozReview-Commit-ID: FzzA5Qic4Uq

--HG--
extra : rebase_source : 64206ee3e5073bafd822b23040fe6e24dda3463f
2017-07-10 16:15:16 -07:00
Till Schneidereit
847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Sebastian Hengst
2a076b4002 Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Till Schneidereit
8b46f09d1c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Carsten "Tomcat" Book
2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Carsten "Tomcat" Book
198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Christoph Kerschbaumer
8c36096164 Bug 1384151 - Convert selectAtPoint-innerframe.html to comply with new data: URI inheritance model. r=smaug 2017-07-25 17:11:09 +02:00
Xidorn Quan
4a92d308fc Bug 1374872 - Disable tests involving web components for stylo. r=wchen
MozReview-Commit-ID: JWA210RkpAW

--HG--
extra : rebase_source : cd2a4ed75b43d500bf3a6e1e49eccb1bd38ed777
2017-06-21 14:51:37 +10:00
Zibi Braniecki
cc3d3ab8cd Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
MozReview-Commit-ID: IqGbT6ZUfuN

--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Andrew Sutherland
9138402fac Bug 1374943 - Fetch needs to handle redirect=error not resulting in NS_FAILED. r=bkelly
The included test crashes without the included fix if run with --disable-e10s.
e10s doesn't crash because HttpChannelChild examines the return value of the
call to the listener's OnStartRequest method and invokes Cancel() if it
NS_FAILED.  This is a divergence between e10s and non-e10s.  See the bug for
more details and discussion.

--HG--
extra : rebase_source : 9da386b0f1c0b349728170b301f62b0175c2c571
2017-06-21 08:28:34 -04:00
Stone Shih
a5bccae405 Bug 1351148 Part4: Revise those test cases that have some tasks have to be processed before or after the synthesized key events. r=smaug.
Make sure input events are processed before or after the dependent tasks.

MozReview-Commit-ID: 8KfZnT2wjJR
2017-06-07 14:28:16 +08:00
Wes Kocher
b5bcc4905e Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Jim Chen
8b6bd21a0b Bug 1351170 - 2. Notify selection listeners after adjusting range offsets; r=smaug
`nsRange` registers mutation observers to adjust the range when content
changes. However, there are some cases where we adjust the start and/or
end offsets but don't notify selection listeners (i.e. we don't call
`nsRange::DoSetRange` to set the new range points, contrary to what the
comment above `nsRange::DoSetRange` says). This patch makes us call
`nsRange::DoSetRange` in those cases. The patch adds a testcase in
test_selectevents.html, and changes a few unexpected-pass cases in
test_composition_text_querycontent.xul that this patch fixed.

MozReview-Commit-ID: 73D8RYMS3MS

--HG--
extra : rebase_source : da0cc3073e4b8ad23c6f6eab42da5aa8b269cae9
2017-07-19 14:29:59 -04:00
John Dai
b6b41eca6c Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
--HG--
extra : rebase_source : 0ccd628ce1f0904bf2d412ade2710c6e1203641e
2017-07-18 20:30:00 -04:00
Zibi Braniecki
2c5f451dee Bug 1344625: Revert "Bug 1349879 - Intl object is hidden on Android beta and release channel". r=m_kato
MozReview-Commit-ID: 3hMis1hhqag

--HG--
extra : rebase_source : c746c2dd26a9076ab57ce75efcaf36b0dae38c42
2017-07-17 22:21:47 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
4a4943b2d5 Bug 1222633 - Add rel=preload - tests. r=smaug 2017-07-10 15:05:48 +02:00
Dan Banner
d8518d604e Bug 1351089 - Remove unused PresentationDeviceInfoManager.jsm r=schien,smaug
MozReview-Commit-ID: FoMZNIFtgFM

--HG--
extra : rebase_source : 0fef4325bdea8c346f526a4fb6459a6dfe31fc5b
2017-07-03 19:51:01 +01:00
Andrea Marchesini
68ee090884 Bug 1333981 - Introduce StorageNotifierService for the dispatching of StorageEvent using the correct mainthread event target, r=billm 2017-07-06 19:35:33 +02:00
Florian Quèze
fb91723a8a Bug 1374282 - hand cleanup for the script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02: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