Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Update assertPausedLocation#3622

Merged
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-timing-issue2
Aug 14, 2017
Merged

Update assertPausedLocation#3622
jasonLaster merged 1 commit into
firefox-devtools:masterfrom
jasonLaster:fix-timing-issue2

Conversation

@jasonLaster
Copy link
Copy Markdown
Contributor

@jasonLaster jasonLaster commented Aug 10, 2017

Summary of Changes

Update assertPausedLocation, this lets us run ./mach mochitest --repat 20 browser_browser_toolbox_debugger.js successfully. previously it would fail hard.

We're updating assertPausedLocation because the browser toolbox occasionally steps into a weird source GCTelemettry

screen shot 2017-08-10 at 12 08 45 pm

* @static
*/
function assertPausedLocation(dbg, source, line) {
function assertPausedLocation(dbg) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're dropping specified source and lines because we want to focus on the fact that we're highlighting the top frame line.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 10, 2017

Codecov Report

Merging #3622 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3622      +/-   ##
==========================================
- Coverage   54.48%   54.46%   -0.03%     
==========================================
  Files         120      120              
  Lines        4750     4750              
  Branches      981      981              
==========================================
- Hits         2588     2587       -1     
- Misses       2162     2163       +1
Impacted Files Coverage Δ
src/actions/ast.js 76.78% <0%> (-1.79%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 705ae31...850062e. Read the comment docs.

Copy link
Copy Markdown
Contributor

@codehag codehag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, should assertPausedLocation be renamed to something like assertPausedFrame? give a bit more context for what is going on?

@jasonLaster
Copy link
Copy Markdown
Contributor Author

I still think location makes sense, because it's the location of the frame we care about, but I see where you're going with that. Lets revisit if we want to add our own location expectation.

@jasonLaster jasonLaster merged commit 7e54e6b into firefox-devtools:master Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants