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

Fix Location reps property#2674

Merged
jasonLaster merged 4 commits into
firefox-devtools:masterfrom
arthur801031:reps
Apr 18, 2017
Merged

Fix Location reps property#2674
jasonLaster merged 4 commits into
firefox-devtools:masterfrom
arthur801031:reps

Conversation

@arthur801031

@arthur801031 arthur801031 commented Apr 18, 2017

Copy link
Copy Markdown
Contributor

Associated Issue: #1602

Summary of Changes

  • Set safeGetterValues's getterValue to properties' value

Test Plan

  • Expand Location in Scopes to see if hash, host, hostname, href, etc contain the correct value.

Screenshots/Videos (OPTIONAL)

Our debugger (after this patch):
screen shot 2017-04-18 at 9 44 17 am

Chome's debugger:
screen shot 2017-04-18 at 9 44 41 am

@codecov

codecov Bot commented Apr 18, 2017

Copy link
Copy Markdown

Codecov Report

Merging #2674 into master will decrease coverage by 2.17%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2674      +/-   ##
=========================================
- Coverage   59.57%   57.4%   -2.18%     
=========================================
  Files          53      55       +2     
  Lines        1999    2108     +109     
  Branches      409     418       +9     
=========================================
+ Hits         1191    1210      +19     
- Misses        808     898      +90
Impacted Files Coverage Δ
src/client/firefox/commands.js 18.55% <100%> (ø)
src/client/firefox/create.js 8.33% <0%> (ø)

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 cf3af33...33f0011. Read the comment docs.

@jasonLaster jasonLaster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

Added some tests as well. First tests for the client!

@jasonLaster jasonLaster merged commit af405ec into firefox-devtools:master Apr 18, 2017
@arthur801031 arthur801031 deleted the reps branch April 20, 2017 09:05
DanUgelow pushed a commit to DanUgelow/debugger.html that referenced this pull request May 4, 2017
* Fix Location reps property

* Revert index.js, SearchBar.js, sources-tree.js

* Revert

* add tests
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